Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / build / pom.xml @ 28393

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

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

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

    
242
                </plugins>
243
        </build>
244
        <profiles>
245
                <profile>
246
                        <id>release</id>
247
                        <build>
248
                                <plugins>
249
                                        <plugin>
250
                                                <groupId>org.apache.maven.plugins</groupId>
251
                                                <artifactId>maven-javadoc-plugin</artifactId>
252
                                                <executions>
253
                                                        <execution>
254
                                                                <id>attach-javadocs</id>
255
                                                                <goals>
256
                                                                        <goal>jar</goal>
257
                                                                </goals>
258
                                                        </execution>
259
                                                </executions>
260
                                        </plugin>
261
                                </plugins>
262
                        </build>
263
                </profile>
264

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

    
328
        </profiles>
329
        <reporting>
330
                <plugins>
331
                        <plugin>
332
                                <groupId>org.apache.maven.plugins</groupId>
333
                                <artifactId>maven-checkstyle-plugin</artifactId>
334
                                <configuration>
335
                                        <configLocation>gvsig/checkstyle_gvsig.xml</configLocation>
336
                                        <headerLocation>gvsig/gvsig.header</headerLocation>
337
                                        <propertyExpansion>
338
                                                basedir=${basedir}
339
                    </propertyExpansion>
340
                                </configuration>
341
                        </plugin>
342
                        <plugin>
343
                                <groupId>org.apache.maven.plugins</groupId>
344
                                <artifactId>maven-javadoc-plugin</artifactId>
345
                                <configuration>
346
                                        <links>
347
                                                <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
348
                                                <link>http://maven.apache.org/ref/current/apidocs</link>
349
                                        </links>
350
                                        <encoding>ISO-8859-1</encoding>
351
                                </configuration>
352
                        </plugin>
353
                        <plugin>
354
                                <groupId>org.apache.maven.plugins</groupId>
355
                                <artifactId>maven-jxr-plugin</artifactId>
356
                        </plugin>
357
                        <plugin>
358
                                <groupId>org.apache.maven.plugins</groupId>
359
                                <artifactId>maven-pmd-plugin</artifactId>
360
                        </plugin>
361
                        <!-- CHANGES & CHANGELOG PLUGINS 
362
                        <plugin>
363
                                <groupId>org.apache.maven.plugins</groupId>
364
                                <artifactId>maven-changelog-plugin</artifactId>
365
                                <configuration>
366
                                        <type>range</type>
367
                                        <range>60</range>
368
                                </configuration>
369
                        </plugin>
370
                        <plugin>
371
                                <groupId>org.apache.maven.plugins</groupId>
372
                                <artifactId>maven-changes-plugin</artifactId>
373
                                <reportSets>
374
                                        <reportSet>
375
                                                <reports>
376
                                                        <report>changes-report</report>
377
                                                </reports>
378
                                        </reportSet>
379
                                </reportSets>
380
                                <configuration>
381
                                        <issueLinkTemplate>
382
                                                https://gvsig.org/trac/gvSIG/ticket/%ISSUE% </issueLinkTemplate>
383
                                </configuration> 
384
                    </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>
420
                                        <xmlOutput>true|false</xmlOutput>
421
                                        <xmlOutputDirectory>directory location of findbugs xdoc
422
                                                xml report</xmlOutputDirectory>
423
                                        <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
424
                                        <includeFilterFile>findbugs-include.xml</includeFilterFile>
425
                                        <visitors>FindDeadLocalStores,UnreadFields</visitors>
426
                                        <omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors>
427
                                        <onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze>
428
                                        <pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList>
429
                                        <debug>true|false</debug>
430
                                        <relaxed>true|false</relaxed>
431
                                        <findbugsXmlOutput>true|false</findbugsXmlOutput>
432
                                        <findbugsXmlOutputDirectory>directory location of findbugs
433
                                                legact xml format report</findbugsXmlOutputDirectory>
434
                                        -->
435
                                </configuration>
436
                        </plugin>
437
                </plugins>
438
        </reporting>
439

    
440
        <modules>
441
                <module>build-tools</module>
442
                <module>libraries-pom</module>
443
                <module>extension-pom</module>
444
        </modules>
445
</project>