Revision 32706 branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject/pom.xml
pom.xml | ||
---|---|---|
114 | 114 |
<version>2.0-SNAPSHOT</version> |
115 | 115 |
</dependency> |
116 | 116 |
<dependency> |
117 |
<groupId>org.tmatesoft.svnkit</groupId>
|
|
118 |
<artifactId>svnkit</artifactId>
|
|
119 |
<version>1.3.3</version>
|
|
120 |
<scope>runtime</scope>
|
|
117 |
<groupId>org.tmatesoft.svnkit</groupId>
|
|
118 |
<artifactId>svnkit</artifactId>
|
|
119 |
<version>1.3.3</version>
|
|
120 |
<scope>runtime</scope>
|
|
121 | 121 |
</dependency> |
122 | 122 |
<dependency> |
123 |
<groupId>org.tmatesoft.svnkit</groupId>
|
|
124 |
<artifactId>svnkit-cli</artifactId>
|
|
125 |
<version>1.3.3</version>
|
|
126 |
<scope>runtime</scope>
|
|
127 |
</dependency>
|
|
123 |
<groupId>org.tmatesoft.svnkit</groupId>
|
|
124 |
<artifactId>svnkit-cli</artifactId>
|
|
125 |
<version>1.3.3</version>
|
|
126 |
<scope>runtime</scope>
|
|
127 |
</dependency> |
|
128 | 128 |
</dependencies> |
129 |
<build> |
|
130 |
<resources> |
|
131 |
<resource> |
|
132 |
<directory>src/main/resources</directory> |
|
133 |
<excludes> |
|
134 |
<exclude>config.xml</exclude> |
|
135 |
<exclude>gvSIG.png</exclude> |
|
136 |
<exclude>scripts/**</exclude> |
|
137 |
</excludes> |
|
138 |
</resource> |
|
139 |
</resources> |
|
129 |
<build>
|
|
130 |
<resources>
|
|
131 |
<resource>
|
|
132 |
<directory>src/main/resources</directory>
|
|
133 |
<excludes>
|
|
134 |
<exclude>config.xml</exclude>
|
|
135 |
<exclude>gvSIG.png</exclude>
|
|
136 |
<exclude>scripts/**</exclude>
|
|
137 |
</excludes>
|
|
138 |
</resource>
|
|
139 |
</resources>
|
|
140 | 140 |
|
141 |
<plugins> |
|
142 |
<plugin> |
|
143 |
<artifactId>maven-antrun-plugin</artifactId> |
|
144 |
<executions> |
|
145 |
<execution> |
|
146 |
<phase>package</phase> |
|
147 |
<configuration> |
|
148 |
<tasks> |
|
149 |
|
|
150 |
<delete dir="target/templates/"/> |
|
151 |
<delete dir="target/templates-zips/"/> |
|
141 |
<plugins> |
|
142 |
<plugin> |
|
143 |
<artifactId>maven-antrun-plugin</artifactId> |
|
144 |
<executions> |
|
145 |
<execution> |
|
146 |
<phase>package</phase> |
|
147 |
<configuration> |
|
148 |
<tasks> |
|
152 | 149 |
|
153 |
<mkdir dir="target/templates/downloads"/> |
|
154 |
<mkdir dir="target/templates-zips"/> |
|
155 |
|
|
156 |
<property name="runtime_classpath" refid="maven.runtime.classpath"/> |
|
157 |
|
|
158 |
<java classname="org.tmatesoft.svn.cli.SVN" classpath="${runtime_classpath}" dir="target/templates/downloads/" |
|
159 |
fork="true" failonerror="true"> |
|
160 |
<arg value="export" /> |
|
161 |
<arg value="https://svn.forge.osor.eu/svn/gvsig-fortuneco/org.gvsig.fortunecookies/trunk/basic" /> |
|
162 |
</java> |
|
163 |
<java classname="org.tmatesoft.svn.cli.SVN" classpath="${runtime_classpath}" dir="target/templates/downloads/" |
|
164 |
fork="true" failonerror="true"> |
|
165 |
<arg value="export" /> |
|
166 |
<arg value="https://svn.forge.osor.eu/svn/gvsig-fortuneco/org.gvsig.fortunecookies/trunk/basic-with-user-interface" /> |
|
167 |
</java> |
|
168 |
<java classname="org.tmatesoft.svn.cli.SVN" classpath="${runtime_classpath}" dir="target/templates/downloads/" |
|
169 |
fork="true" failonerror="true"> |
|
170 |
<arg value="export" /> |
|
171 |
<arg value="https://svn.forge.osor.eu/svn/gvsig-fortuneco/org.gvsig.fortunecookies/trunk/provider-basic-implementation" /> |
|
172 |
</java> |
|
173 |
<java classname="org.tmatesoft.svn.cli.SVN" classpath="${runtime_classpath}" dir="target/templates/downloads/" |
|
174 |
fork="true" failonerror="true"> |
|
175 |
<arg value="export" /> |
|
176 |
<arg value="https://svn.forge.osor.eu/svn/gvsig-fortuneco/org.gvsig.fortunecookies/trunk/provider-basic-implementation-with-user-interface" /> |
|
177 |
</java> |
|
178 |
|
|
179 |
<zip destfile="target/templates-zips/API.zip" |
|
180 |
basedir="target/templates/downloads/basic/" |
|
181 |
includes="**/*"/> |
|
182 |
<zip destfile="target/templates-zips/SPI.zip" |
|
183 |
basedir="target/templates/downloads/provider-basic-implementation/" |
|
184 |
includes="**/*"/> |
|
185 |
<zip destfile="target/templates-zips/SPI+UIAPI.zip" |
|
186 |
basedir="target/templates/downloads/provider-basic-implementation-with-user-interface/" |
|
187 |
includes="**/*"/> |
|
188 |
<zip destfile="target/templates-zips/UIAPI.zip" |
|
189 |
basedir="target/templates/downloads/basic-with-user-interface/" |
|
190 |
includes="**/*"/> |
|
150 |
<delete dir="target/templates/" /> |
|
151 |
<delete dir="target/templates-zips/" /> |
|
191 | 152 |
|
192 |
</tasks> |
|
193 |
</configuration> |
|
194 |
<goals> |
|
195 |
<goal>run</goal> |
|
196 |
</goals> |
|
197 |
</execution> |
|
198 |
</executions> |
|
199 |
</plugin> |
|
200 |
</plugins> |
|
201 |
</build> |
|
153 |
<mkdir dir="target/templates/downloads" /> |
|
154 |
<mkdir dir="target/templates-zips" /> |
|
155 |
|
|
156 |
<property name="runtime_classpath" refid="maven.runtime.classpath" /> |
|
157 |
|
|
158 |
<java classname="org.tmatesoft.svn.cli.SVN" classpath="${runtime_classpath}" |
|
159 |
dir="target/templates/downloads/" fork="true" failonerror="true"> |
|
160 |
<arg value="export" /> |
|
161 |
<arg |
|
162 |
value="https://svn.forge.osor.eu/svn/gvsig-fortuneco/org.gvsig.fortunecookies/trunk/basic" /> |
|
163 |
</java> |
|
164 |
<java classname="org.tmatesoft.svn.cli.SVN" classpath="${runtime_classpath}" |
|
165 |
dir="target/templates/downloads/" fork="true" failonerror="true"> |
|
166 |
<arg value="export" /> |
|
167 |
<arg |
|
168 |
value="https://svn.forge.osor.eu/svn/gvsig-fortuneco/org.gvsig.fortunecookies/trunk/basic-with-user-interface" /> |
|
169 |
</java> |
|
170 |
<java classname="org.tmatesoft.svn.cli.SVN" classpath="${runtime_classpath}" |
|
171 |
dir="target/templates/downloads/" fork="true" failonerror="true"> |
|
172 |
<arg value="export" /> |
|
173 |
<arg |
|
174 |
value="https://svn.forge.osor.eu/svn/gvsig-fortuneco/org.gvsig.fortunecookies/trunk/provider-basic-implementation" /> |
|
175 |
</java> |
|
176 |
<java classname="org.tmatesoft.svn.cli.SVN" classpath="${runtime_classpath}" |
|
177 |
dir="target/templates/downloads/" fork="true" failonerror="true"> |
|
178 |
<arg value="export" /> |
|
179 |
<arg |
|
180 |
value="https://svn.forge.osor.eu/svn/gvsig-fortuneco/org.gvsig.fortunecookies/trunk/provider-basic-implementation-with-user-interface" /> |
|
181 |
</java> |
|
182 |
|
|
183 |
<zip destfile="target/templates-zips/API.zip" basedir="target/templates/downloads/basic/" |
|
184 |
includes="**/*" /> |
|
185 |
<zip destfile="target/templates-zips/SPI.zip" |
|
186 |
basedir="target/templates/downloads/provider-basic-implementation/" |
|
187 |
includes="**/*" /> |
|
188 |
<zip destfile="target/templates-zips/SPI+UIAPI.zip" |
|
189 |
basedir="target/templates/downloads/provider-basic-implementation-with-user-interface/" |
|
190 |
includes="**/*" /> |
|
191 |
<zip destfile="target/templates-zips/UIAPI.zip" |
|
192 |
basedir="target/templates/downloads/basic-with-user-interface/" |
|
193 |
includes="**/*" /> |
|
194 |
|
|
195 |
</tasks> |
|
196 |
</configuration> |
|
197 |
<goals> |
|
198 |
<goal>run</goal> |
|
199 |
</goals> |
|
200 |
</execution> |
|
201 |
</executions> |
|
202 |
</plugin> |
|
203 |
</plugins> |
|
204 |
</build> |
|
202 | 205 |
<profiles> |
203 |
<profile>
|
|
204 |
<id>gvsig-install</id>
|
|
205 |
<activation>
|
|
206 |
<activeByDefault>true</activeByDefault>
|
|
207 |
</activation>
|
|
208 |
<properties>
|
|
206 |
<profile>
|
|
207 |
<id>gvsig-install</id>
|
|
208 |
<activation>
|
|
209 |
<activeByDefault>true</activeByDefault>
|
|
210 |
</activation>
|
|
211 |
<properties>
|
|
209 | 212 |
<!-- gvSIG installation folder relative to the current workspace --> |
210 |
<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
|
|
211 |
</properties>
|
|
212 |
</profile>
|
|
213 |
</profiles>
|
|
213 |
<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
|
|
214 |
</properties>
|
|
215 |
</profile>
|
|
216 |
</profiles> |
|
214 | 217 |
</project> |
Also available in: Unified diff