Statistics
| Revision:

root / tags / v2_0_0_Build_2007 / build / pom.xml @ 34764

History | View | Annotate | Download (15.1 KB)

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-basepoms</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-ftp-repository</id>
121
                        <url>ftpes://downloads.gvsig.org/anon/pub/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

    
154
                <extensions>
155
                        <extension>
156
                                <groupId>org.gvsig.maven.wagon</groupId>
157
                                <artifactId>wagon-ftp</artifactId>
158
                                <version>0.2</version>
159
                        </extension>
160
                </extensions>
161
                <plugins>
162
                        <plugin>
163
                                <groupId>org.apache.maven.plugins</groupId>
164
                                <artifactId>maven-compiler-plugin</artifactId>
165
                                <configuration>
166
                                        <source>1.5</source>
167
                                        <target>1.5</target>
168
                                        <!-- put your configurations here -->
169
                                        <encoding>ISO-8859-1</encoding>
170
                                        <!--<failOnError>false</failOnError>-->
171
                                </configuration>
172
                        </plugin>
173
                        <plugin>
174
                                <groupId>org.apache.maven.plugins</groupId>
175
                                <artifactId>maven-resources-plugin</artifactId>
176
                                <configuration>
177
                                        <encoding>ISO-8859-1</encoding>
178
                                </configuration>
179
                        </plugin>
180

    
181
                        <plugin>
182
                                <groupId>org.apache.maven.plugins</groupId>
183
                                <artifactId>maven-eclipse-plugin</artifactId>
184
                                <configuration>
185
                                        <downloadSources>true</downloadSources>
186
                                        <downloadJavadocs>true</downloadJavadocs>
187
                                        <projectNameTemplate>[artifactId]</projectNameTemplate>
188
                                </configuration>
189
                        </plugin>
190
                        <plugin>
191
                                <groupId>org.apache.maven.plugins</groupId>
192
                                <artifactId>maven-source-plugin</artifactId>
193
                                <executions>
194
                                        <execution>
195
                                                <id>attach-sources</id>
196
                                                <goals>
197
                                                        <goal>jar</goal>
198
                                                </goals>
199
                                        </execution>
200
                                </executions>
201
                        </plugin>
202
                        <plugin>
203
                                <groupId>org.apache.maven.plugins</groupId>
204
                                <artifactId>maven-checkstyle-plugin</artifactId>
205
                                <dependencies>
206
                                        <dependency>
207
                                                <groupId>checkstyle</groupId>
208
                                                <artifactId>checkstyle</artifactId>
209
                                                <version>4.4</version>
210
                                        </dependency>
211
                                        <dependency>
212
                                                <groupId>checkstyle</groupId>
213
                                                <artifactId>checkstyle-optional</artifactId>
214
                                                <version>4.4</version>
215
                                        </dependency>
216
                                        <dependency>
217
                                                <groupId>org.gvsig</groupId>
218
                                                <artifactId>build-tools</artifactId>
219
                                                <version>1.0</version>
220
                                        </dependency>
221
                                </dependencies>
222
                        </plugin>
223
                        <plugin>
224
                                <groupId>org.apache.maven.plugins</groupId>
225
                                <artifactId>maven-eclipse-plugin</artifactId>
226
                                <configuration>
227
                                        <projectNameTemplate>[artifactId]</projectNameTemplate>
228
                                </configuration>
229
                        </plugin>
230
                        <plugin>
231
                                <artifactId>maven-surefire-plugin</artifactId>
232
                                <configuration>
233
                                        <forkMode>once</forkMode>
234
                                        <environmentVariables>
235
                                                <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
236
                                                <DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH>
237
                                                <PATH>${user.home}/.depman/bin</PATH>
238
                                        </environmentVariables>
239
                                </configuration>
240
                        </plugin>
241
                        <plugin>
242
                                <groupId>org.apache.maven.plugins</groupId>
243
                                <artifactId>maven-javadoc-plugin</artifactId>
244
                                <configuration>
245
                                        <encoding>ISO-8859-1</encoding>
246
                                        <footer></footer>
247
                                        <header></header>
248
                                        <keywords>true</keywords>
249
                                        <links>
250
                                                <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
251
                                                <link>http://maven.apache.org/ref/current/apidocs</link>
252
                                                <link>http://www.slf4j.org/api/</link>
253
                                                <link>http://junit.sourceforge.net/javadoc/</link>
254
                                        </links>
255
                                </configuration>
256
                        </plugin>
257
                </plugins>
258
        </build>
259
        <profiles>
260
                <profile>
261
                        <id>release</id>
262
                        <build>
263
                                <plugins>
264
                                        <plugin>
265
                                                <groupId>org.apache.maven.plugins</groupId>
266
                                                <artifactId>maven-javadoc-plugin</artifactId>
267
                                                <executions>
268
                                                        <execution>
269
                                                                <id>attach-javadocs</id>
270
                                                                <goals>
271
                                                                        <goal>jar</goal>
272
                                                                </goals>
273
                                                        </execution>
274
                                                </executions>
275
                                        </plugin>
276
                                </plugins>
277
                        </build>
278
                </profile>
279

    
280
                <profile>
281
                        <id>cdc</id>
282
                        <activation>
283
                                <activeByDefault>false</activeByDefault>
284
                        </activation>
285
                        <dependencies>
286
                                <dependency>
287
                                        <groupId>com.sun.phoneme</groupId>
288
                                        <artifactId>btclasses</artifactId>
289
                                        <version>bn102</version>
290
                                        <type>zip</type>
291
                                </dependency>
292
                                <dependency>
293
                                        <groupId>com.sun.phoneme</groupId>
294
                                        <artifactId>rt</artifactId>
295
                                        <version>bn102</version>
296
                                </dependency>
297
                                <dependency>
298
                                        <groupId>org.gvsig.mobile</groupId>
299
                                        <artifactId>cdc-addons</artifactId>
300
                                        <version>1.0-SNAPSHOT</version>
301
                                </dependency>
302
                        </dependencies>
303
                        <build>
304
                                <!--
305
                                        finalName>${project.artifactId}.cdc-${project.version}-${buildnumber}</finalName
306
                                -->
307
                                <!--finalName>${project.artifactId}-cdc-${project.version}</finalName-->
308
                                <plugins>
309
                                        <plugin>
310
                                                <groupId>org.apache.maven.plugins</groupId>
311
                                                <artifactId>maven-compiler-plugin</artifactId>
312
                                                <configuration>
313
                                                        <source>1.4</source>
314
                                                        <target>1.4</target>
315
                                                        <compilerArguments>
316
                                                                <bootclasspath>${cdc-runtime}</bootclasspath>
317
                                                        </compilerArguments>
318
                                                </configuration>
319
                                        </plugin>
320
                                </plugins>
321
                        </build>
322
                        <repositories>
323
                                <repository>
324
                                        <id>gvsig-public-http-repository</id>
325
                                        <name>gvSIG maven public HTTP repository</name>
326
                                        <url>http://downloads.gvsig.org/pub/gvSIG-mobile/maven-repository</url>
327
                                </repository>
328
                        </repositories>
329
                        <distributionManagement>
330
                                <repository>
331
                                        <id>gvsig-ftp-repository</id>
332
                                        <name>gvSIG Mobile maven FTP repository</name>
333
                                        <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-mobile/maven-repository</url>
334
                                </repository>
335
                                <snapshotRepository>
336
                                        <id>gvsig-ftp-repository</id>
337
                                        <name>gvSIG Mobile maven FTP repository</name>
338
                                        <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-mobile/maven-repository</url>
339
                                </snapshotRepository>
340
                        </distributionManagement>
341
                </profile>
342

    
343
        </profiles>
344
        <reporting>
345
                <plugins>
346
                        <plugin>
347
                                <groupId>org.apache.maven.plugins</groupId>
348
                                <artifactId>maven-checkstyle-plugin</artifactId>
349
                                <configuration>
350
                                        <configLocation>gvsig/checkstyle_gvsig.xml</configLocation>
351
                                        <headerLocation>gvsig/gvsig.header</headerLocation>
352
                                        <propertyExpansion>
353
                                                basedir=${basedir}
354
                    </propertyExpansion>
355
                                </configuration>
356
                        </plugin>
357
                        <plugin>
358
                                <groupId>org.apache.maven.plugins</groupId>
359
                                <artifactId>maven-javadoc-plugin</artifactId>
360
                                <configuration>
361
                                        <docTitle>${project.name} ${project.version}</docTitle>
362
                                        <encoding>ISO-8859-1</encoding>
363
                                        <footer></footer>
364
                                        <header></header>
365
                                        <keywords>true</keywords>
366
                                        <links>
367
                                                <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
368
                                                <link>http://maven.apache.org/ref/current/apidocs</link>
369
                                                <link>http://www.slf4j.org/api/</link>
370
                                                <link>http://junit.sourceforge.net/javadoc/</link>
371
                                        </links>
372
                                </configuration>
373
                        </plugin>
374
                        <plugin>
375
                                <groupId>org.apache.maven.plugins</groupId>
376
                                <artifactId>maven-jxr-plugin</artifactId>
377
                        </plugin>
378
                        <plugin>
379
                                <groupId>org.apache.maven.plugins</groupId>
380
                                <artifactId>maven-pmd-plugin</artifactId>
381
                        </plugin>
382
                        <!--
383
                                CHANGES & CHANGELOG PLUGINS <plugin>
384
                                <groupId>org.apache.maven.plugins</groupId>
385
                                <artifactId>maven-changelog-plugin</artifactId> <configuration>
386
                                <type>range</type> <range>60</range> </configuration> </plugin>
387
                                <plugin> <groupId>org.apache.maven.plugins</groupId>
388
                                <artifactId>maven-changes-plugin</artifactId> <reportSets>
389
                                <reportSet> <reports> <report>changes-report</report> </reports>
390
                                </reportSet> </reportSets> <configuration> <issueLinkTemplate>
391
                                https://gvsig.org/trac/gvSIG/ticket/%ISSUE% </issueLinkTemplate>
392
                                </configuration> </plugin>
393
                        -->
394
                        <plugin>
395
                                <groupId>org.codehaus.mojo</groupId>
396
                                <artifactId>javancss-maven-plugin</artifactId>
397
                        </plugin>
398
                        <plugin>
399
                                <groupId>org.apache.maven.plugins</groupId>
400
                                <artifactId>maven-surefire-report-plugin</artifactId>
401
                        </plugin>
402
                        <plugin>
403
                                <groupId>org.codehaus.mojo</groupId>
404
                                <artifactId>cobertura-maven-plugin</artifactId>
405
                        </plugin>
406
                        <plugin>
407
                                <groupId>org.codehaus.mojo</groupId>
408
                                <artifactId>taglist-maven-plugin</artifactId>
409
                                <configuration>
410
                                        <tags>
411
                                                <tag>TODO</tag>
412
                                                <tag>FIXME</tag>
413
                                                <tag>@todo</tag>
414
                                                <tag>@deprecated</tag>
415
                                                <tag>DOCUMENT ME!</tag>
416
                                        </tags>
417
                                </configuration>
418
                        </plugin>
419
                        <plugin>
420
                                <groupId>org.codehaus.mojo</groupId>
421
                                <artifactId>findbugs-maven-plugin</artifactId>
422
                                <configuration>
423
                                        <threshold>Normal</threshold>
424
                                        <effort>Default</effort>
425
                                        <!--
426
                                                <threshold>High|Normal|Low|Exp|Ignore</threshold>
427
                                                <effort>Min|Default|Max</effort> <xmlOutput>true|false</xmlOutput>
428
                                                <xmlOutputDirectory>directory location of findbugs xdoc xml
429
                                                report</xmlOutputDirectory>
430
                                                <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
431
                                                <includeFilterFile>findbugs-include.xml</includeFilterFile>
432
                                                <visitors>FindDeadLocalStores,UnreadFields</visitors>
433
                                                <omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors>
434
                                                <onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze>
435
                                                <pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList>
436
                                                <debug>true|false</debug> <relaxed>true|false</relaxed>
437
                                                <findbugsXmlOutput>true|false</findbugsXmlOutput>
438
                                                <findbugsXmlOutputDirectory>directory location of findbugs legact
439
                                                xml format report</findbugsXmlOutputDirectory>
440
                                        -->
441
                                </configuration>
442
                        </plugin>
443
                </plugins>
444
        </reporting>
445

    
446
        <modules>
447
                <module>build-tools</module>
448
                <module>libraries-pom</module>
449
                <module>extension-pom</module>
450
        </modules>
451
</project>