Revision 95
trunk/build/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
|
5 |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
6 |
<modelVersion>4.0.0</modelVersion> |
|
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<artifactId>gvsig-base-pom</artifactId> |
|
9 |
<packaging>pom</packaging> |
|
10 |
<version>2.0-SNAPSHOT</version> |
|
11 |
<name>gvsig-base-pom</name> |
|
12 |
<description>Base POM for all GvSIG projects</description> |
|
13 |
<url>http://www.gvsig.org/</url> |
|
14 |
<inceptionYear>2004</inceptionYear> |
|
15 |
<issueManagement> |
|
16 |
<system>trac</system> |
|
17 |
<url>https://gvsig.org/trac/bugtracking/</url> |
|
18 |
</issueManagement> |
|
19 |
<ciManagement></ciManagement> |
|
20 |
<mailingLists> |
|
21 |
<mailingList> |
|
22 |
<name>User List</name> |
|
23 |
<subscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</subscribe> |
|
24 |
<unsubscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</unsubscribe> |
|
25 |
<post>gvsig_usuarios@runas.cap.gva.es</post> |
|
26 |
<archive>https://gvsig.org/web/community/mailing-lists/gvsig-nabble</archive> |
|
27 |
<otherArchives> |
|
28 |
<otherArchive>http://www.mail-archive.com/gvsig_usuarios@runas.cap.gva.es</otherArchive> |
|
29 |
<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive> |
|
30 |
</otherArchives> |
|
31 |
</mailingList> |
|
32 |
<mailingList> |
|
33 |
<name>Developer List</name> |
|
34 |
<subscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</subscribe> |
|
35 |
<unsubscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</unsubscribe> |
|
36 |
<post>gvsig_desarrolladores@runas.cap.gva.es</post> |
|
37 |
<archive>https://gvsig.org/web/community/mailing-lists/gvsig-nabble</archive> |
|
38 |
<otherArchives> |
|
39 |
<otherArchive>http://www.mail-archive.com/gvsig_desarrolladores@runas.cap.gva.es</otherArchive> |
|
40 |
<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive> |
|
41 |
</otherArchives> |
|
42 |
</mailingList> |
|
43 |
<mailingList> |
|
44 |
<name>International List</name> |
|
45 |
<subscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</subscribe> |
|
46 |
<unsubscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</unsubscribe> |
|
47 |
<post>gvsig_internacional@runas.cap.gva.es</post> |
|
48 |
<archive>https://gvsig.org/web/community/mailing-lists/gvsig-nabble</archive> |
|
49 |
<otherArchives> |
|
50 |
<otherArchive>http://www.mail-archive.com/gvsig_internacional@runas.cap.gva.es</otherArchive> |
|
51 |
<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive> |
|
52 |
</otherArchives> |
|
53 |
</mailingList> |
|
54 |
</mailingLists> |
|
55 |
<scm> |
|
56 |
<connection> |
|
57 |
scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/ |
|
58 |
</connection> |
|
59 |
<developerConnection> |
|
60 |
scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/ |
|
61 |
</developerConnection> |
|
62 |
<url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url> |
|
63 |
<tag>HEAD</tag> |
|
64 |
</scm> |
|
65 |
<organization> |
|
66 |
<name>gvSIG</name> |
|
67 |
<url>http://www.gvsig.org/</url> |
|
68 |
</organization> |
|
69 |
|
|
70 |
<licenses> |
|
71 |
<license> |
|
72 |
<name>GPL Version 2</name> |
|
73 |
<url>http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt</url> |
|
74 |
<distribution>repo</distribution> |
|
75 |
<comments> |
|
76 |
"GPL" stands for "General Public License". The most widespread such |
|
77 |
license is the GNU General Public License, or GNU GPL for short. |
|
78 |
This can be further shortened to "GPL", when it is understood that |
|
79 |
the |
|
80 |
GNU GPL is the one intended. |
|
81 |
</comments> |
|
82 |
</license> |
|
83 |
</licenses> |
|
84 |
|
|
85 |
<!-- |
|
86 |
Put here the global properties who use all the projects of GvSIG |
|
87 |
--> |
|
88 |
<properties> |
|
89 |
<gvsig-path><!-- Name property --> |
|
90 |
../build/product |
|
91 |
</gvsig-path> |
|
92 |
<gvsig-lib-dir>${gvsig-path}/lib</gvsig-lib-dir> |
|
93 |
<extension-dir>${gvsig-path}/gvSIG/extensiones |
|
94 |
</extension-dir> |
|
95 |
<build-dir>${basedir}</build-dir> |
|
96 |
<localRepository>${user.home}/.m2/repository</localRepository> |
|
97 |
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding> |
|
98 |
<cdc-runtime>${localRepository}/com/sun/phoneme/btclasses/bn102/btclasses-bn102.zip${path.separator}${localRepository}/com/sun/phonemert/bn102/rt-bn102.jar${path.separator}${localRepository}/org/gvsig/mobile/cdc-addons/1.0-SNAPSHOT/cdc-addons-1.0-SNAPSHOT.jar</cdc-runtime> |
|
99 |
<site-repository>http://downloads.gvsig.org/pub/gvSIG-desktop/docs/reference</site-repository> |
|
100 |
</properties> |
|
101 |
<repositories> |
|
102 |
<repository> |
|
103 |
<id>gvsig-public-http-repository</id> |
|
104 |
<name>gvSIG maven public HTTP repository</name> |
|
105 |
<url>http://downloads.gvsig.org/pub/gvSIG-desktop/maven-repository</url> |
|
106 |
</repository> |
|
107 |
</repositories> |
|
108 |
<distributionManagement> |
|
109 |
<repository> |
|
110 |
<id>gvsig-ftp-repository</id> |
|
111 |
<name>gvSIG maven FTP repository</name> |
|
112 |
<url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-desktop/maven-repository</url> |
|
113 |
</repository> |
|
114 |
<snapshotRepository> |
|
115 |
<id>gvsig-ftp-repository</id> |
|
116 |
<name>gvSIG maven FTP repository</name> |
|
117 |
<url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-desktop/maven-repository</url> |
|
118 |
</snapshotRepository> |
|
119 |
<site> |
|
120 |
<id>gvsig-site-repository</id> |
|
121 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/${project.artifactId}/2.0.0/</url> |
|
122 |
</site> |
|
123 |
</distributionManagement> |
|
124 |
<dependencies> |
|
125 |
<dependency> |
|
126 |
<groupId>junit</groupId> |
|
127 |
<artifactId>junit</artifactId> |
|
128 |
<version>3.8.1</version> |
|
129 |
<scope>test</scope> |
|
130 |
</dependency> |
|
131 |
<dependency> |
|
132 |
<groupId>org.slf4j</groupId> |
|
133 |
<artifactId>slf4j-api</artifactId> |
|
134 |
<version>1.5.5</version> |
|
135 |
</dependency> |
|
136 |
<dependency> |
|
137 |
<groupId>org.slf4j</groupId> |
|
138 |
<artifactId>slf4j-log4j12</artifactId> |
|
139 |
<version>1.5.5</version> |
|
140 |
<scope>runtime</scope> |
|
141 |
</dependency> |
|
142 |
<dependency> |
|
143 |
<groupId>log4j</groupId> |
|
144 |
<artifactId>log4j</artifactId> |
|
145 |
<version>1.2.14</version> |
|
146 |
<!-- |
|
147 |
TODO: Change to runtime when everything becomes migrated to SLF4J |
|
148 |
--> |
|
149 |
<scope>compile</scope> |
|
150 |
</dependency> |
|
151 |
</dependencies> |
|
152 |
<build> |
|
153 |
<extensions> |
|
154 |
<extension> |
|
155 |
<groupId>org.gvsig.maven.wagon</groupId> |
|
156 |
<artifactId>wagon-ftp</artifactId> |
|
157 |
<version>0.2</version> |
|
158 |
</extension> |
|
159 |
</extensions> |
|
160 |
<plugins> |
|
161 |
<plugin> |
|
162 |
<groupId>org.apache.maven.plugins</groupId> |
|
163 |
<artifactId>maven-compiler-plugin</artifactId> |
|
164 |
<configuration> |
|
165 |
<source>1.5</source> |
|
166 |
<target>1.5</target> |
|
167 |
<!-- put your configurations here --> |
|
168 |
<encoding>ISO-8859-1</encoding> |
|
169 |
<!--<failOnError>false</failOnError>--> |
|
170 |
</configuration> |
|
171 |
</plugin> |
|
172 |
<plugin> |
|
173 |
<groupId>org.apache.maven.plugins</groupId> |
|
174 |
<artifactId>maven-resources-plugin</artifactId> |
|
175 |
<configuration> |
|
176 |
<encoding>ISO-8859-1</encoding> |
|
177 |
</configuration> |
|
178 |
</plugin> |
|
179 |
|
|
180 |
<plugin> |
|
181 |
<groupId>org.apache.maven.plugins</groupId> |
|
182 |
<artifactId>maven-eclipse-plugin</artifactId> |
|
183 |
<configuration> |
|
184 |
<downloadSources>true</downloadSources> |
|
185 |
<downloadJavadocs>true</downloadJavadocs> |
|
186 |
<projectNameTemplate>${project.name}</projectNameTemplate> |
|
187 |
</configuration> |
|
188 |
</plugin> |
|
189 |
<plugin> |
|
190 |
<groupId>org.apache.maven.plugins</groupId> |
|
191 |
<artifactId>maven-source-plugin</artifactId> |
|
192 |
<executions> |
|
193 |
<execution> |
|
194 |
<id>attach-sources</id> |
|
195 |
<goals> |
|
196 |
<goal>jar</goal> |
|
197 |
</goals> |
|
198 |
</execution> |
|
199 |
</executions> |
|
200 |
</plugin> |
|
201 |
<plugin> |
|
202 |
<groupId>org.apache.maven.plugins</groupId> |
|
203 |
<artifactId>maven-checkstyle-plugin</artifactId> |
|
204 |
<dependencies> |
|
205 |
<dependency> |
|
206 |
<groupId>checkstyle</groupId> |
|
207 |
<artifactId>checkstyle</artifactId> |
|
208 |
<version>4.4</version> |
|
209 |
</dependency> |
|
210 |
<dependency> |
|
211 |
<groupId>checkstyle</groupId> |
|
212 |
<artifactId>checkstyle-optional</artifactId> |
|
213 |
<version>4.4</version> |
|
214 |
</dependency> |
|
215 |
<dependency> |
|
216 |
<groupId>org.gvsig</groupId> |
|
217 |
<artifactId>gvsig-build-tools</artifactId> |
|
218 |
<version>1.0</version> |
|
219 |
</dependency> |
|
220 |
</dependencies> |
|
221 |
</plugin> |
|
222 |
<plugin> |
|
223 |
<artifactId>maven-surefire-plugin</artifactId> |
|
224 |
<configuration> |
|
225 |
<forkMode>once</forkMode> |
|
226 |
<environmentVariables> |
|
227 |
<LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH> |
|
228 |
<DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH> |
|
229 |
<PATH>${user.home}/.depman/bin</PATH> |
|
230 |
</environmentVariables> |
|
231 |
</configuration> |
|
232 |
</plugin> |
|
233 |
<plugin> |
|
234 |
<groupId>org.apache.maven.plugins</groupId> |
|
235 |
<artifactId>maven-javadoc-plugin</artifactId> |
|
236 |
<configuration> |
|
237 |
<encoding>ISO-8859-1</encoding> |
|
238 |
<footer></footer> |
|
239 |
<header></header> |
|
240 |
<keywords>true</keywords> |
|
241 |
<links> |
|
242 |
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
|
243 |
<link>http://maven.apache.org/ref/current/apidocs</link> |
|
244 |
<link>http://www.slf4j.org/api/</link> |
|
245 |
<link>http://junit.sourceforge.net/javadoc/</link> |
|
246 |
</links> |
|
247 |
</configuration> |
|
248 |
</plugin> |
|
249 |
</plugins> |
|
250 |
</build> |
|
251 |
<profiles> |
|
252 |
<profile> |
|
253 |
<id>release</id> |
|
254 |
<build> |
|
255 |
<plugins> |
|
256 |
<plugin> |
|
257 |
<groupId>org.apache.maven.plugins</groupId> |
|
258 |
<artifactId>maven-javadoc-plugin</artifactId> |
|
259 |
<executions> |
|
260 |
<execution> |
|
261 |
<id>attach-javadocs</id> |
|
262 |
<goals> |
|
263 |
<goal>jar</goal> |
|
264 |
</goals> |
|
265 |
</execution> |
|
266 |
</executions> |
|
267 |
</plugin> |
|
268 |
</plugins> |
|
269 |
</build> |
|
270 |
</profile> |
|
271 |
|
|
272 |
<profile> |
|
273 |
<id>cdc</id> |
|
274 |
<activation> |
|
275 |
<activeByDefault>false</activeByDefault> |
|
276 |
</activation> |
|
277 |
<dependencies> |
|
278 |
<dependency> |
|
279 |
<groupId>com.sun.phoneme</groupId> |
|
280 |
<artifactId>btclasses</artifactId> |
|
281 |
<version>bn102</version> |
|
282 |
<type>zip</type> |
|
283 |
</dependency> |
|
284 |
<dependency> |
|
285 |
<groupId>com.sun.phoneme</groupId> |
|
286 |
<artifactId>rt</artifactId> |
|
287 |
<version>bn102</version> |
|
288 |
</dependency> |
|
289 |
<dependency> |
|
290 |
<groupId>org.gvsig.mobile</groupId> |
|
291 |
<artifactId>cdc-addons</artifactId> |
|
292 |
<version>1.0-SNAPSHOT</version> |
|
293 |
</dependency> |
|
294 |
</dependencies> |
|
295 |
<build> |
|
296 |
<!-- |
|
297 |
finalName>${project.artifactId}.cdc-${project.version}-${buildnumber}</finalName |
|
298 |
--> |
|
299 |
<!--finalName>${project.artifactId}-cdc-${project.version}</finalName--> |
|
300 |
<plugins> |
|
301 |
<plugin> |
|
302 |
<groupId>org.apache.maven.plugins</groupId> |
|
303 |
<artifactId>maven-compiler-plugin</artifactId> |
|
304 |
<configuration> |
|
305 |
<source>1.4</source> |
|
306 |
<target>1.4</target> |
|
307 |
<compilerArguments> |
|
308 |
<bootclasspath>${cdc-runtime}</bootclasspath> |
|
309 |
</compilerArguments> |
|
310 |
</configuration> |
|
311 |
</plugin> |
|
312 |
</plugins> |
|
313 |
</build> |
|
314 |
<repositories> |
|
315 |
<repository> |
|
316 |
<id>gvsig-public-http-repository</id> |
|
317 |
<name>gvSIG maven public HTTP repository</name> |
|
318 |
<url>http://downloads.gvsig.org/pub/gvSIG-mobile/maven-repository</url> |
|
319 |
</repository> |
|
320 |
</repositories> |
|
321 |
<distributionManagement> |
|
322 |
<repository> |
|
323 |
<id>gvsig-ftp-repository</id> |
|
324 |
<name>gvSIG Mobile maven FTP repository</name> |
|
325 |
<url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-mobile/maven-repository</url> |
|
326 |
</repository> |
|
327 |
<snapshotRepository> |
|
328 |
<id>gvsig-ftp-repository</id> |
|
329 |
<name>gvSIG Mobile maven FTP repository</name> |
|
330 |
<url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-mobile/maven-repository</url> |
|
331 |
</snapshotRepository> |
|
332 |
</distributionManagement> |
|
333 |
</profile> |
|
334 |
|
|
335 |
</profiles> |
|
336 |
<reporting> |
|
337 |
<plugins> |
|
338 |
<plugin> |
|
339 |
<groupId>org.apache.maven.plugins</groupId> |
|
340 |
<artifactId>maven-checkstyle-plugin</artifactId> |
|
341 |
<configuration> |
|
342 |
<configLocation>gvsig/checkstyle_gvsig.xml</configLocation> |
|
343 |
<headerLocation>gvsig/gvsig.header</headerLocation> |
|
344 |
<propertyExpansion> |
|
345 |
basedir=${basedir} |
|
346 |
</propertyExpansion> |
|
347 |
</configuration> |
|
348 |
</plugin> |
|
349 |
<plugin> |
|
350 |
<groupId>org.apache.maven.plugins</groupId> |
|
351 |
<artifactId>maven-javadoc-plugin</artifactId> |
|
352 |
<configuration> |
|
353 |
<docTitle>${project.name} ${project.version}</docTitle> |
|
354 |
<encoding>ISO-8859-1</encoding> |
|
355 |
<footer></footer> |
|
356 |
<header></header> |
|
357 |
<keywords>true</keywords> |
|
358 |
<links> |
|
359 |
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
|
360 |
<link>http://maven.apache.org/ref/current/apidocs</link> |
|
361 |
<link>http://www.slf4j.org/api/</link> |
|
362 |
<link>http://junit.sourceforge.net/javadoc/</link> |
|
363 |
</links> |
|
364 |
</configuration> |
|
365 |
</plugin> |
|
366 |
<plugin> |
|
367 |
<groupId>org.apache.maven.plugins</groupId> |
|
368 |
<artifactId>maven-jxr-plugin</artifactId> |
|
369 |
</plugin> |
|
370 |
<plugin> |
|
371 |
<groupId>org.apache.maven.plugins</groupId> |
|
372 |
<artifactId>maven-pmd-plugin</artifactId> |
|
373 |
</plugin> |
|
374 |
<!-- |
|
375 |
CHANGES & CHANGELOG PLUGINS <plugin> |
|
376 |
<groupId>org.apache.maven.plugins</groupId> |
|
377 |
<artifactId>maven-changelog-plugin</artifactId> <configuration> |
|
378 |
<type>range</type> <range>60</range> </configuration> </plugin> |
|
379 |
<plugin> <groupId>org.apache.maven.plugins</groupId> |
|
380 |
<artifactId>maven-changes-plugin</artifactId> <reportSets> |
|
381 |
<reportSet> <reports> <report>changes-report</report> </reports> |
|
382 |
</reportSet> </reportSets> <configuration> <issueLinkTemplate> |
|
383 |
https://gvsig.org/trac/gvSIG/ticket/%ISSUE% </issueLinkTemplate> |
|
384 |
</configuration> </plugin> |
|
385 |
--> |
|
386 |
<plugin> |
|
387 |
<groupId>org.codehaus.mojo</groupId> |
|
388 |
<artifactId>javancss-maven-plugin</artifactId> |
|
389 |
</plugin> |
|
390 |
<plugin> |
|
391 |
<groupId>org.apache.maven.plugins</groupId> |
|
392 |
<artifactId>maven-surefire-report-plugin</artifactId> |
|
393 |
</plugin> |
|
394 |
<plugin> |
|
395 |
<groupId>org.codehaus.mojo</groupId> |
|
396 |
<artifactId>cobertura-maven-plugin</artifactId> |
|
397 |
</plugin> |
|
398 |
<plugin> |
|
399 |
<groupId>org.codehaus.mojo</groupId> |
|
400 |
<artifactId>taglist-maven-plugin</artifactId> |
|
401 |
<configuration> |
|
402 |
<tags> |
|
403 |
<tag>TODO</tag> |
|
404 |
<tag>FIXME</tag> |
|
405 |
<tag>@todo</tag> |
|
406 |
<tag>@deprecated</tag> |
|
407 |
<tag>DOCUMENT ME!</tag> |
|
408 |
</tags> |
|
409 |
</configuration> |
|
410 |
</plugin> |
|
411 |
<plugin> |
|
412 |
<groupId>org.codehaus.mojo</groupId> |
|
413 |
<artifactId>findbugs-maven-plugin</artifactId> |
|
414 |
<configuration> |
|
415 |
<threshold>Normal</threshold> |
|
416 |
<effort>Default</effort> |
|
417 |
<!-- |
|
418 |
<threshold>High|Normal|Low|Exp|Ignore</threshold> |
|
419 |
<effort>Min|Default|Max</effort> <xmlOutput>true|false</xmlOutput> |
|
420 |
<xmlOutputDirectory>directory location of findbugs xdoc xml |
|
421 |
report</xmlOutputDirectory> |
|
422 |
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile> |
|
423 |
<includeFilterFile>findbugs-include.xml</includeFilterFile> |
|
424 |
<visitors>FindDeadLocalStores,UnreadFields</visitors> |
|
425 |
<omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors> |
|
426 |
<onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze> |
|
427 |
<pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList> |
|
428 |
<debug>true|false</debug> <relaxed>true|false</relaxed> |
|
429 |
<findbugsXmlOutput>true|false</findbugsXmlOutput> |
|
430 |
<findbugsXmlOutputDirectory>directory location of findbugs legact |
|
431 |
xml format report</findbugsXmlOutputDirectory> |
|
432 |
--> |
|
433 |
</configuration> |
|
434 |
</plugin> |
|
435 |
</plugins> |
|
436 |
</reporting> |
|
437 |
|
|
438 |
<modules> |
|
439 |
<module>build-tools</module> |
|
440 |
<module>libraries-pom</module> |
|
441 |
<module>extension-pom</module> |
|
442 |
</modules> |
|
443 |
</project> |
Also available in: Unified diff