Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.installer.app / org.gvsig.installer.app.mainplugin / pom.xml @ 44119

History | View | Annotate | Download (3.46 KB)

1 40510 jjdelcerro
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.installer.app.mainplugin</artifactId>
5
  <packaging>jar</packaging>
6 41916 jjdelcerro
  <name>${project.artifactId}</name>
7 40510 jjdelcerro
  <parent>
8
    <groupId>org.gvsig</groupId>
9
    <artifactId>org.gvsig.installer.app</artifactId>
10 44119 jjdelcerro
    <version>2.0.240-SNAPSHOT</version>
11 40510 jjdelcerro
  </parent>
12
13
  <dependencies>
14 40893 jjdelcerro
<!--     <dependency> -->
15
<!--       <groupId>org.gvsig</groupId> -->
16
<!--       <artifactId>org.gvsig.app.mainplugin</artifactId> -->
17 41597 jjdelcerro
<!--       <scope>compile</scope> -->
18 40893 jjdelcerro
<!--     </dependency> -->
19 40510 jjdelcerro
    <dependency>
20
      <groupId>org.gvsig</groupId>
21
      <artifactId>org.gvsig.andami</artifactId>
22 41597 jjdelcerro
      <scope>compile</scope>
23 40510 jjdelcerro
    </dependency>
24
    <dependency>
25
      <groupId>org.gvsig</groupId>
26
      <artifactId>org.gvsig.tools.lib</artifactId>
27 41597 jjdelcerro
      <scope>compile</scope>
28 40510 jjdelcerro
    </dependency>
29
    <dependency>
30
      <groupId>org.gvsig</groupId>
31
      <artifactId>org.gvsig.i18n</artifactId>
32 41597 jjdelcerro
      <scope>compile</scope>
33 40510 jjdelcerro
    </dependency>
34
    <dependency>
35
      <groupId>org.gvsig</groupId>
36
      <artifactId>org.gvsig.installer.lib.api</artifactId>
37 41597 jjdelcerro
      <scope>compile</scope>
38 40510 jjdelcerro
    </dependency>
39
    <dependency>
40
      <groupId>org.gvsig</groupId>
41
      <artifactId>org.gvsig.installer.swing.api</artifactId>
42 41597 jjdelcerro
      <scope>compile</scope>
43 40510 jjdelcerro
    </dependency>
44
45
    <dependency>
46
        <groupId>org.slf4j</groupId>
47
        <artifactId>slf4j-api</artifactId>
48 41597 jjdelcerro
        <scope>compile</scope>
49 42685 jjdelcerro
    </dependency>
50 40510 jjdelcerro
51
  </dependencies>
52
53
54
  <build>
55
      <plugins>
56
57
        <plugin>
58
          <!-- Skip test execution -->
59
          <groupId>org.apache.maven.plugins</groupId>
60
          <artifactId>maven-surefire-plugin</artifactId>
61
          <configuration>
62
            <skipTests>true</skipTests>
63
          </configuration>
64
        </plugin>
65 42685 jjdelcerro
66
          <plugin>
67
            <groupId>org.codehaus.gmaven</groupId>
68
            <artifactId>gmaven-plugin</artifactId>
69
            <executions>
70
             <execution>
71
                  <id>install-installer-urls</id>
72
                  <phase>install</phase>
73
                    <goals>
74
                      <goal>execute</goal>
75
                    </goals>
76
                <configuration>
77
                      <source><![CDATA[
78
  if( project.properties["buildNumber"] != null) {
79
    if( project.properties["gvsig.install.plugin"]=="true" ) {
80
      // Copy defaultDownloadsURLs to install root
81
      ant = new AntBuilder()
82
      source = project.properties["gvsig.product.folder.path"] +
83
        "/gvSIG/extensiones/" +
84
        project.properties["gvsig.package.info.code"] +
85
        "/defaultDownloadsURLs"
86 40510 jjdelcerro
87 42685 jjdelcerro
      target = project.properties["gvsig.product.folder.path"] +
88
        "/gvsig-installer-urls.config"
89
      log.info("Copy plugin 'gvsig-installer-urls.config' from " + source + " to " + target)
90
      ant.copy(file:source, tofile:target)
91
    }
92
  }
93
                    ]]></source>
94
                  </configuration>
95
              </execution>
96
97
            </executions>
98
          </plugin>
99
100 40510 jjdelcerro
      </plugins>
101
  </build>
102
103
  <properties>
104
    <gvsig.package.info.categories>Addon Management</gvsig.package.info.categories>
105
    <gvsig.package.info.codealias>org.gvsig.installer.app.extension</gvsig.package.info.codealias>
106 41916 jjdelcerro
    <gvsig.package.info.official>true</gvsig.package.info.official>
107
    <gvsig.package.info.name>Add-ons manager</gvsig.package.info.name>
108 40510 jjdelcerro
  </properties>
109
110
</project>