Statistics
| Revision:

root / branches / v2_0_0_prep / build / pom.xml @ 28403

History | View | Annotate | Download (14.5 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
        </properties>
100
        <repositories>
101
                <repository>
102
                        <id>gvsig-public-http-repository</id>
103
                        <name>gvSIG maven public HTTP repository</name>
104
                        <url>http://downloads.gvsig.org/pub/gvSIG-desktop/maven-repository</url>
105
                </repository>
106
                <repository>
107
                        <id>gvsig-public-buildman-repository</id>
108
                        <name>gvSIG maven public HTTP repository</name>
109
                        <url>http://downloads.gvsig.org/pub/gvSIG-desktop/buildman-repository</url>
110
                </repository>
111
                <repository>
112
                        <id>refractions</id>
113
                        <name>Refractions Research Maven 2 Repository</name>
114
                        <url>http://lists.refractions.net/m2
115
                        </url>
116
                </repository>
117
                <repository>
118
                        <id>geotools</id>
119
                        <url>http://maven.geotools.fr/repository
120
                        </url>
121
                </repository>
122
        </repositories>
123
        <distributionManagement>
124
                <repository>
125
                        <id>gvsig-ftp-repository</id>
126
                        <name>gvSIG maven FTP repository</name>
127
                        <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-desktop/maven-repository</url>
128
                </repository>
129
                <snapshotRepository>
130
                        <id>gvsig-ftp-repository</id>
131
                        <name>gvSIG maven FTP repository</name>
132
                        <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-desktop/maven-repository</url>
133
                </snapshotRepository>
134
                <!-- Not supported by the FTPTLS wagon
135
            <site>
136
              <id>gvsig-ftp-repository</id>
137
                  <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-desktop/maven-repository/site</url>
138
            </site>
139
            -->
140
        </distributionManagement>
141
        <dependencies>
142
                <dependency>
143
                        <groupId>junit</groupId>
144
                        <artifactId>junit</artifactId>
145
                        <version>3.8.1</version>
146
                        <scope>test</scope>
147
                </dependency>
148
                <dependency>
149
                        <groupId>org.slf4j</groupId>
150
                        <artifactId>slf4j-api</artifactId>
151
                        <version>1.5.5</version>
152
                </dependency>
153
                <dependency>
154
                        <groupId>org.slf4j</groupId>
155
                        <artifactId>slf4j-log4j12</artifactId>
156
                        <version>1.5.5</version>
157
                        <scope>runtime</scope>
158
                </dependency>
159
                <dependency>
160
                        <groupId>log4j</groupId>
161
                        <artifactId>log4j</artifactId>
162
                        <version>1.2.14</version>
163
                        <!--
164
                                TODO: Change to runtime when everything becomes migrated to SLF4J
165
                        -->
166
                        <scope>compile</scope>
167
                </dependency>
168
        </dependencies>
169
        <build>
170

    
171
                <extensions>
172
                        <extension>
173
                                <groupId>org.gvsig.maven.wagon</groupId>
174
                                <artifactId>wagon-ftp</artifactId>
175
                                <version>0.2</version>
176
                        </extension>
177
                </extensions>
178
                <plugins>
179
                        <plugin>
180
                                <groupId>org.apache.maven.plugins</groupId>
181
                                <artifactId>maven-compiler-plugin</artifactId>
182
                                <configuration>
183
                                        <source>1.5</source>
184
                                        <target>1.5</target>
185
                                        <!-- put your configurations here -->
186
                                        <encoding>ISO-8859-1</encoding>
187
                                        <!--<failOnError>false</failOnError>-->
188
                                </configuration>
189
                        </plugin>
190
                        <plugin>
191
                                <groupId>org.apache.maven.plugins</groupId>
192
                                <artifactId>maven-resources-plugin</artifactId>
193
                                <configuration>
194
                                        <encoding>ISO-8859-1</encoding>
195
                                </configuration>
196
                        </plugin>
197

    
198
                        <plugin>
199
                                <groupId>org.apache.maven.plugins</groupId>
200
                                <artifactId>maven-eclipse-plugin</artifactId>
201
                                <configuration>
202
                                        <downloadSources>true</downloadSources>
203
                                        <downloadJavadocs>true</downloadJavadocs>
204
                                        <projectNameTemplate>[artifactId]</projectNameTemplate>
205
                                </configuration>
206
                        </plugin>
207
                        <plugin>
208
                                <groupId>org.apache.maven.plugins</groupId>
209
                                <artifactId>maven-source-plugin</artifactId>
210
                                <executions>
211
                                        <execution>
212
                                                <id>attach-sources</id>
213
                                                <goals>
214
                                                        <goal>jar</goal>
215
                                                </goals>
216
                                        </execution>
217
                                </executions>
218
                        </plugin>
219
                        <plugin>
220
                                <groupId>org.apache.maven.plugins</groupId>
221
                                <artifactId>maven-checkstyle-plugin</artifactId>
222
                                <dependencies>
223
                                        <dependency>
224
                                                <groupId>checkstyle</groupId>
225
                                                <artifactId>checkstyle</artifactId>
226
                                                <version>4.4</version>
227
                                        </dependency>
228
                                        <dependency>
229
                                                <groupId>checkstyle</groupId>
230
                                                <artifactId>checkstyle-optional</artifactId>
231
                                                <version>4.4</version>
232
                                        </dependency>
233
                                        <dependency>
234
                                                <groupId>org.gvsig</groupId>
235
                                                <artifactId>build-tools</artifactId>
236
                                                <version>1.0</version>
237
                                        </dependency>
238
                                </dependencies>
239
                        </plugin>
240
                        <plugin>
241
                                <groupId>org.apache.maven.plugins</groupId>
242
                                <artifactId>maven-eclipse-plugin</artifactId>
243
                                <configuration>
244
                                        <projectNameTemplate>[artifactId]</projectNameTemplate>
245
                                </configuration>
246
                        </plugin>
247

    
248
                </plugins>
249
        </build>
250
        <profiles>
251
                <profile>
252
                        <id>release</id>
253
                        <build>
254
                                <plugins>
255
                                        <plugin>
256
                                                <groupId>org.apache.maven.plugins</groupId>
257
                                                <artifactId>maven-javadoc-plugin</artifactId>
258
                                                <executions>
259
                                                        <execution>
260
                                                                <id>attach-javadocs</id>
261
                                                                <goals>
262
                                                                        <goal>jar</goal>
263
                                                                </goals>
264
                                                        </execution>
265
                                                </executions>
266
                                        </plugin>
267
                                </plugins>
268
                        </build>
269
                </profile>
270

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

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