Revision 40584 trunk/org.gvsig.desktop/pom.xml
pom.xml | ||
---|---|---|
2059 | 2059 |
<id>gvsig-root</id> |
2060 | 2060 |
<activation> |
2061 | 2061 |
<file> |
2062 |
<exists>src/main/assembly/gvsig-root-folder-package.xml</exists> |
|
2062 |
<exists>${project.basedir}/src/main/assembly/gvsig-root-folder-package.xml</exists>
|
|
2063 | 2063 |
</file> |
2064 | 2064 |
</activation> |
2065 | 2065 |
<build> |
... | ... | |
2103 | 2103 |
]]></source> |
2104 | 2104 |
</configuration> |
2105 | 2105 |
</execution> |
2106 |
|
|
2107 |
<execution> |
|
2108 |
<id>gvsig-root-install</id> |
|
2109 |
<phase>install</phase> |
|
2110 |
<configuration> |
|
2111 |
<source><![CDATA[ |
|
2112 |
ant = new AntBuilder() |
|
2113 |
source = project.basedir.getAbsolutePath() + "/target/" + project.artifactId + "-" + project.version + "-root-folder.zip"; |
|
2114 |
target = project.properties["gvsig.product.folder.path"] |
|
2115 |
|
|
2116 |
log.info("Install gvSIG-desktop root folder in " + target) |
|
2117 |
ant.unzip(src: source, dest: target) |
|
2118 |
]]></source> |
|
2119 |
</configuration> |
|
2120 |
</execution> |
|
2121 |
|
|
2106 | 2122 |
</executions> |
2107 | 2123 |
</plugin> |
2108 | 2124 |
|
... | ... | |
2130 | 2146 |
</executions> |
2131 | 2147 |
</plugin> |
2132 | 2148 |
|
2133 |
<plugin> |
|
2134 |
<!-- Install the root folder of gvSIG desktop in product folder --> |
|
2135 |
<artifactId>maven-antrun-plugin</artifactId> |
|
2136 |
<executions> |
|
2137 |
<execution> |
|
2138 |
<id>gvsig-root-install</id> |
|
2139 |
<phase>install</phase> |
|
2140 |
<configuration> |
|
2141 |
<target> |
|
2142 |
<unzip src="target/${project.artifactId}-${project.version}-root-folder.zip" dest="${gvsig.product.folder.path}" /> |
|
2143 |
</target> |
|
2144 |
</configuration> |
|
2145 |
<goals> |
|
2146 |
<goal>run</goal> |
|
2147 |
</goals> |
|
2148 |
</execution> |
|
2149 |
</executions> |
|
2150 |
</plugin> |
|
2151 |
|
|
2152 | 2149 |
</plugins> |
2153 | 2150 |
</build> |
2154 | 2151 |
</profile> |
Also available in: Unified diff