Revision 32859 branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject/pom.xml
pom.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
4 | 4 |
|
5 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
<groupId>org.gvsig</groupId> |
|
7 |
<artifactId>org.gvsig.mkmvnproject</artifactId> |
|
8 |
<packaging>jar</packaging> |
|
9 |
<version>2.0-SNAPSHOT</version> |
|
10 |
<name>org.gvsig.mkmvnproject</name> |
|
11 |
<description>[PUT LIBRARY DESCRIPTION HERE]</description> |
|
12 |
<url>http://www.gvsig.org</url> |
|
13 |
<scm> |
|
14 |
<connection>scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/libraries/org.gvsig.mkmvnprojects</connection> |
|
15 |
<developerConnection>scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/libraries/org.gvsig.mkmvnprojects</developerConnection> |
|
16 |
<url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url> |
|
17 |
<tag>HEAD</tag> |
|
18 |
</scm> |
|
19 |
<parent> |
|
20 |
<groupId>org.gvsig</groupId> |
|
21 |
<artifactId>gvsig-base-extension-pom</artifactId> |
|
22 |
<version>2.0-SNAPSHOT</version> |
|
23 |
</parent> |
|
24 |
<properties> |
|
25 |
<build-dir>${basedir}/../build</build-dir> |
|
26 |
</properties> |
|
27 |
<developers> |
|
28 |
<developer> |
|
29 |
<id>jjdelcerro</id> |
|
30 |
<name>Joaquín José del Cerro</name> |
|
31 |
<email>jjdelcerro@gvsig.org</email> |
|
32 |
<roles> |
|
33 |
<role>Architect</role> |
|
34 |
<role>Developer</role> |
|
35 |
</roles> |
|
36 |
</developer> |
|
37 |
<developer> |
|
38 |
<id>jbadia</id> |
|
39 |
<name>José Badía</name> |
|
40 |
<email>badia_jos@gva.es</email> |
|
41 |
<roles> |
|
42 |
<role>Developer</role> |
|
43 |
</roles> |
|
44 |
</developer> |
|
45 |
</developers> |
|
46 |
<repositories> |
|
47 |
<repository> |
|
48 |
<id>gvsig-public-http-repository</id> |
|
49 |
<name>gvSIG maven public HTTP repository</name> |
|
50 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
51 |
<releases> |
|
52 |
<enabled>true</enabled> |
|
53 |
<updatePolicy>daily</updatePolicy> |
|
54 |
<checksumPolicy>warn</checksumPolicy> |
|
55 |
</releases> |
|
56 |
<snapshots> |
|
57 |
<enabled>true</enabled> |
|
58 |
<updatePolicy>daily</updatePolicy> |
|
59 |
<checksumPolicy>warn</checksumPolicy> |
|
60 |
</snapshots> |
|
61 |
</repository> |
|
62 |
<repository> |
|
63 |
<id>svnkit-repository</id> |
|
64 |
<name>svnkit maven public HTTP repository</name> |
|
65 |
<url>http://maven.svnkit.com/maven2/</url> |
|
66 |
</repository> |
|
67 |
</repositories> |
|
68 |
<dependencies> |
|
69 |
<dependency> |
|
70 |
<groupId>org.gvsig</groupId> |
|
71 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
72 |
<version>2.0.0-SNAPSHOT</version> |
|
73 |
<type>pom</type> |
|
74 |
<scope>import</scope> |
|
75 |
</dependency> |
|
76 |
<dependency> |
|
77 |
<groupId>org.gvsig</groupId> |
|
78 |
<artifactId>org.gvsig.i18n</artifactId> |
|
79 |
<version>2.0-SNAPSHOT</version> |
|
80 |
</dependency> |
|
81 |
<dependency> |
|
82 |
<groupId>ant-contrib</groupId> |
|
83 |
<artifactId>ant-contrib</artifactId> |
|
84 |
<version>1.0b3</version> |
|
85 |
</dependency> |
|
86 |
<dependency> |
|
87 |
<groupId>org.apache.ant</groupId> |
|
88 |
<artifactId>ant</artifactId> |
|
89 |
<version>1.7.0</version> |
|
90 |
</dependency> |
|
91 |
<dependency> |
|
92 |
<groupId>org.apache.ant</groupId> |
|
93 |
<artifactId>ant-launcher</artifactId> |
|
94 |
<version>1.7.0</version> |
|
95 |
</dependency> |
|
96 |
<dependency> |
|
97 |
<groupId>org.apache.ant</groupId> |
|
98 |
<artifactId>ant-nodeps</artifactId> |
|
99 |
<version>1.7.0</version> |
|
100 |
</dependency> |
|
101 |
<dependency> |
|
102 |
<groupId>com.sardak</groupId> |
|
103 |
<artifactId>antform</artifactId> |
|
104 |
<version>2.0</version> |
|
105 |
</dependency> |
|
106 |
<dependency> |
|
107 |
<groupId>org.tigris.antelope</groupId> |
|
108 |
<artifactId>antelopetasks</artifactId> |
|
109 |
<version>3.2.10</version> |
|
110 |
</dependency> |
|
111 |
<dependency> |
|
112 |
<groupId>org.gvsig</groupId> |
|
113 |
<artifactId>org.gvsig.andami</artifactId> |
|
114 |
<version>2.0-SNAPSHOT</version> |
|
115 |
</dependency> |
|
116 |
<dependency> |
|
117 |
<groupId>org.tmatesoft.svnkit</groupId> |
|
118 |
<artifactId>svnkit</artifactId> |
|
119 |
<version>1.3.3</version> |
|
120 |
<scope>runtime</scope> |
|
121 |
</dependency> |
|
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> |
|
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> |
|
5 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
<groupId>org.gvsig</groupId> |
|
7 |
<artifactId>org.gvsig.mkmvnproject</artifactId> |
|
8 |
<packaging>jar</packaging> |
|
9 |
<version>2.0-SNAPSHOT</version> |
|
10 |
<name>org.gvsig.mkmvnproject</name> |
|
11 |
<description>[PUT LIBRARY DESCRIPTION HERE]</description> |
|
12 |
<url>http://www.gvsig.org</url> |
|
13 |
<scm> |
|
14 |
<connection>scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/libraries/org.gvsig.mkmvnprojects</connection> |
|
15 |
<developerConnection>scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/libraries/org.gvsig.mkmvnprojects</developerConnection> |
|
16 |
<url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url> |
|
17 |
<tag>HEAD</tag> |
|
18 |
</scm> |
|
19 |
<parent> |
|
20 |
<groupId>org.gvsig</groupId> |
|
21 |
<artifactId>gvsig-base-extension-pom</artifactId> |
|
22 |
<version>2.0-SNAPSHOT</version> |
|
23 |
</parent> |
|
24 |
<properties> |
|
25 |
<build-dir>${basedir}/../build</build-dir> |
|
26 |
</properties> |
|
27 |
<developers> |
|
28 |
<developer> |
|
29 |
<id>jjdelcerro</id> |
|
30 |
<name>Joaquín José del Cerro</name> |
|
31 |
<email>jjdelcerro@gvsig.org</email> |
|
32 |
<roles> |
|
33 |
<role>Architect</role> |
|
34 |
<role>Developer</role> |
|
35 |
</roles> |
|
36 |
</developer> |
|
37 |
<developer> |
|
38 |
<id>jbadia</id> |
|
39 |
<name>José Badía</name> |
|
40 |
<email>badia_jos@gva.es</email> |
|
41 |
<roles> |
|
42 |
<role>Developer</role> |
|
43 |
</roles> |
|
44 |
</developer> |
|
45 |
</developers> |
|
46 |
<repositories> |
|
47 |
<repository> |
|
48 |
<id>gvsig-public-http-repository</id> |
|
49 |
<name>gvSIG maven public HTTP repository</name> |
|
50 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
51 |
<releases> |
|
52 |
<enabled>true</enabled> |
|
53 |
<updatePolicy>daily</updatePolicy> |
|
54 |
<checksumPolicy>warn</checksumPolicy> |
|
55 |
</releases> |
|
56 |
<snapshots> |
|
57 |
<enabled>true</enabled> |
|
58 |
<updatePolicy>daily</updatePolicy> |
|
59 |
<checksumPolicy>warn</checksumPolicy> |
|
60 |
</snapshots> |
|
61 |
</repository> |
|
62 |
<repository> |
|
63 |
<id>svnkit-repository</id> |
|
64 |
<name>svnkit maven public HTTP repository</name> |
|
65 |
<url>http://maven.svnkit.com/maven2/</url> |
|
66 |
</repository> |
|
67 |
</repositories> |
|
68 |
<dependencyManagement> |
|
69 |
<dependencies> |
|
70 |
<dependency> |
|
71 |
<groupId>org.gvsig</groupId> |
|
72 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
73 |
<version>2.0.0-SNAPSHOT</version> |
|
74 |
<type>pom</type> |
|
75 |
<scope>import</scope> |
|
76 |
</dependency> |
|
77 |
<dependency> |
|
78 |
<groupId>org.gvsig</groupId> |
|
79 |
<artifactId>org.gvsig.i18n</artifactId> |
|
80 |
<version>2.0-SNAPSHOT</version> |
|
81 |
</dependency> |
|
82 |
<dependency> |
|
83 |
<groupId>ant-contrib</groupId> |
|
84 |
<artifactId>ant-contrib</artifactId> |
|
85 |
<version>1.0b3</version> |
|
86 |
</dependency> |
|
87 |
<dependency> |
|
88 |
<groupId>org.apache.ant</groupId> |
|
89 |
<artifactId>ant</artifactId> |
|
90 |
<version>1.8.1</version> |
|
91 |
</dependency> |
|
92 |
<dependency> |
|
93 |
<groupId>org.apache.ant</groupId> |
|
94 |
<artifactId>ant-launcher</artifactId> |
|
95 |
<version>1.8.1</version> |
|
96 |
</dependency> |
|
97 |
<dependency> |
|
98 |
<groupId>org.apache.ant</groupId> |
|
99 |
<artifactId>ant-nodeps</artifactId> |
|
100 |
<version>1.8.1</version> |
|
101 |
</dependency> |
|
102 |
<dependency> |
|
103 |
<groupId>org.apache.ant</groupId> |
|
104 |
<artifactId>ant-apache-oro</artifactId> |
|
105 |
<version>1.8.1</version> |
|
106 |
</dependency> |
|
107 |
<dependency> |
|
108 |
<groupId>com.sardak</groupId> |
|
109 |
<artifactId>antform</artifactId> |
|
110 |
<version>2.0</version> |
|
111 |
</dependency> |
|
112 |
<dependency> |
|
113 |
<groupId>org.tigris.antelope</groupId> |
|
114 |
<artifactId>antelopetasks</artifactId> |
|
115 |
<version>3.2.10</version> |
|
116 |
</dependency> |
|
117 |
<dependency> |
|
118 |
<groupId>org.gvsig</groupId> |
|
119 |
<artifactId>org.gvsig.andami</artifactId> |
|
120 |
<version>2.0-SNAPSHOT</version> |
|
121 |
</dependency> |
|
122 |
<dependency> |
|
123 |
<groupId>org.tmatesoft.svnkit</groupId> |
|
124 |
<artifactId>svnkit</artifactId> |
|
125 |
<version>1.3.3</version> |
|
126 |
<scope>runtime</scope> |
|
127 |
</dependency> |
|
128 |
<dependency> |
|
129 |
<groupId>org.tmatesoft.svnkit</groupId> |
|
130 |
<artifactId>svnkit-cli</artifactId> |
|
131 |
<version>1.3.3</version> |
|
132 |
<scope>runtime</scope> |
|
133 |
</dependency> |
|
134 |
</dependencies> |
|
135 |
</dependencyManagement> |
|
136 |
<dependencies> |
|
137 |
<dependency> |
|
138 |
<groupId>org.gvsig</groupId> |
|
139 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
140 |
<version>2.0.0-SNAPSHOT</version> |
|
141 |
<type>pom</type> |
|
142 |
<scope>import</scope> |
|
143 |
</dependency> |
|
144 |
<dependency> |
|
145 |
<groupId>org.gvsig</groupId> |
|
146 |
<artifactId>org.gvsig.i18n</artifactId> |
|
147 |
</dependency> |
|
148 |
<dependency> |
|
149 |
<groupId>ant-contrib</groupId> |
|
150 |
<artifactId>ant-contrib</artifactId> |
|
151 |
</dependency> |
|
152 |
<dependency> |
|
153 |
<groupId>org.apache.ant</groupId> |
|
154 |
<artifactId>ant</artifactId> |
|
155 |
</dependency> |
|
156 |
<dependency> |
|
157 |
<groupId>org.apache.ant</groupId> |
|
158 |
<artifactId>ant-launcher</artifactId> |
|
159 |
</dependency> |
|
160 |
<dependency> |
|
161 |
<groupId>org.apache.ant</groupId> |
|
162 |
<artifactId>ant-nodeps</artifactId> |
|
163 |
</dependency> |
|
164 |
<dependency> |
|
165 |
<groupId>org.apache.ant</groupId> |
|
166 |
<artifactId>ant-apache-oro</artifactId> |
|
167 |
</dependency> |
|
168 |
<dependency> |
|
169 |
<groupId>com.sardak</groupId> |
|
170 |
<artifactId>antform</artifactId> |
|
171 |
</dependency> |
|
172 |
<dependency> |
|
173 |
<groupId>org.tigris.antelope</groupId> |
|
174 |
<artifactId>antelopetasks</artifactId> |
|
175 |
</dependency> |
|
176 |
<dependency> |
|
177 |
<groupId>org.gvsig</groupId> |
|
178 |
<artifactId>org.gvsig.andami</artifactId> |
|
179 |
</dependency> |
|
180 |
<dependency> |
|
181 |
<groupId>org.tmatesoft.svnkit</groupId> |
|
182 |
<artifactId>svnkit</artifactId> |
|
183 |
<scope>runtime</scope> |
|
184 |
</dependency> |
|
185 |
<dependency> |
|
186 |
<groupId>org.tmatesoft.svnkit</groupId> |
|
187 |
<artifactId>svnkit-cli</artifactId> |
|
188 |
<scope>runtime</scope> |
|
189 |
</dependency> |
|
190 |
</dependencies> |
|
191 |
<build> |
|
192 |
<resources> |
|
193 |
<resource> |
|
194 |
<directory>src/main/resources</directory> |
|
195 |
<excludes> |
|
196 |
<exclude>config.xml</exclude> |
|
197 |
<exclude>gvSIG.png</exclude> |
|
198 |
<exclude>scripts/**</exclude> |
|
199 |
</excludes> |
|
200 |
</resource> |
|
201 |
</resources> |
|
140 | 202 |
|
141 |
<plugins> |
|
142 |
<plugin> |
|
143 |
<artifactId>maven-antrun-plugin</artifactId> |
|
144 |
<executions> |
|
145 |
<execution> |
|
146 |
<phase>package</phase> |
|
147 |
<configuration> |
|
148 |
<tasks> |
|
203 |
<plugins> |
|
204 |
<plugin> |
|
205 |
<artifactId>maven-antrun-plugin</artifactId> |
|
206 |
<executions> |
|
207 |
<execution> |
|
208 |
<id>prepare-templates</id> |
|
209 |
<phase>package</phase> |
|
210 |
<configuration> |
|
211 |
<tasks> |
|
212 |
<!-- Regexp implementation to use --> |
|
213 |
<property name="ant.regexp.regexpimpl" |
|
214 |
value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" /> |
|
149 | 215 |
|
150 |
<delete dir="target/templates/" /> |
|
151 |
<delete dir="target/templates-zips/" /> |
|
152 |
|
|
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-with-user-interface" /> |
|
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/provider-based-implementation-with-user-interface" /> |
|
169 |
</java> |
|
170 |
|
|
171 |
<zip destfile="target/templates-zips/template-basic.zip" |
|
172 |
basedir="target/templates/downloads/basic-with-user-interface/" |
|
173 |
includes="**/*" /> |
|
174 |
<zip destfile="target/templates-zips/template-pbi.zip" |
|
175 |
basedir="target/templates/downloads/provider-based-implementation-with-user-interface/" |
|
176 |
includes="**/*" /> |
|
177 |
|
|
178 |
</tasks> |
|
179 |
</configuration> |
|
180 |
<goals> |
|
181 |
<goal>run</goal> |
|
182 |
</goals> |
|
183 |
</execution> |
|
184 |
</executions> |
|
185 |
</plugin> |
|
186 |
</plugins> |
|
187 |
</build> |
|
188 |
<profiles> |
|
189 |
<profile> |
|
190 |
<id>gvsig-install</id> |
|
191 |
<activation> |
|
192 |
<activeByDefault>true</activeByDefault> |
|
193 |
</activation> |
|
194 |
<properties> |
|
195 |
<!-- gvSIG installation folder relative to the current workspace --> |
|
196 |
<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir> |
|
197 |
</properties> |
|
198 |
</profile> |
|
199 |
</profiles> |
|
216 |
<property name="runtime_classpath" |
|
217 |
refid="maven.runtime.classpath" /> |
|
218 |
<ant antfile="${basedir}/prepare-templates.xml" /> |
|
219 |
</tasks> |
|
220 |
</configuration> |
|
221 |
<goals> |
|
222 |
<goal>run</goal> |
|
223 |
</goals> |
|
224 |
</execution> |
|
225 |
</executions> |
|
226 |
<dependencies> |
|
227 |
<dependency> |
|
228 |
<groupId>org.apache.ant</groupId> |
|
229 |
<artifactId>ant-apache-oro</artifactId> |
|
230 |
<version>1.8.1</version> |
|
231 |
</dependency> |
|
232 |
</dependencies> |
|
233 |
</plugin> |
|
234 |
</plugins> |
|
235 |
</build> |
|
236 |
<profiles> |
|
237 |
<profile> |
|
238 |
<id>gvsig-install</id> |
|
239 |
<activation> |
|
240 |
<activeByDefault>true</activeByDefault> |
|
241 |
</activation> |
|
242 |
<properties> |
|
243 |
<!-- gvSIG installation folder relative to the current workspace --> |
|
244 |
<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir> |
|
245 |
</properties> |
|
246 |
</profile> |
|
247 |
<profile> |
|
248 |
<id>create-project</id> |
|
249 |
<build> |
|
250 |
<plugins> |
|
251 |
<plugin> |
|
252 |
<artifactId>maven-antrun-plugin</artifactId> |
|
253 |
<executions> |
|
254 |
<execution> |
|
255 |
<id>Run mkmvnproject.xml</id> |
|
256 |
<phase>install</phase> |
|
257 |
<configuration> |
|
258 |
<tasks> |
|
259 |
<!-- Regexp implementation to use --> |
|
260 |
<property name="ant.regexp.regexpimpl" |
|
261 |
value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" /> |
|
262 |
<ant |
|
263 |
antfile="${project.build.directory}/${project.artifactId}-${project.version}-distribution/${project.artifactId}-${project.version}/gvSIG/extensiones/${project.artifactId}/scripts/mkmvnproject.xml" /> |
|
264 |
</tasks> |
|
265 |
</configuration> |
|
266 |
<goals> |
|
267 |
<goal>run</goal> |
|
268 |
</goals> |
|
269 |
</execution> |
|
270 |
</executions> |
|
271 |
<dependencies> |
|
272 |
<dependency> |
|
273 |
<groupId>org.apache.ant</groupId> |
|
274 |
<artifactId>ant-apache-oro</artifactId> |
|
275 |
<version>1.8.1</version> |
|
276 |
</dependency> |
|
277 |
</dependencies> |
|
278 |
</plugin> |
|
279 |
</plugins> |
|
280 |
</build> |
|
281 |
</profile> |
|
282 |
</profiles> |
|
200 | 283 |
</project> |
Also available in: Unified diff