Statistics
| Revision:

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

History | View | Annotate | Download (11.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/maven-v4_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 the
79
              GNU GPL is the one intended.
80
              </comments>
81
            </license>
82
        </licenses>        
83
        
84
        <!--
85
                Put here the global properties who use all the projects of GvSIG
86
        -->
87
        <properties>
88
                <gvsig-path><!-- Name property -->
89
                        ../build/product
90
                </gvsig-path>
91
                <gvsig-lib-dir>${gvsig-path}/lib</gvsig-lib-dir>
92
                <extension-dir>${gvsig-path}/gvSIG/extensiones
93
                </extension-dir>
94
                <build-dir>${basedir}</build-dir>
95
                <localRepository>${user.home}/.m2/repository</localRepository>
96
                <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>
97
        </properties>
98
        <repositories>
99
                <repository>
100
                        <id>gvsig-public-http-repository</id>
101
                        <name>gvSIG maven public HTTP repository</name>
102
                        <url>http://downloads.gvsig.org/pub/gvSIG-desktop/maven-repository</url>
103
                </repository>
104
                <repository>
105
                        <id>refractions</id>
106
                        <name>Refractions Research Maven 2 Repository</name>
107
                        <url>http://lists.refractions.net/m2
108
                        </url>
109
                </repository>
110
                <repository>
111
                        <id>geotools</id>
112
                        <url>http://maven.geotools.fr/repository
113
                        </url>
114
                </repository>
115
        </repositories>
116
        <distributionManagement>
117
                <repository>
118
                        <id>gvsig-ftp-repository</id>
119
                        <name>gvSIG maven FTP repository</name>
120
                        <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-desktop/maven-repository</url>
121
                </repository>
122
                <snapshotRepository>
123
                        <id>gvsig-ftp-repository</id>
124
                        <name>gvSIG maven FTP repository</name>
125
                        <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-desktop/maven-repository</url>
126
                </snapshotRepository>
127
        </distributionManagement>
128
        <build>
129
                <extensions>
130
                        <extension>
131
                                <groupId>org.gvsig.maven.wagon</groupId>
132
                                <artifactId>wagon-ftp</artifactId>
133
                                <version>0.2</version>
134
                        </extension>
135
                </extensions>
136
                <plugins>
137
                        <plugin>
138
                                <groupId>org.apache.maven.plugins</groupId>
139
                                <artifactId>maven-compiler-plugin</artifactId>
140
                                <configuration>
141
                                        <source>1.5</source>
142
                                        <target>1.5</target>
143
                                        <!-- put your configurations here -->
144
                                        <encoding>ISO-8859-1</encoding>
145
                                        <!--<failOnError>false</failOnError>-->
146
                                </configuration>
147
                        </plugin>
148
                        <plugin>
149
                                <groupId>org.apache.maven.plugins</groupId>
150
                                <artifactId>maven-eclipse-plugin</artifactId>
151
                                <configuration>
152
                                        <downloadSources>true</downloadSources>
153
                                        <downloadJavadocs>true</downloadJavadocs>
154
                                </configuration>
155
                        </plugin>
156
                        <plugin>
157
                                <groupId>org.apache.maven.plugins</groupId>
158
                                <artifactId>maven-source-plugin</artifactId>
159
                                <executions>
160
                                        <execution>
161
                                                <id>attach-sources</id>
162
                                                <goals>
163
                                                        <goal>jar</goal>
164
                                                </goals>
165
                                        </execution>
166
                                </executions>
167
                        </plugin>
168
                        <plugin>
169
                                <groupId>org.apache.maven.plugins</groupId>
170
                                <artifactId>maven-checkstyle-plugin</artifactId>
171
                                <dependencies>
172
                                        <dependency>
173
                                                <groupId>checkstyle</groupId>
174
                                                <artifactId>checkstyle</artifactId>
175
                                                <version>4.4</version>
176
                                        </dependency>
177
                                        <dependency>
178
                                                <groupId>checkstyle</groupId>
179
                                                <artifactId>checkstyle-optional</artifactId>
180
                                                <version>4.4</version>
181
                                        </dependency>
182
                                        <dependency>
183
                                                <groupId>org.gvsig</groupId>
184
                                                <artifactId>build-tools</artifactId>
185
                                                <version>1.0</version>
186
                                        </dependency>
187
                                </dependencies>
188
                        </plugin>                        
189
                </plugins>
190
        </build>
191
        <profiles>
192
                <profile>
193
                        <id>release</id>
194
                        <build>
195
                                <plugins>
196
                                        <plugin>
197
                                                <groupId>org.apache.maven.plugins</groupId>
198
                                                <artifactId>maven-javadoc-plugin</artifactId>
199
                                                <executions>
200
                                                        <execution>
201
                                                                <id>attach-javadocs</id>
202
                                                                <goals>
203
                                                                        <goal>jar</goal>
204
                                                                </goals>
205
                                                        </execution>
206
                                                </executions>
207
                                        </plugin>
208
                                </plugins>
209
                        </build>
210
                </profile>
211

    
212
                <profile>
213
                        <id>cdc</id>
214
                        <activation>
215
                                <activeByDefault>false</activeByDefault>
216
                        </activation>
217
                        <dependencies>
218
                                <dependency>
219
                                        <groupId>com.sun.phoneme</groupId>
220
                                        <artifactId>btclasses</artifactId>
221
                                        <version>bn102</version>
222
                                        <type>zip</type>
223
                                </dependency>
224
                                <dependency>
225
                                        <groupId>com.sun.phoneme</groupId>
226
                                        <artifactId>rt</artifactId>
227
                                        <version>bn102</version>
228
                                </dependency>
229
                                <dependency>
230
                                        <groupId>org.gvsig.mobile</groupId>
231
                                        <artifactId>cdc-addons</artifactId>
232
                                        <version>1.0-SNAPSHOT</version>
233
                                </dependency>
234
                        </dependencies>
235
                        <build>
236
                                <!--
237
                                        finalName>${project.artifactId}.cdc-${project.version}-${buildnumber}</finalName
238
                                -->
239
                                <!--finalName>${project.artifactId}-cdc-${project.version}</finalName-->
240
                                <plugins>
241
                                        <plugin>
242
                                                <groupId>org.apache.maven.plugins</groupId>
243
                                                <artifactId>maven-compiler-plugin</artifactId>
244
                                                <configuration>
245
                                                        <source>1.4</source>
246
                                                        <target>1.4</target>
247
                                                        <compilerArguments>
248
                                                                <bootclasspath>${cdc-runtime}</bootclasspath>
249
                                                        </compilerArguments>
250
                                                </configuration>
251
                                        </plugin>
252
                                </plugins>
253
                        </build>
254
                        <repositories>
255
                                <repository>
256
                                        <id>gvsig-public-http-repository</id>
257
                                        <name>gvSIG maven public HTTP repository</name>
258
                                        <url>http://downloads.gvsig.org/pub/gvSIG-mobile/maven-repository</url>
259
                                </repository>
260
                        </repositories>
261
                        <distributionManagement>
262
                                <repository>
263
                                        <id>gvsig-ftp-repository</id>
264
                                        <name>gvSIG Mobile maven FTP repository</name>
265
                                        <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-mobile/maven-repository</url>
266
                                </repository>
267
                                <snapshotRepository>
268
                                        <id>gvsig-ftp-repository</id>
269
                                        <name>gvSIG Mobile maven FTP repository</name>
270
                                        <url>ftpes://downloads.gvsig.org/anon/pub/gvSIG-mobile/maven-repository</url>
271
                                </snapshotRepository>
272
                        </distributionManagement>
273
                </profile>
274

    
275
        </profiles>
276
        <reporting>
277
                <plugins>
278
                        <plugin>
279
                                <groupId>org.apache.maven.plugins</groupId>
280
                                <artifactId>maven-checkstyle-plugin</artifactId>
281
                                <configuration>
282
                                        <configLocation>gvsig/checkstyle_gvsig.xml</configLocation>
283
                                        <headerLocation>gvsig/gvsig.header</headerLocation>
284
                                        <propertyExpansion>
285
                                                basedir=${basedir}
286
                    </propertyExpansion>
287
                                </configuration>
288
                        </plugin>
289
                        <plugin>
290
                                <groupId>org.apache.maven.plugins</groupId>
291
                                <artifactId>maven-javadoc-plugin</artifactId>
292
                                <configuration>
293
                                        <links>
294
                                                <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
295
                                                <link>http://maven.apache.org/ref/current/apidocs</link>
296
                                        </links>
297
                                </configuration>
298
                        </plugin>
299
                        <plugin>
300
                                <groupId>org.apache.maven.plugins</groupId>
301
                                <artifactId>maven-jxr-plugin</artifactId>
302
                        </plugin>
303
                        <plugin>
304
                                <groupId>org.apache.maven.plugins</groupId>
305
                                <artifactId>maven-pmd-plugin</artifactId>
306
                        </plugin>
307
                        <!-- 
308
                        <plugin>
309
                                <groupId>org.apache.maven.plugins</groupId>
310
                                <artifactId>maven-changelog-plugin</artifactId>
311
                                <configuration>
312
                                        <type>range</type>
313
                                        <range>60</range>
314
                                </configuration>
315
                        </plugin>
316
                        <plugin>
317
                                <groupId>org.apache.maven.plugins</groupId>
318
                                <artifactId>maven-changes-plugin</artifactId>
319
                                <reportSets>
320
                                        <reportSet>
321
                                                <reports>
322
                                                        <report>changes-report</report>
323
                                                </reports>
324
                                        </reportSet>
325
                                </reportSets>
326
                                <configuration>
327
                                        <issueLinkTemplate>
328
                                                https://gvsig.org/trac/gvSIG/ticket/%ISSUE%
329
                    </issueLinkTemplate>
330
                </configuration>
331
             </plugin>
332
              -->
333
            <plugin>
334
                        <groupId>org.codehaus.mojo</groupId>
335
                        <artifactId>javancss-maven-plugin</artifactId>
336
                    </plugin>
337
                    <plugin>
338
                        <groupId>org.apache.maven.plugins</groupId>
339
                        <artifactId>maven-surefire-report-plugin</artifactId>
340
                  </plugin>
341
                  <plugin>
342
                  <groupId>org.codehaus.mojo</groupId>
343
                  <artifactId>cobertura-maven-plugin</artifactId>
344
                </plugin>
345
       </plugins>
346
    </reporting>
347
        
348
        <modules>
349
                <module>build-tools</module>
350
                <module>libraries-pom</module>
351
                <module>extension-pom</module>
352
        </modules>
353
</project>