Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / pom.xml @ 41572

History | View | Annotate | Download (112 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3

    
4
    <modelVersion>4.0.0</modelVersion>
5
    <groupId>org.gvsig</groupId>
6
    <artifactId>org.gvsig.desktop</artifactId>
7
    <packaging>pom</packaging>
8

    
9
    <version>2.0.47-SNAPSHOT</version>
10

    
11
    <name>${project.artifactId}</name>
12
    <description>
13
        This is part of the sources of "gSIG desktop" application.
14
      
15
        gvSIG is a Geographic Information System (GIS), that is, a desktop application 
16
        designed for capturing, storing, handling, analyzing and deploying any kind of 
17
        referenced geographic information in order to solve complex management and planning 
18
        problems. gvSIG is known for having a user-friendly interface, being able to access 
19
        the most common formats, both vector and raster ones. It features a wide range of 
20
        tools for working with geographic-like information (query tools, layout creation, 
21
        geoprocessing, networks, etc.), which turns gvSIG into the ideal tool for users 
22
        working in the land realm.
23
    </description>
24

    
25
    <licenses>
26
        <license>
27
            <name>GPLv3</name>
28
            <url>http://www.gnu.org/licenses/gpl.html</url>
29
            <distribution>repo</distribution>
30
            <comments>
31
                "GPL" stands for "General Public License". The most widespread such
32
                license is the GNU General Public License, or GNU GPL for short.
33
                This can be further shortened to "GPL", when it is understood that
34
                the GNU GPL is the one intended.
35
            </comments>
36
        </license>
37
    </licenses>
38

    
39
    <organization>
40
        <name>gvSIG Association</name>
41
        <url>http://www.gvsig.com/</url>
42
    </organization>
43

    
44
    <scm>
45
        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/trunk/org.gvsig.desktop/</connection>
46
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/trunk/org.gvsig.desktop/</developerConnection>
47
        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/trunk//org.gvsig.desktop/</url>
48
    </scm>
49
    
50
    <repositories>
51
        <repository>
52
            <id>gvsig-public-http-repository</id>
53
            <name>gvSIG maven public HTTP repository</name>
54
            <url>http://devel.gvsig.org/m2repo/j2se</url>
55
            <releases>
56
                <enabled>true</enabled>
57
                <updatePolicy>daily</updatePolicy>
58
                <checksumPolicy>warn</checksumPolicy>
59
            </releases>
60
            <snapshots>
61
                <enabled>true</enabled>
62
                <updatePolicy>daily</updatePolicy>
63
                <checksumPolicy>warn</checksumPolicy>
64
            </snapshots>
65
        </repository>
66
    </repositories>
67

    
68
    <distributionManagement>
69
        <site>
70
            <id>gvsig-repository</id>
71
            <url>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</url>
72
        </site>
73
        <repository>
74
            <id>gvsig-repository</id>
75
            <name>gvSIG maven repository</name>
76
            <url>dav:https://devel.gvsig.org/m2repo/j2se</url>
77
            <uniqueVersion>false</uniqueVersion>
78
        </repository>
79
        <snapshotRepository>
80
            <id>gvsig-repository</id>
81
            <name>gvSIG maven repository</name>
82
            <url>dav:https://devel.gvsig.org/m2repo/j2se</url>
83
            <uniqueVersion>false</uniqueVersion>
84
        </snapshotRepository>
85
    </distributionManagement>
86
    
87
    <issueManagement>
88
        <system>redmine</system>
89
        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop</url>
90
    </issueManagement>
91

    
92
    <mailingLists>
93
        <mailingList>
94
            <name>User List</name>
95
            <subscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</subscribe>
96
            <unsubscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</unsubscribe>
97
            <post>gvsig_usuarios@listserv.gva.es</post>
98
            <archive>http://www.gvsig.org/web/community/mailing-lists/gvsig-nabble</archive>
99
            <otherArchives>
100
                <otherArchive>http://www.mail-archive.com/gvsig_usuarios@runas.cap.gva.es</otherArchive>
101
                <otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive>
102
            </otherArchives>
103
        </mailingList>
104
        <mailingList>
105
            <name>Developer List</name>
106
            <subscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores</subscribe>
107
            <unsubscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores</unsubscribe>
108
            <post>gvsig_desarrolladores@listserv.gva.es</post>
109
            <archive>http://www.gvsig.org/web/community/mailing-lists/gvsig-nabble</archive>
110
            <otherArchives>
111
                <otherArchive>http://www.mail-archive.com/gvsig_desarrolladores@runas.cap.gva.es</otherArchive>
112
                <otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive>
113
            </otherArchives>
114
        </mailingList>
115
        <mailingList>
116
            <name>International List</name>
117
            <subscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</subscribe>
118
            <unsubscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</unsubscribe>
119
            <post>gvsig_internacional@listserv.gva.es</post>
120
            <archive>http://www.gvsig.org/web/community/mailing-lists/gvsig-nabble</archive>
121
            <otherArchives>
122
                <otherArchive>http://www.mail-archive.com/gvsig_internacional@runas.cap.gva.es</otherArchive>
123
                <otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive>
124
            </otherArchives>
125
        </mailingList>
126
    </mailingLists>
127

    
128
    <dependencyManagement>
129
        <dependencies>
130

    
131
            <!-- Non gvSIG projects -->
132
            <!-- NOTE: the list of dependencies is ordered alphabetically -->
133
            <!-- by the artifactId. Please, if new dependencies are added, -->
134
            <!--keep the order.-->
135

    
136
            <dependency>
137
                <groupId>org.n52</groupId>
138
                <artifactId>52n-wps-config</artifactId>
139
                <version>1.0.1</version>
140
            </dependency>
141
            <dependency>
142
                <groupId>net.opengis</groupId>
143
                <artifactId>52n-wps-xml</artifactId>
144
                <version>1.0.0</version>
145
            </dependency>
146
            <dependency>
147
                <groupId>org.jzkit</groupId>
148
                <artifactId>a2j-runtime</artifactId>
149
                <version>2.0.9</version>
150
            </dependency>
151
            <dependency>
152
                <groupId>org.jzkit</groupId>
153
                <artifactId>a2j</artifactId>
154
                <version>2.0.9</version>
155
            </dependency>
156
            <dependency>
157
                <groupId>net.swing</groupId>
158
                <artifactId>amic-util</artifactId>
159
                <version>unknown</version>
160
            </dependency>
161
            <dependency>
162
                <groupId>org.apache.ant</groupId>
163
                <artifactId>ant</artifactId>
164
                <version>1.8.1</version>
165
            </dependency>
166
            <dependency>
167
                <groupId>org.apache.ant</groupId>
168
                <artifactId>ant-apache-oro</artifactId>
169
                <version>1.8.1</version>
170
            </dependency>
171
            <dependency>
172
                <groupId>ant-contrib</groupId>
173
                <artifactId>ant-contrib</artifactId>
174
                <version>1.0b3</version>
175
                <exclusions>
176
                    <exclusion>
177
                        <groupId>ant</groupId>
178
                        <artifactId>ant</artifactId>
179
                    </exclusion>
180
                </exclusions>
181
            </dependency>
182
            <dependency>
183
                <groupId>org.apache.ant</groupId>
184
                <artifactId>ant-launcher</artifactId>
185
                <version>1.8.1</version>
186
            </dependency>
187
            <dependency>
188
                <groupId>org.apache.ant</groupId>
189
                <artifactId>ant-nodeps</artifactId>
190
                <version>1.8.1</version>
191
            </dependency>
192
            <dependency>
193
                <groupId>org.tigris.antelope</groupId>
194
                <artifactId>antelopetasks</artifactId>
195
                <version>3.2.10</version>
196
            </dependency>
197
            <dependency>
198
                <groupId>com.sardak</groupId>
199
                <artifactId>antform</artifactId>
200
                <version>2.0</version>
201
            </dependency>
202
            <dependency>
203
                <groupId>org.apache.xmlgraphics</groupId>
204
                <artifactId>batik-awt-util</artifactId>
205
                <version>1.7</version>
206
            </dependency>
207
            <dependency>
208
                <groupId>org.apache.xmlgraphics</groupId>
209
                <artifactId>batik-bridge</artifactId>
210
                <version>1.7</version>
211
            </dependency>
212
            <dependency>
213
                <groupId>org.apache.xmlgraphics</groupId>
214
                <artifactId>batik-ext</artifactId>
215
                <version>1.7</version>
216
            </dependency>            
217
            <dependency>
218
                <groupId>org.apache.xmlgraphics</groupId>
219
                <artifactId>batik-gui-util</artifactId>
220
                <version>1.7</version>
221
            </dependency>
222
            <dependency>
223
                <groupId>org.apache.xmlgraphics</groupId>
224
                <artifactId>batik-gvt</artifactId>
225
                <version>1.7</version>
226
            </dependency>
227
            <dependency>
228
                <groupId>org.apache.xmlgraphics</groupId>
229
                <artifactId>batik-script</artifactId>
230
                <version>1.7</version>
231
            </dependency>
232
            <dependency>
233
                <groupId>org.apache.xmlgraphics</groupId>
234
                <artifactId>batik-xml</artifactId>
235
                <version>1.7</version>
236
            </dependency>
237
            <dependency>
238
                <groupId>org.apache.xmlgraphics</groupId>
239
                <artifactId>batik-anim</artifactId>
240
                <version>1.7</version>
241
            </dependency>
242
            <dependency>
243
                <groupId>org.apache.xmlgraphics</groupId>
244
                <artifactId>batik-css</artifactId>
245
                <version>1.7</version>
246
            </dependency>
247
            <dependency>
248
                <groupId>org.apache.xmlgraphics</groupId>
249
                <artifactId>batik-dom</artifactId>
250
                <version>1.7</version>
251
            </dependency>
252
            <dependency>
253
                <groupId>org.apache.xmlgraphics</groupId>
254
                <artifactId>batik-js</artifactId>
255
                <version>1.7</version>
256
            </dependency>
257
            <dependency>
258
                <groupId>org.apache.xmlgraphics</groupId>
259
                <artifactId>batik-parser</artifactId>
260
                <version>1.7</version>
261
            </dependency>
262
            <dependency>
263
                <groupId>org.apache.xmlgraphics</groupId>
264
                <artifactId>batik-svg-dom</artifactId>
265
                <version>1.7</version>
266
            </dependency>
267
            <dependency>
268
                <groupId>bsf</groupId>
269
                <artifactId>bsf</artifactId>
270
                <version>2.3.0-rc1</version>
271
            </dependency>
272
            <dependency>
273
                <groupId>org.apache.bsf</groupId>
274
                <artifactId>bsf-api</artifactId>
275
                <version>3.1</version>
276
            </dependency>
277
            <dependency>
278
                <groupId>org.apache.bsf</groupId>
279
                <artifactId>bsf-utils</artifactId>
280
                <version>3.1</version>
281
            </dependency>
282
            <dependency>
283
                <groupId>bsh</groupId>
284
                <artifactId>bsh</artifactId>
285
                <version>2.0b4</version>
286
            </dependency>
287
            <dependency>
288
                <groupId>castor</groupId>
289
                <artifactId>castor</artifactId>
290
                <version>0.9.5.3</version>
291
            </dependency>
292
            
293
            <dependency>
294
                <groupId>commons-beanutils</groupId>
295
                <artifactId>commons-beanutils</artifactId>
296
                <version>1.6</version>
297
            </dependency>
298
            <dependency>
299
                <groupId>commons-dbcp</groupId>
300
                <artifactId>commons-dbcp</artifactId>
301
                <version>1.2.2</version>
302
            </dependency>
303
            <dependency>
304
                <groupId>commons-codec</groupId>
305
                <artifactId>commons-codec</artifactId>
306
                <version>1.6</version>
307
            </dependency>
308
            <dependency>
309
                <groupId>commons-collections</groupId>
310
                <artifactId>commons-collections</artifactId>
311
                <version>3.2.1</version>
312
            </dependency>
313
            <dependency>
314
                <groupId>org.apache.solr</groupId>
315
                <artifactId>solr-commons-csv</artifactId>
316
                <version>3.5.0</version>
317
            </dependency>           
318
            <dependency>
319
                <groupId>commons-httpclient</groupId>
320
                <artifactId>commons-httpclient</artifactId>
321
                <version>2.0.2</version>
322
            </dependency>
323
            <dependency>
324
                <groupId>commons-cli</groupId>
325
                <artifactId>commons-cli</artifactId>
326
                <version>1.2</version>
327
            </dependency>
328
            <dependency>
329
                <groupId>commons-io</groupId>
330
                <artifactId>commons-io</artifactId>
331
                <version>2.4</version>
332
            </dependency>
333
            <dependency>
334
                <groupId>org.apache.commons</groupId>
335
                <artifactId>commons-lang3</artifactId>
336
                <version>3.1</version>    
337
            </dependency>
338
            <dependency>
339
                <groupId>commons-configuration</groupId>
340
                <artifactId>commons-configuration</artifactId>
341
                <version>1.10</version>
342
            </dependency>
343
            <dependency>
344
                <groupId>commons-logging</groupId>
345
                <artifactId>commons-logging</artifactId>
346
                <version>1.1.1</version>
347
            </dependency>
348
            <dependency>
349
                <groupId>commons-logging</groupId>
350
                <artifactId>commons-logging</artifactId>
351
                <version>1.1.1</version>
352
                <classifier>api</classifier>
353
            </dependency>
354
            <dependency>
355
                <groupId>commons-pool</groupId>
356
                <artifactId>commons-pool</artifactId>
357
                <version>1.6</version>
358
            </dependency>            
359
            
360
            <dependency>
361
                <groupId>org.dspace</groupId>
362
                <artifactId>cql-java</artifactId>
363
                <version>1.0</version>
364
            </dependency>
365
            <dependency>
366
                <groupId>easymock</groupId>
367
                <artifactId>easymock</artifactId>
368
                <version>1.2_Java1.3</version>
369
            </dependency>
370
            <dependency>
371
                <groupId>easymock</groupId>
372
                <artifactId>easymockclassextension</artifactId>
373
                <version>1.2</version>
374
            </dependency>
375
            <dependency>
376
                <groupId>flanagan</groupId>
377
                <artifactId>flanagan</artifactId>
378
                <version>20090616</version>
379
            </dependency>
380
            <dependency>
381
                <groupId>net.sf</groupId>
382
                <artifactId>flib-jcalendar</artifactId>
383
                <version>unknown</version>
384
            </dependency>
385
            <dependency>
386
                <groupId>org.opengis</groupId>
387
                <artifactId>geoapi</artifactId>
388
                <version>2.0</version>
389
            </dependency>
390
            <dependency>
391
                <groupId>geojava</groupId>
392
                <artifactId>geojava</artifactId>
393
                <version>unknown</version>
394
            </dependency>
395
            <dependency>
396
                <groupId>org.geonames</groupId>
397
                <artifactId>geonames</artifactId>
398
                <version>1.0</version>
399
                <classifier>java5</classifier>
400
            </dependency>
401
            <dependency>
402
                <groupId>org.codehaus.groovy</groupId>
403
                <artifactId>groovy-all</artifactId>
404
                <version>1.7.6</version>
405
            </dependency>
406
            <dependency>
407
                <groupId>org.geotools</groupId>
408
                <artifactId>gt2-legacy</artifactId>
409
                <version>2.2-RC2</version>
410
            </dependency>
411
            <dependency>
412
                <groupId>org.geotools</groupId>
413
                <artifactId>gt2-main</artifactId>
414
                <version>2.2.2</version>
415
            </dependency>
416
            <dependency>
417
                <groupId>org.geotools</groupId>
418
                <artifactId>gt2-referencing</artifactId>
419
                <version>2.2-RC2</version>
420
            </dependency>
421
            <dependency>
422
                <groupId>hsqldb</groupId>
423
                <artifactId>hsqldb</artifactId>
424
                <version>1.8.0.10</version>
425
            </dependency>
426
            <dependency>
427
                <groupId>com.h2database</groupId>
428
                <artifactId>h2</artifactId>
429
                <version>1.3.150</version>
430
            </dependency>
431
            <dependency>
432
                <groupId>org.ini4j</groupId>
433
                <artifactId>ini4j</artifactId>
434
                <version>0.5.1</version>
435
            </dependency>
436
            <dependency>
437
                <groupId>com.lowagie</groupId>
438
                <artifactId>itext</artifactId>
439
                <version>2.1.4</version>
440
            </dependency>
441
            <dependency>
442
                <groupId>javax.media</groupId>
443
                <artifactId>jai_core</artifactId>
444
                <version>1.1.3</version>
445
            </dependency>
446
            <dependency>
447
                <groupId>javax.media</groupId>
448
                <artifactId>jai_codec</artifactId>
449
                <version>1.1.3</version>
450
            </dependency>
451
            <dependency>
452
                <groupId>gov.nist.math</groupId>
453
                <artifactId>jama</artifactId>
454
                <version>unknown</version>
455
            </dependency>
456
            <dependency>
457
                <groupId>javax.help</groupId>
458
                <artifactId>javahelp</artifactId>
459
                <version>2.0.05</version>
460
            </dependency>
461
            <dependency>
462
                <groupId>com.toedter</groupId>
463
                <artifactId>jcalendar</artifactId>
464
                <version>1.1.4</version>
465
            </dependency>
466
            <dependency>
467
                <groupId>jfree</groupId>
468
                <artifactId>jcommon</artifactId>
469
                <version>1.0.12</version>
470
            </dependency>
471
            <dependency>
472
                <groupId>jdom</groupId>
473
                <artifactId>jdom</artifactId>
474
                <version>1.0</version>
475
            </dependency>
476
            <dependency>
477
                <groupId>org.nfunk</groupId>
478
                <artifactId>jep</artifactId>
479
                <version>2.4.0</version>
480
            </dependency>
481
            <dependency>
482
                <groupId>jfree</groupId>
483
                <artifactId>jfreechart</artifactId>
484
                <version>1.0.7</version>
485
            </dependency>
486
            <dependency>
487
                <groupId>org.jfree</groupId>
488
                <artifactId>jfreechart</artifactId>
489
                <version>1.0.14</version>
490
            </dependency>
491
            <dependency>
492
                <groupId>org.jgraf</groupId>
493
                <artifactId>jgraf</artifactId>
494
                <version>0.0.1</version>
495
            </dependency>
496
            <dependency>
497
                <groupId>net.sf</groupId>
498
                <artifactId>jgraph</artifactId>
499
                <version>5.10.1.5</version>
500
            </dependency>
501
            <dependency>
502
                <groupId>net.sf</groupId>
503
                <artifactId>jgridshiftapi</artifactId>
504
                <version>1.0</version>
505
            </dependency>
506
            <dependency>
507
                <groupId>com.sun</groupId>
508
                <artifactId>jimi</artifactId>
509
                <version>1.1</version>
510
            </dependency>
511
            <dependency>
512
                <groupId>joda-time</groupId>
513
                <artifactId>joda-time</artifactId>
514
                <version>1.6</version>
515
            </dependency>
516
            <dependency>
517
                <groupId>org.jpedal</groupId>
518
                <artifactId>jpedal_lgpl</artifactId>
519
                <version>4.37b36</version>
520
            </dependency>
521
            <dependency>
522
                <groupId>org.jruby</groupId>
523
                <artifactId>jruby</artifactId>
524
                <version>1.5.6</version>
525
            </dependency>
526
            <dependency>
527
                <groupId>rhino</groupId>
528
                <artifactId>js</artifactId>
529
                <!-- This is the version already included in Java 1.6 -->
530
                <version>1.6R2</version>
531
            </dependency>
532
            <dependency>
533
                <groupId>net.sf</groupId>
534
                <artifactId>jsi</artifactId>
535
                <version>unknown</version>
536
            </dependency>
537
            <dependency>
538
                <groupId>javax.units</groupId>
539
                <artifactId>jsr108</artifactId>
540
                <version>0.01</version>
541
            </dependency>
542
            <dependency>
543
                <groupId>com.vividsolutions</groupId>
544
                <artifactId>jts</artifactId>
545
                <version>1.13</version>
546
            </dependency>
547
            <dependency>
548
                <groupId>junit</groupId>
549
                <artifactId>junit</artifactId>
550
                <version>3.8.1</version>
551
            </dependency>
552
            <dependency>
553
                <groupId>jwizardcomponent</groupId>
554
                <artifactId>jwizardcomponent</artifactId>
555
                <version>1.2.2</version>
556
            </dependency>
557
            <dependency>
558
                <groupId>jwizardcomponent</groupId>
559
                <artifactId>jwizardcomponent-0i18n</artifactId>
560
                <version>1.2.2.1</version>
561
            </dependency>
562
            <dependency>
563
                <groupId>org.python</groupId>
564
                <artifactId>jython</artifactId>
565
                <version>2.5.2</version>
566
            </dependency>
567
            <dependency>
568
                <groupId>org.jzkit</groupId>
569
                <artifactId>jzkit2-core</artifactId>
570
                <version>2.0.0</version>
571
            </dependency>
572
            <dependency>
573
                <groupId>org.jzkit</groupId>
574
                <artifactId>jzkit2-z3950</artifactId>
575
                <version>2.0.0</version>
576
            </dependency>
577
            <dependency>
578
                <groupId>org.jzkit</groupId>
579
                <artifactId>jzkit2-origin</artifactId>
580
                <version>2.0.0</version>
581
            </dependency>
582
            <dependency>
583
                <groupId>net.sf.kxml</groupId>
584
                <artifactId>kxml2</artifactId>
585
                <version>2.2.2</version>
586
            </dependency>
587
            <dependency>
588
                <groupId>log4j</groupId>
589
                <artifactId>log4j</artifactId>
590
                <version>1.2.14</version>
591
            </dependency>
592
            <dependency>
593
                <groupId>com.googlecode.log4jdbc</groupId>
594
                <artifactId>log4jdbc</artifactId>
595
                <version>1.2</version>
596
            </dependency>            
597
            <dependency>
598
                <groupId>com.jgoodies</groupId>
599
                <artifactId>jgoodies-common</artifactId>
600
                <version>1.4.0</version>
601
            </dependency>
602
            <dependency>
603
                <groupId>com.jgoodies</groupId>
604
                <artifactId>jgoodies-forms</artifactId>
605
                <version>1.6.0</version>
606
            </dependency>
607
            <dependency>
608
                <groupId>com.jgoodies</groupId>
609
                <artifactId>looks</artifactId>
610
                <version>2.2.2</version>
611
            </dependency>
612
            <dependency>
613
                <groupId>com.ostermiller</groupId>
614
                <artifactId>ostermillerutils</artifactId>
615
                <version>1.4.3</version>
616
            </dependency>
617
            <dependency>
618
                <groupId>mysql</groupId>
619
                <artifactId>mysql-connector-java</artifactId>
620
                <version>5.1.6</version>
621
            </dependency>
622
            <dependency>
623
                <groupId>postgresql</groupId>
624
                <artifactId>postgresql</artifactId>
625
                <version>9.1-901.jdbc3</version>
626
            </dependency>
627
            <dependency>
628
                <groupId>es.unex</groupId>
629
                <artifactId>sextante</artifactId>
630
                <version>0.6.0</version>
631
            </dependency>
632
            <dependency>
633
                <groupId>es.unex</groupId>
634
                <artifactId>sextante_gui</artifactId>
635
                <version>0.6.0</version>
636
            </dependency>
637
            <dependency>
638
                <groupId>es.unex</groupId>
639
                <artifactId>sextante_wps</artifactId>
640
                <version>0.6.0</version>
641
            </dependency>
642
            <dependency>
643
                <groupId>es.unex</groupId>
644
                <artifactId>libMath</artifactId>
645
                <version>0.6.0</version>
646
            </dependency>
647
            <dependency>
648
                <groupId>es.unex</groupId>
649
                <artifactId>libDocEngines</artifactId>
650
                <version>0.6.0</version>
651
            </dependency>
652
            <dependency>
653
                <groupId>org.apache.directory.studio</groupId>
654
                <artifactId>org.apache.commons.pool</artifactId>
655
                <version>1.6</version>
656
            </dependency>            
657
            <dependency>
658
                <groupId>org.osgeo</groupId>
659
                <artifactId>proj4j</artifactId>
660
                <version>0.1.0</version>
661
            </dependency>            
662
            <dependency>
663
                <groupId>sil</groupId>
664
                <artifactId>sil</artifactId>
665
                <version>0.43b-am1</version>
666
            </dependency>
667
            <dependency>
668
                <groupId>org.slf4j</groupId>
669
                <artifactId>slf4j-api</artifactId>
670
                <version>1.5.5</version>
671
            </dependency>
672
            <dependency>
673
                <groupId>org.slf4j</groupId>
674
                <artifactId>slf4j-log4j12</artifactId>
675
                <version>1.5.5</version>
676
            </dependency>
677
            <dependency>
678
                <groupId>net.sf.smc</groupId>
679
                <artifactId>smc</artifactId>
680
                <version>4.3</version>
681
            </dependency>
682
            <dependency>
683
                <groupId>soap</groupId>
684
                <artifactId>soap</artifactId>
685
                <version>2.3</version>
686
            </dependency>
687
            <dependency>
688
                <groupId>spatialindex</groupId>
689
                <artifactId>spatialindex</artifactId>
690
                <version>unknown</version>
691
            </dependency>
692
            <dependency>
693
                <groupId>org.springframework</groupId>
694
                <artifactId>spring</artifactId>
695
                <version>1.2.8</version>
696
            </dependency>
697
            <dependency>
698
                <groupId>net.sf</groupId>
699
                <artifactId>sqljep</artifactId>
700
                <version>0.2.1</version>
701
            </dependency>
702
            <dependency>
703
                <groupId>net.sf.supercsv</groupId>
704
                <artifactId>super-csv</artifactId>
705
                <version>2.1.0</version>
706
            </dependency>
707
            <dependency>
708
                <groupId>org.tmatesoft.svnkit</groupId>
709
                <artifactId>svnkit</artifactId>
710
                <version>1.3.3</version>
711
            </dependency>
712
            <dependency>
713
                <groupId>org.tmatesoft.svnkit</groupId>
714
                <artifactId>svnkit-cli</artifactId>
715
                <version>1.3.3</version>
716
            </dependency>
717
            <dependency>
718
                <groupId>tablelayout</groupId>
719
                <artifactId>TableLayout</artifactId>
720
                <version>20050920</version>
721
            </dependency>
722
            <dependency>
723
                <groupId>info.clearthought</groupId>
724
                <artifactId>TableLayout-bin-jdk1.5</artifactId>
725
                <version>2007-04-21</version>
726
            </dependency>
727
            <dependency>
728
                <groupId>net.sourceforge.thinlet</groupId>
729
                <artifactId>thinlet</artifactId>
730
                <version>2005-03-28</version>
731
            </dependency>
732
            <dependency>
733
                <groupId>gnu.trove</groupId>
734
                <artifactId>trove</artifactId>
735
                <version>0.1.8</version>
736
            </dependency>
737
            <dependency>
738
                <groupId>java3d</groupId>
739
                <artifactId>vecmath</artifactId>
740
                <version>1.3.1</version>
741
            </dependency>
742
            <dependency>
743
                <groupId>org.apache</groupId>
744
                <artifactId>xbean</artifactId>
745
                <version>2.2.0</version>
746
            </dependency>
747
            <dependency>
748
                <groupId>xerces</groupId>
749
                <artifactId>xercesImpl</artifactId>
750
                <version>2.5.0</version>
751
            </dependency>
752
            <dependency>
753
                <groupId>xml-apis</groupId>
754
                <artifactId>xml-apis-ext</artifactId>
755
                <version>1.3.04</version>
756
            </dependency>
757
            <dependency>
758
                <groupId>xmlpull</groupId>
759
                <artifactId>xmlpull</artifactId>
760
                <version>1.1.3.1</version>
761
            </dependency>
762
            <dependency>
763
                <groupId>zql</groupId>
764
                <artifactId>zql</artifactId>
765
                <version>unknown</version>
766
            </dependency>
767

    
768
            <!-- External gvSIG projects -->
769

    
770
            <dependency>
771
                <groupId>org.gvsig</groupId>
772
                <artifactId>org.gvsig.jdk.v1_6</artifactId>
773
                <version>1.0.0</version>
774
            </dependency>
775
            <dependency>
776
                <groupId>org.gvsig</groupId>
777
                <artifactId>org.gvsig.jdk.v1_4</artifactId>
778
                <version>1.0.0</version>
779
            </dependency>
780
            <dependency>
781
                <groupId>org.gvsig</groupId>
782
                <artifactId>org.gvsig.tools.lib</artifactId>
783
                <version>${gvsig.tools.version}</version>
784
            </dependency>
785
            <dependency>
786
                <groupId>org.gvsig</groupId>
787
                <artifactId>org.gvsig.tools.lib</artifactId>
788
                <version>${gvsig.tools.version}</version>
789
                <type>test-jar</type>
790
            </dependency>
791
            <dependency>
792
                <groupId>org.gvsig</groupId>
793
                <artifactId>org.gvsig.tools.swing.api</artifactId>
794
                <version>${gvsig.tools.version}</version>
795
            </dependency>
796
            <dependency>
797
                <groupId>org.gvsig</groupId>
798
                <artifactId>org.gvsig.tools.swing.impl</artifactId>
799
                <version>${gvsig.tools.version}</version>
800
            </dependency>
801
           
802
            <dependency>
803
                <groupId>org.gvsig</groupId>
804
                <artifactId>org.gvsig.tools.dynform.api</artifactId>
805
                <version>${gvsig.tools.version}</version>
806
            </dependency>
807
            <dependency>
808
                <groupId>org.gvsig</groupId>
809
                <artifactId>org.gvsig.tools.dynform.spi</artifactId>
810
                <version>${gvsig.tools.version}</version>
811
            </dependency>
812
            <dependency>
813
                <groupId>org.gvsig</groupId>
814
                <artifactId>org.gvsig.tools.dynform.services</artifactId>
815
                <version>${gvsig.tools.version}</version>
816
            </dependency>
817
            <dependency>
818
                <groupId>org.gvsig</groupId>
819
                <artifactId>org.gvsig.tools.dynform.impl</artifactId>
820
                <version>${gvsig.tools.version}</version>
821
            </dependency>
822
            
823
            <dependency>
824
                <groupId>org.gvsig</groupId>
825
                <artifactId>org.gvsig.about.api</artifactId>
826
                <version>${gvsig.about.version}</version>
827
            </dependency>
828
            <dependency>
829
                <groupId>org.gvsig</groupId>
830
                <artifactId>org.gvsig.about.impl</artifactId>
831
                <version>${gvsig.about.version}</version>
832
            </dependency>
833
            <dependency>
834
                <groupId>org.gvsig</groupId>
835
                <artifactId>org.gvsig.catalog</artifactId>
836
                <version>2.0</version>
837
            </dependency>
838
            <dependency>
839
                <groupId>org.gvsig</groupId>
840
                <artifactId>org.gvsig.timesupport.lib.api</artifactId>
841
                <version>${gvsig.timesupport.version}</version>
842
            </dependency>
843
            <dependency>
844
                <groupId>org.gvsig</groupId>
845
                <artifactId>org.gvsig.timesupport.lib.impl</artifactId>
846
                <version>${gvsig.timesupport.version}</version>
847
            </dependency>
848
            <dependency>
849
                <groupId>org.gvsig</groupId>
850
                <artifactId>org.gvsig.timesupport.swing.api</artifactId>
851
                <version>${gvsig.timesupport.version}</version>
852
            </dependency>
853
            <dependency>
854
                <groupId>org.gvsig</groupId>
855
                <artifactId>org.gvsig.timesupport.swing.impl</artifactId>
856
                <version>${gvsig.timesupport.version}</version>
857
            </dependency>
858
            <dependency>
859
                <groupId>org.gvsig.external</groupId>
860
                <artifactId>org.gvsig.external.jump</artifactId>
861
                <version>1.0.0</version>
862
            </dependency>
863
            <dependency>
864
                <groupId>org.gvsig</groupId>
865
                <artifactId>org.gvsig.proj.lib.api</artifactId>
866
                <version>${gvsig.proj.version}</version>
867
            </dependency>
868
            <dependency>
869
                <groupId>org.gvsig</groupId>
870
                <artifactId>org.gvsig.proj.lib.proj4j</artifactId>
871
                <version>${gvsig.proj.version}</version>
872
            </dependency>
873
            <dependency>
874
                <groupId>org.gvsig</groupId>
875
                <artifactId>org.gvsig.proj.swing.api</artifactId>
876
                <version>${gvsig.proj.version}</version>
877
            </dependency>
878
            <dependency>
879
                <groupId>org.gvsig</groupId>
880
                <artifactId>org.gvsig.proj.swing.impl</artifactId>
881
                <version>${gvsig.proj.version}</version>
882
            </dependency>            
883
            <dependency>
884
                <groupId>org.gvsig</groupId>
885
                <artifactId>org.gvsig.projection.api</artifactId>
886
                <version>${gvsig.projection.api.version}</version>
887
            </dependency>
888

    
889
            <!-- Childs projects -->
890

    
891
            <dependency>
892
                <groupId>org.gvsig</groupId>
893
                <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
894
                <version>2.0.47-SNAPSHOT</version>
895
            </dependency>
896
            <dependency>
897
                <groupId>org.gvsig</groupId>
898
                <artifactId>org.gvsig.metadata.lib.basic.impl</artifactId>
899
                <version>2.0.47-SNAPSHOT</version>
900
            </dependency>
901
            <dependency>
902
                <groupId>org.gvsig</groupId>
903
                <artifactId>org.gvsig.metadata.swing.basic.api</artifactId>
904
                <version>2.0.47-SNAPSHOT</version>
905
            </dependency>
906
            <dependency>
907
                <groupId>org.gvsig</groupId>
908
                <artifactId>org.gvsig.metadata.swing.basic.impl</artifactId>
909
                <version>2.0.47-SNAPSHOT</version>
910
            </dependency>
911
            <dependency>
912
                <groupId>org.gvsig</groupId>
913
                <artifactId>org.gvsig.projection.cresques.impl</artifactId>
914
                <version>2.0.47-SNAPSHOT</version>
915
            </dependency>
916
            <dependency>
917
                <groupId>org.gvsig</groupId>
918
                <artifactId>org.gvsig.projection.cresques.ui</artifactId>
919
                <version>2.0.47-SNAPSHOT</version>
920
            </dependency>
921
            <dependency>
922
                <groupId>org.gvsig</groupId>
923
                <artifactId>org.gvsig.andami</artifactId>
924
                <version>2.0.47-SNAPSHOT</version>
925
            </dependency>
926
            <dependency>
927
                <groupId>org.gvsig</groupId>
928
                <artifactId>org.gvsig.app</artifactId>
929
                <version>2.0.47-SNAPSHOT</version>
930
            </dependency>   
931
            <dependency>
932
                <groupId>org.gvsig</groupId>
933
                <artifactId>org.gvsig.ui</artifactId>
934
                <version>2.0.47-SNAPSHOT</version>
935
            </dependency>
936
            <dependency>
937
                <groupId>org.gvsig</groupId>
938
                <artifactId>org.gvsig.fmap.control</artifactId>
939
                <version>2.0.47-SNAPSHOT</version>
940
            </dependency>
941
            <dependency>
942
                <groupId>org.gvsig</groupId>
943
                <artifactId>org.gvsig.fmap.mapcontext.api</artifactId>
944
                <version>2.0.47-SNAPSHOT</version>
945
            </dependency>
946
            <dependency>
947
                <groupId>org.gvsig</groupId>
948
                <artifactId>org.gvsig.fmap.mapcontext.impl</artifactId>
949
                <version>2.0.47-SNAPSHOT</version>
950
            </dependency>
951
            <dependency>
952
                <groupId>org.gvsig</groupId>
953
                <artifactId>org.gvsig.fmap.mapcontext.operation</artifactId>
954
                <version>2.0.47-SNAPSHOT</version>
955
            </dependency>
956
            <dependency>
957
                <groupId>org.gvsig</groupId>
958
                <artifactId>org.gvsig.fmap.dal.api</artifactId>
959
                <version>2.0.47-SNAPSHOT</version>
960
            </dependency>
961
            <dependency>
962
                <groupId>org.gvsig</groupId>
963
                <artifactId>org.gvsig.fmap.dal.spi</artifactId>
964
                <version>2.0.47-SNAPSHOT</version>
965
            </dependency>
966
            <dependency>
967
                <groupId>org.gvsig</groupId>
968
                <artifactId>org.gvsig.fmap.dal.impl</artifactId>
969
                <version>2.0.47-SNAPSHOT</version>
970
            </dependency>
971
            <dependency>
972
                <groupId>org.gvsig</groupId>
973
                <artifactId>org.gvsig.fmap.dal.impl</artifactId>
974
                <version>2.0.47-SNAPSHOT</version>
975
                <type>test-jar</type>
976
                <scope>test</scope>
977
            </dependency>
978
            <dependency>
979
                <groupId>org.gvsig</groupId>
980
                <artifactId>org.gvsig.fmap.dal.db.lib</artifactId>
981
                <version>2.0.47-SNAPSHOT</version>
982
            </dependency>
983
            <dependency>
984
                <groupId>org.gvsig</groupId>
985
                <artifactId>org.gvsig.fmap.dal.db.jdbc</artifactId>
986
                <version>2.0.47-SNAPSHOT</version>
987
            </dependency>
988
            <dependency>
989
                <groupId>org.gvsig</groupId>
990
                <artifactId>org.gvsig.fmap.dal.db.h2</artifactId>
991
                <version>2.0.47-SNAPSHOT</version>
992
            </dependency>
993

    
994
            <dependency>
995
                <groupId>org.gvsig</groupId>
996
                <artifactId>org.gvsig.fmap.dal.file.lib</artifactId>
997
                <version>2.0.47-SNAPSHOT</version>
998
            </dependency>
999
            <dependency>
1000
                <groupId>org.gvsig</groupId>
1001
                <artifactId>org.gvsig.fmap.dal.file.dbf</artifactId>
1002
                <version>2.0.47-SNAPSHOT</version>
1003
            </dependency>
1004
            <dependency>
1005
                <groupId>org.gvsig</groupId>
1006
                <artifactId>org.gvsig.fmap.dal.file.csv</artifactId>
1007
                <version>2.0.47-SNAPSHOT</version>
1008
            </dependency>
1009
            <dependency>
1010
                <groupId>org.gvsig</groupId>
1011
                <artifactId>org.gvsig.fmap.dal.file.shp</artifactId>
1012
                <version>2.0.47-SNAPSHOT</version>
1013
            </dependency>
1014
            <dependency>
1015
                <groupId>org.gvsig</groupId>
1016
                <artifactId>org.gvsig.newlayer.lib.api</artifactId>
1017
                <version>2.0.47-SNAPSHOT</version>
1018
            </dependency>
1019
            <dependency>
1020
                <groupId>org.gvsig</groupId>
1021
                <artifactId>org.gvsig.newlayer.lib.api</artifactId>
1022
                <version>2.0.47-SNAPSHOT</version>
1023
                <type>test-jar</type>
1024
            </dependency>
1025
            <dependency>
1026
                <groupId>org.gvsig</groupId>
1027
                <artifactId>org.gvsig.newlayer.lib.impl</artifactId>
1028
                <version>2.0.47-SNAPSHOT</version>
1029
            </dependency>
1030
            <dependency>
1031
                <groupId>org.gvsig</groupId>
1032
                <artifactId>org.gvsig.newlayer.prov.generic</artifactId>
1033
                <version>2.0.46-SNAPSHOT</version>
1034
            </dependency> 
1035
            <dependency>
1036
                <groupId>org.gvsig</groupId>
1037
                <artifactId>org.gvsig.newlayer.prov.file</artifactId>
1038
                <version>2.0.47-SNAPSHOT</version>
1039
            </dependency> 
1040
            <dependency>
1041
                <groupId>org.gvsig</groupId>
1042
                <artifactId>org.gvsig.newlayer.prov.shape</artifactId>
1043
                <version>2.0.47-SNAPSHOT</version>
1044
            </dependency> 
1045
            <dependency>
1046
                <groupId>org.gvsig</groupId>
1047
                <artifactId>org.gvsig.symbology.lib.api</artifactId>
1048
                <version>2.0.47-SNAPSHOT</version>
1049
            </dependency>
1050
            <dependency>
1051
                <groupId>org.gvsig</groupId>
1052
                <artifactId>org.gvsig.symbology.lib.impl</artifactId>
1053
                <version>2.0.47-SNAPSHOT</version>
1054
            </dependency>
1055
            <dependency>
1056
                <groupId>org.gvsig</groupId>
1057
                <artifactId>org.gvsig.symbology.swing.api</artifactId>
1058
                <version>2.0.47-SNAPSHOT</version>
1059
            </dependency>
1060
            <dependency>
1061
                <groupId>org.gvsig</groupId>
1062
                <artifactId>org.gvsig.symbology.swing.impl</artifactId>
1063
                <version>2.0.47-SNAPSHOT</version>
1064
            </dependency>
1065
            <dependency>
1066
                <groupId>org.gvsig</groupId>
1067
                <artifactId>org.gvsig.fmap.geometry.api</artifactId>
1068
                <version>2.0.47-SNAPSHOT</version>
1069
            </dependency>
1070
            <dependency>
1071
                <groupId>org.gvsig</groupId>
1072
                <artifactId>org.gvsig.fmap.geometry.impl</artifactId>
1073
                <version>2.0.47-SNAPSHOT</version>
1074
            </dependency>
1075
            <dependency>
1076
                <groupId>org.gvsig</groupId>
1077
                <artifactId>org.gvsig.fmap.geometry.operation</artifactId>
1078
                <version>2.0.47-SNAPSHOT</version>
1079
            </dependency>
1080
            <dependency>
1081
                <groupId>org.gvsig</groupId>
1082
                <artifactId>org.gvsig.tools.evaluator.sqljep</artifactId>
1083
                <version>2.0.47-SNAPSHOT</version>
1084
            </dependency>
1085
            <dependency>
1086
                <groupId>org.gvsig</groupId>
1087
                <artifactId>org.gvsig.compat.api</artifactId>
1088
                <version>2.0.47-SNAPSHOT</version>
1089
            </dependency>
1090
            <dependency>
1091
                <groupId>org.gvsig</groupId>
1092
                <artifactId>org.gvsig.compat.se</artifactId>
1093
                <version>2.0.47-SNAPSHOT</version>
1094
            </dependency>
1095
            <dependency>
1096
                <groupId>org.gvsig</groupId>
1097
                <artifactId>org.gvsig.remoteclient</artifactId>
1098
                <version>2.0.47-SNAPSHOT</version>
1099
            </dependency>
1100
            <dependency>
1101
                <groupId>org.gvsig</groupId>
1102
                <artifactId>org.gvsig.i18n</artifactId>
1103
                <version>2.0.47-SNAPSHOT</version>
1104
            </dependency>
1105
            <dependency>
1106
                <groupId>org.gvsig</groupId>
1107
                <artifactId>org.gvsig.utils</artifactId>
1108
                <version>2.0.47-SNAPSHOT</version>
1109
            </dependency>
1110
            <dependency>
1111
                <groupId>org.gvsig</groupId>
1112
                <artifactId>org.gvsig.annotation.lib.api</artifactId>
1113
                <version>2.0.47-SNAPSHOT</version>
1114
            </dependency> 
1115
            <dependency>
1116
                <groupId>org.gvsig</groupId>
1117
                <artifactId>org.gvsig.annotation.lib.impl</artifactId>
1118
                <version>2.0.47-SNAPSHOT</version>
1119
            </dependency>  
1120
            <dependency>
1121
                <groupId>org.gvsig</groupId>
1122
                <artifactId>org.gvsig.annotation.swing.api</artifactId>
1123
                <version>2.0.47-SNAPSHOT</version>
1124
            </dependency>
1125
            <dependency>
1126
                <groupId>org.gvsig</groupId>
1127
                <artifactId>org.gvsig.annotation.swing.impl</artifactId>
1128
                <version>2.0.47-SNAPSHOT</version>
1129
            </dependency>
1130
            <dependency>
1131
                <groupId>org.gvsig</groupId>
1132
                <artifactId>org.gvsig.exportto.lib.api</artifactId>
1133
                <version>2.0.47-SNAPSHOT</version>
1134
            </dependency>
1135
            <dependency>
1136
                <groupId>org.gvsig</groupId>
1137
                <artifactId>org.gvsig.exportto.lib.api</artifactId>
1138
                <version>2.0.47-SNAPSHOT</version>
1139
                <type>test-jar</type>
1140
            </dependency>
1141
            <dependency>
1142
                <groupId>org.gvsig</groupId>
1143
                <artifactId>org.gvsig.exportto.lib.impl</artifactId>
1144
                <version>2.0.47-SNAPSHOT</version>
1145
            </dependency>
1146
            <dependency>
1147
                <groupId>org.gvsig</groupId>
1148
                <artifactId>org.gvsig.exportto.swing.api</artifactId>
1149
                <version>2.0.47-SNAPSHOT</version>
1150
            </dependency>
1151
            <dependency>
1152
                <groupId>org.gvsig</groupId>
1153
                <artifactId>org.gvsig.exportto.swing.spi</artifactId>
1154
                <version>2.0.47-SNAPSHOT</version>
1155
            </dependency>
1156
            <dependency>
1157
                <groupId>org.gvsig</groupId>
1158
                <artifactId>org.gvsig.exportto.swing.impl</artifactId>
1159
                <version>2.0.47-SNAPSHOT</version>
1160
            </dependency>
1161
            <dependency>
1162
                <groupId>org.gvsig</groupId>
1163
                <artifactId>org.gvsig.exportto.swing.prov.generic</artifactId>
1164
                <version>2.0.46-SNAPSHOT</version>
1165
            </dependency>
1166
            <dependency>
1167
                <groupId>org.gvsig</groupId>
1168
                <artifactId>org.gvsig.exportto.swing.prov.file</artifactId>
1169
                <version>2.0.47-SNAPSHOT</version>
1170
            </dependency>
1171
            <dependency>
1172
                <groupId>org.gvsig</groupId>
1173
                <artifactId>org.gvsig.exportto.swing.prov.jdbc</artifactId>
1174
                <version>2.0.47-SNAPSHOT</version>
1175
            </dependency>
1176
            <dependency>
1177
                <groupId>org.gvsig</groupId>
1178
                <artifactId>org.gvsig.exportto.swing.prov.shape</artifactId>
1179
                <version>2.0.47-SNAPSHOT</version>
1180
            </dependency>
1181
            <dependency>
1182
                <groupId>org.gvsig</groupId>
1183
                <artifactId>org.gvsig.exportto.swing.prov.dxf</artifactId>
1184
                <version>2.0.47-SNAPSHOT</version>
1185
            </dependency>
1186
            <dependency>
1187
                <groupId>org.gvsig</groupId>
1188
                <artifactId>org.gvsig.exportto.swing.prov.dbf</artifactId>
1189
                <version>2.0.47-SNAPSHOT</version>
1190
            </dependency>
1191
            <dependency>
1192
                <groupId>org.gvsig</groupId>
1193
                <artifactId>org.gvsig.exportto.swing.prov.postgresql</artifactId>
1194
                <version>2.0.47-SNAPSHOT</version>
1195
            </dependency>
1196
            <dependency>
1197
                <groupId>org.gvsig</groupId>
1198
                <artifactId>org.gvsig.exportto.swing.prov.mysql</artifactId>
1199
                <version>2.0.47-SNAPSHOT</version>
1200
            </dependency>
1201
            <dependency>
1202
                <groupId>org.gvsig</groupId>
1203
                <artifactId>org.gvsig.personaldb.lib.api</artifactId>
1204
                <version>2.0.47-SNAPSHOT</version>
1205
            </dependency>
1206
            <dependency>
1207
                <groupId>org.gvsig</groupId>
1208
                <artifactId>org.gvsig.personaldb.lib.api</artifactId>
1209
                <version>2.0.47-SNAPSHOT</version>
1210
                <type>test-jar</type>
1211
                <scope>test</scope>
1212
            </dependency>
1213
            <dependency>
1214
                <groupId>org.gvsig</groupId>
1215
                <artifactId>org.gvsig.personaldb.lib.impl</artifactId>
1216
                <version>2.0.47-SNAPSHOT</version>
1217
            </dependency>
1218
            <dependency>
1219
                <groupId>org.gvsig</groupId>
1220
                <artifactId>org.gvsig.installer.swing.api</artifactId>
1221
                <version>2.0.47-SNAPSHOT</version>
1222
            </dependency>
1223
            <dependency>
1224
                <groupId>org.gvsig</groupId>
1225
                <artifactId>org.gvsig.installer.swing.impl</artifactId>
1226
                <version>2.0.47-SNAPSHOT</version>
1227
            </dependency>
1228
            <dependency>
1229
                <groupId>org.gvsig</groupId>
1230
                <artifactId>org.gvsig.installer.lib.api</artifactId>
1231
                <version>2.0.47-SNAPSHOT</version>
1232
            </dependency>
1233
            <dependency>
1234
                <groupId>org.gvsig</groupId>
1235
                <artifactId>org.gvsig.installer.lib.spi</artifactId>
1236
                <version>2.0.47-SNAPSHOT</version>
1237
            </dependency>
1238
            <dependency>
1239
                <groupId>org.gvsig</groupId>
1240
                <artifactId>org.gvsig.installer.lib.impl</artifactId>
1241
                <version>2.0.47-SNAPSHOT</version>
1242
            </dependency>
1243
            <dependency>
1244
                <groupId>org.gvsig</groupId>
1245
                <artifactId>org.gvsig.installer.prov.plugin</artifactId>
1246
                <version>2.0.47-SNAPSHOT</version>
1247
            </dependency>
1248
            <dependency>
1249
                <groupId>org.gvsig</groupId>
1250
                <artifactId>org.gvsig.geodb.app.mainplugin</artifactId>
1251
                <version>2.0.47-SNAPSHOT</version>
1252
            </dependency>
1253

    
1254
            <dependency>
1255
                <groupId>org.gvsig</groupId>
1256
                <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
1257
                <version>2.0.47-SNAPSHOT</version>
1258
            </dependency>  
1259
            <dependency>
1260
                <groupId>org.gvsig</groupId>
1261
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1262
                <version>2.0.47-SNAPSHOT</version>
1263
            </dependency>  
1264
            <dependency>
1265
                <groupId>org.gvsig</groupId>
1266
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1267
                <version>2.0.47-SNAPSHOT</version>
1268
                <type>test-jar</type>
1269
                <scope>test</scope>
1270
            </dependency>  
1271
            <dependency>
1272
                <groupId>org.gvsig</groupId>
1273
                <artifactId>org.gvsig.daltransform.app.join</artifactId>
1274
                <version>2.0.47-SNAPSHOT</version>
1275
            </dependency>  
1276
            <dependency>
1277
                <groupId>org.gvsig</groupId>
1278
                <artifactId>org.gvsig.daltransform.app.eventtheme</artifactId>
1279
                <version>2.0.47-SNAPSHOT</version>
1280
            </dependency>  
1281

    
1282
            <dependency>
1283
                <groupId>org.gvsig</groupId>
1284
                <artifactId>org.gvsig.app.mainplugin</artifactId>
1285
                <version>2.0.47-SNAPSHOT</version>
1286
                <scope>provided</scope>
1287
            </dependency>
1288
            <dependency>
1289
                <groupId>org.gvsig</groupId>
1290
                <artifactId>org.gvsig.annotation.app.mainplugin</artifactId>
1291
                <version>2.0.47-SNAPSHOT</version>
1292
                <scope>provided</scope>
1293
            </dependency>
1294
            <dependency>
1295
                <groupId>org.gvsig</groupId>
1296
                <artifactId>org.gvsig.centerviewpoint.app.mainplugin</artifactId>
1297
                <version>2.0.47-SNAPSHOT</version>
1298
                <scope>provided</scope>
1299
            </dependency>
1300
            <dependency>
1301
                <groupId>org.gvsig</groupId>
1302
                <artifactId>org.gvsig.coreplugin.app.mainplugin</artifactId>
1303
                <version>2.0.47-SNAPSHOT</version>
1304
                <scope>provided</scope>
1305
            </dependency>
1306
            <dependency>
1307
                <groupId>org.gvsig</groupId>
1308
                <artifactId>org.gvsig.datalocator.app.mainplugin</artifactId>
1309
                <version>2.0.47-SNAPSHOT</version>
1310
                <scope>provided</scope>
1311
            </dependency>
1312
            <dependency>
1313
                <groupId>org.gvsig</groupId>
1314
                <artifactId>org.gvsig.editing.app.mainplugin</artifactId>
1315
                <version>2.0.47-SNAPSHOT</version>
1316
                <scope>provided</scope>
1317
            </dependency>
1318
            <dependency>
1319
                <groupId>org.gvsig</groupId>
1320
                <artifactId>org.gvsig.exportto.app.mainplugin</artifactId>
1321
                <version>2.0.47-SNAPSHOT</version>
1322
                <scope>provided</scope>
1323
            </dependency>
1324
            <dependency>
1325
                <groupId>org.gvsig</groupId>
1326
                <artifactId>org.gvsig.mkmvnproject.app.mainplugin</artifactId>
1327
                <version>2.0.47-SNAPSHOT</version>
1328
                <scope>provided</scope>
1329
            </dependency>
1330
            <dependency>
1331
                <groupId>org.gvsig</groupId>
1332
                <artifactId>org.gvsig.installer.app.mainplugin</artifactId>
1333
                <version>2.0.47-SNAPSHOT</version>
1334
                <scope>provided</scope>
1335
            </dependency>
1336
            <!--
1337
                      <dependency>
1338
                        <groupId>org.gvsig</groupId>
1339
                        <artifactId>org.gvsig.symbology.app.mainplugin</artifactId>
1340
                        <version>2.0.10-SNAPSHOT</version>
1341
                        <scope>provided</scope>
1342
                      </dependency>
1343
            -->
1344
            <dependency>
1345
                <groupId>org.gvsig</groupId>
1346
                <artifactId>org.gvsig.i18n.app.mainplugin</artifactId>
1347
                <version>2.0.47-SNAPSHOT</version>
1348
                <scope>provided</scope>
1349
            </dependency>
1350
            <dependency>
1351
                <groupId>org.gvsig</groupId>
1352
                <artifactId>org.gvsig.selectiontools.app.mainplugin</artifactId>
1353
                <version>2.0.47-SNAPSHOT</version>
1354
                <scope>provided</scope>
1355
            </dependency>
1356
            <dependency>
1357
                <groupId>org.gvsig</groupId>
1358
                <artifactId>org.gvsig.geometrymeasurement.app.mainplugin</artifactId>
1359
                <version>2.0.47-SNAPSHOT</version>
1360
                <scope>provided</scope>
1361
            </dependency>
1362
            <dependency>
1363
                <groupId>org.gvsig</groupId>
1364
                <artifactId>org.gvsig.newlayer.app.mainplugin</artifactId>
1365
                <version>2.0.47-SNAPSHOT</version>
1366
                <scope>provided</scope>
1367
            </dependency>
1368
            <dependency>
1369
                <groupId>org.gvsig</groupId>
1370
                <artifactId>org.gvsig.help.app.mainplugin</artifactId>
1371
                <version>2.0.24-SNAPSHOT</version>
1372
                <scope>provided</scope>
1373
            </dependency>
1374

    
1375
        </dependencies>
1376
    </dependencyManagement>
1377

    
1378
    <dependencies>
1379
        <dependency>
1380
            <groupId>junit</groupId>
1381
            <artifactId>junit</artifactId>
1382
            <scope>test</scope>
1383
        </dependency>
1384
    </dependencies>
1385

    
1386
    <build>
1387
        <extensions>
1388
            <extension>
1389
                <groupId>org.apache.maven.wagon</groupId>
1390
                <artifactId>wagon-webdav-jackrabbit</artifactId>
1391
                <version>2.4</version>
1392
            </extension>
1393
        </extensions>
1394

    
1395
        <pluginManagement>
1396
            <plugins>
1397

    
1398
                <plugin>
1399
                    <groupId>org.apache.maven.plugins</groupId>
1400
                    <artifactId>maven-scm-plugin</artifactId>
1401
                    <version>1.9</version>
1402
                    <configuration>
1403
                        <connectionType>connection</connectionType>
1404
                    </configuration>
1405
                </plugin>
1406
                    
1407
                <plugin>
1408
                    <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
1409
                    <groupId>org.eclipse.m2e</groupId>
1410
                    <artifactId>lifecycle-mapping</artifactId>
1411
                    <version>1.0.0</version>
1412
                    <configuration>
1413
                        <lifecycleMappingMetadata>
1414
                            <pluginExecutions>
1415
                                <pluginExecution>
1416
                                    <pluginExecutionFilter>
1417
                                        <groupId>org.gvsig</groupId>
1418
                                        <artifactId> org.gvsig.installer.maven </artifactId>
1419
                                        <versionRange> [2.0.10-SNAPSHOT,) </versionRange>
1420
                                        <goals>
1421
                                            <goal>write-info</goal>
1422
                                        </goals>
1423
                                    </pluginExecutionFilter>
1424
                                    <action>
1425
                                        <ignore />
1426
                                    </action>
1427
                                </pluginExecution>
1428
                                <pluginExecution>
1429
                                    <pluginExecutionFilter>
1430
                                        <groupId> org.codehaus.mojo </groupId>
1431
                                        <artifactId> properties-maven-plugin </artifactId>
1432
                                        <versionRange> [1.0-alpha-2,) </versionRange>
1433
                                        <goals>
1434
                                            <goal>
1435
                                                read-project-properties
1436
                                            </goal>
1437
                                        </goals>
1438
                                    </pluginExecutionFilter>
1439
                                    <action>
1440
                                        <ignore />
1441
                                    </action>
1442
                                </pluginExecution>
1443
                                <pluginExecution>
1444
                                    <pluginExecutionFilter>
1445
                                        <groupId>org.codehaus.gmaven</groupId>
1446
                                        <artifactId>gmaven-plugin</artifactId>
1447
                                        <versionRange>[1.4,)</versionRange>
1448
                                        <goals>
1449
                                            <goal>execute</goal>
1450
                                        </goals>
1451
                                    </pluginExecutionFilter>
1452
                                    <action>
1453
                                        <ignore />
1454
                                    </action>
1455
                                </pluginExecution>
1456
                                <pluginExecution>
1457
                                    <pluginExecutionFilter>
1458
                                        <groupId>org.apache.maven.plugins</groupId>
1459
                                        <artifactId>
1460
                                            maven-dependency-plugin
1461
                                        </artifactId>
1462
                                        <versionRange>[2.1,)</versionRange>
1463
                                        <goals>
1464
                                            <goal>unpack</goal>
1465
                                        </goals>
1466
                                    </pluginExecutionFilter>
1467
                                    <action>
1468
                                        <ignore />
1469
                                    </action>
1470
                                </pluginExecution>
1471
                            </pluginExecutions>
1472
                        </lifecycleMappingMetadata>
1473
                    </configuration>
1474
                </plugin>
1475

    
1476
                <plugin>
1477
                    <groupId>org.apache.maven.plugins</groupId>
1478
                    <artifactId>maven-compiler-plugin</artifactId>
1479
                    <version>2.3.2</version>
1480
                    <configuration>
1481
                        <source>1.5</source>
1482
                        <target>1.5</target>
1483
                        <encoding>ISO-8859-1</encoding>
1484
                    </configuration>
1485
                </plugin>
1486

    
1487
                <plugin>
1488
                    <groupId>org.apache.maven.plugins</groupId>
1489
                    <artifactId>maven-resources-plugin</artifactId>
1490
                    <version>2.4.3</version>
1491
                    <configuration>
1492
                        <encoding>ISO-8859-1</encoding>
1493
                    </configuration>
1494
                </plugin>
1495

    
1496
                <plugin>
1497
                    <groupId>org.apache.maven.plugins</groupId>
1498
                    <artifactId>maven-eclipse-plugin</artifactId>
1499
                    <configuration>
1500
                        <downloadSources>true</downloadSources>
1501
                        <downloadJavadocs>true</downloadJavadocs>
1502
                        <projectNameTemplate>${project.artifactId}</projectNameTemplate>
1503
                    </configuration>
1504
                </plugin>
1505

    
1506
                <plugin>
1507
                    <groupId>org.apache.maven.plugins</groupId>
1508
                    <artifactId>maven-surefire-plugin</artifactId>
1509
                    <version>2.7.1</version>
1510
                    <configuration>
1511
                        <forkMode>once</forkMode>
1512
                        <environmentVariables>
1513
                            <DYLD_FRAMEWORK_PATH>${user.home}/.depman/Frameworks</DYLD_FRAMEWORK_PATH>
1514
                            <DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH>
1515
                            <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA>
1516
                            <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
1517
                            <PATH>${user.home}/.depman/bin${path.separator}${env.PATH}</PATH>
1518
                            <PROJ_LIB>${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB>
1519
                        </environmentVariables>
1520
                    </configuration>
1521
                </plugin>
1522

    
1523
                <plugin>
1524
                    <groupId>org.apache.maven.plugins</groupId>
1525
                    <artifactId>maven-failsafe-plugin</artifactId>
1526
                    <executions>
1527
                        <execution>
1528
                            <goals>
1529
                                <goal>integration-test</goal>
1530
                                <goal>verify</goal>
1531
                            </goals>
1532
                        </execution>
1533
                    </executions>
1534
                    <configuration>
1535
                        <forkMode>once</forkMode>
1536
                        <environmentVariables>
1537
                            <DYLD_FRAMEWORK_PATH>${user.home}/.depman/Frameworks</DYLD_FRAMEWORK_PATH>
1538
                            <DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH>
1539
                            <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA>
1540
                            <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
1541
                            <PATH>${user.home}/.depman/bin${path.separator}${env.PATH}</PATH>
1542
                            <PROJ_LIB>${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB>
1543
                        </environmentVariables>
1544
                    </configuration>
1545
                </plugin>
1546

    
1547
                <plugin>
1548
                    <groupId>org.apache.maven.plugins</groupId>
1549
                    <artifactId>maven-javadoc-plugin</artifactId>
1550
                    <version>2.9</version>
1551
                    <configuration>
1552
                        <docTitle>${project.name} ${project.version}</docTitle>
1553
                        <encoding>ISO-8859-1</encoding>
1554
                        <footer />
1555
                        <header />
1556
                        <keywords>false</keywords>
1557
                        <!-- Don't include the deprecateds items in the javadoc -->
1558
                        <nodeprecated>true</nodeprecated>
1559
                        <!-- Don't generate javadoc of project with submodules -->
1560
                        <aggregate>false</aggregate>
1561
                        <!-- Removed detection of links due to its high cost -->
1562
                        <detectJavaApiLink>false</detectJavaApiLink>
1563
                        <detectLinks>false</detectLinks>
1564
                        <detectOfflineLinks>false</detectOfflineLinks>
1565
                        <!-- Removed the inclusion of dependencies sources due to their high cost -->
1566
                        <includeDependencySources>false</includeDependencySources>
1567
                        <includeTransitiveDependencySources>false</includeTransitiveDependencySources>                  
1568
                        <javaApiLinks>
1569
                            <property>
1570
                                <name>api_1.4</name>
1571
                                <value>http://download.oracle.com/javase/1.4.2/docs/api/</value>
1572
                            </property>
1573
                            <property>
1574
                                <name>api_1.5</name>
1575
                                <value>http://download.oracle.com/javase/1.5.0/docs/api/</value>
1576
                            </property>
1577
                            <property>
1578
                                <name>api_1.6</name>
1579
                                <value>http://download.oracle.com/javase/6/docs/api/</value>
1580
                            </property>
1581
                        </javaApiLinks>
1582
                    </configuration>
1583
                </plugin>
1584

    
1585
                <plugin>
1586
                    <groupId>org.apache.maven.plugins</groupId>
1587
                    <artifactId>maven-site-plugin</artifactId>
1588
                    <version>3.3</version>
1589
                    <configuration>
1590
                        <chmod>true</chmod>
1591
                        <chmodMode>a+rwX</chmodMode>
1592
                    </configuration>
1593
                </plugin>
1594

    
1595
                <plugin>
1596
                    <groupId>org.apache.maven.plugins</groupId>
1597
                    <artifactId>maven-jar-plugin</artifactId>
1598
                    <version>2.3.1</version>
1599
                    <configuration>
1600
                        <archive>
1601
                            <manifestEntries>
1602
                                <Built-By>gvSIG Team</Built-By>
1603
                            </manifestEntries>
1604
                        </archive>
1605
                    </configuration>
1606
                </plugin>
1607
          
1608
                <plugin>
1609
                    <groupId>org.codehaus.mojo</groupId>
1610
                    <artifactId>properties-maven-plugin</artifactId>
1611
                    <version>1.0-alpha-2</version>
1612
                </plugin>
1613
  
1614
                <plugin>
1615
                    <groupId>org.apache.maven.plugins</groupId>
1616
                    <artifactId>maven-antrun-plugin</artifactId>
1617
                    <version>1.7</version>
1618
                </plugin>
1619

    
1620
                <plugin>
1621
                    <groupId>org.codehaus.mojo</groupId>
1622
                    <artifactId>animal-sniffer-maven-plugin</artifactId>
1623
                    <version>1.9</version>
1624
                </plugin>
1625

    
1626
                <plugin>
1627
                    <groupId>org.apache.maven.plugins</groupId>
1628
                    <artifactId>maven-release-plugin</artifactId>
1629
                    <version>2.4.1</version>
1630
                </plugin>
1631

    
1632
                <plugin>
1633
                    <groupId>org.apache.maven.plugins</groupId>
1634
                    <artifactId>maven-deploy-plugin</artifactId>
1635
                    <version>2.6</version>
1636
                </plugin>
1637

    
1638
                <plugin>
1639
                    <artifactId>maven-assembly-plugin</artifactId>
1640
                    <version>2.4</version>
1641
                    <executions>
1642
                        <execution>
1643
                            <id>gvsig-plugin-package</id>
1644
                            <phase>package</phase>
1645
                            <configuration>
1646
                                <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
1647
                                <appendAssemblyId>false</appendAssemblyId>
1648
                                <finalName>gvSIG-desktop-${gvsig.package.info.gvSIGVersion}-${gvsig.package.info.code}-${gvsig.package.info.version}-${buildNumber}-${gvsig.package.info.state}-${gvsig.package.info.operatingSystem}-${gvsig.package.info.architecture}-${gvsig.package.info.javaVM}.gvspkg</finalName>
1649
                                <descriptors>
1650
                                    <descriptor>src/main/assembly/gvsig-plugin-package.xml</descriptor>
1651
                                </descriptors>
1652
                            </configuration>
1653
                        </execution>
1654
                    </executions>
1655
                </plugin>
1656

    
1657
                <plugin>
1658
                    <groupId>org.apache.maven.plugins</groupId>
1659
                    <artifactId>maven-clean-plugin</artifactId>
1660
                    <version>2.4.1</version>
1661
                </plugin>
1662
          
1663
                <plugin>
1664
                    <groupId>org.codehaus.mojo</groupId>
1665
                    <artifactId>exec-maven-plugin</artifactId>
1666
                    <version>1.2</version>
1667
                </plugin>    
1668

    
1669
                <plugin>
1670
                    <!-- invoke as "mvn license:format" to fix the header -->
1671
                    <!-- invoke as "mvn license:check" to check the header -->
1672
                    <!-- See http://code.google.com/p/maven-license-plugin/wiki/Configuration -->
1673
                    <groupId>com.mycila.maven-license-plugin</groupId>
1674
                    <artifactId>maven-license-plugin</artifactId>
1675
                    <version>1.10.b1</version>
1676
                    <configuration>
1677
                        <header>header.txt</header>
1678
                        <failIfMissing>false</failIfMissing>
1679
                        <aggregate>false</aggregate>
1680
                        <strictCheck>true</strictCheck>
1681
                        <encoding>ISO-8859-1</encoding>
1682
                        <quiet>false</quiet>
1683
                        <excludes>
1684
                            <exclude>**/*.properties</exclude>
1685
                            <exclude>**/*.txt</exclude>
1686
                            <exclude>**/*.jpg</exclude>
1687
                            <exclude>**/*.jpeg</exclude>
1688
                            <exclude>**/*.svg</exclude>
1689
                            <exclude>**/*.png</exclude>
1690
                            <exclude>**/*.gvssym</exclude>
1691
                            <exclude>**/*.def</exclude>
1692
                            <exclude>**/*.msg</exclude>
1693
                        </excludes>
1694
                    </configuration>
1695
                    <dependencies>
1696
                        <dependency>
1697
                            <groupId>org.gvsig</groupId>
1698
                            <artifactId>org.gvsig.desktop.buildtools</artifactId>
1699
                            <version>1.0.0</version>
1700
                        </dependency>
1701
                    </dependencies>
1702
                </plugin>    
1703

    
1704
                <!-- Habria que ver si es posible sustituir el plugin -->
1705
                <!-- com.mycila.maven-license-plugin:maven-license-plugin por este -->
1706
                <!-- Ver http://mojo.codehaus.org/license-maven-plugin/index.html -->
1707
                <!--
1708
                <plugin>
1709
                    <groupId>org.codehaus.mojo</groupId>
1710
                    <artifactId>license-maven-plugin</artifactId>
1711
                    <version>1.5</version>
1712
                </plugin>
1713
                -->
1714

    
1715
                <plugin>
1716
                    <groupId>org.apache.maven.plugins</groupId>
1717
                    <artifactId>maven-checkstyle-plugin</artifactId>
1718
                    <version>2.10</version>
1719
                </plugin>
1720

    
1721
                <plugin>
1722
                    <groupId>org.apache.maven.plugins</groupId>
1723
                    <artifactId>maven-source-plugin</artifactId>
1724
                    <version>2.2.1</version>
1725
                </plugin>
1726

    
1727
                <plugin>
1728
                    <groupId>org.codehaus.gmaven</groupId>
1729
                    <artifactId>gmaven-plugin</artifactId>
1730
                    <version>1.4</version>
1731
                    <dependencies>
1732
                        <dependency>
1733
                            <groupId>com.github.lookfirst</groupId>
1734
                            <artifactId>sardine</artifactId>
1735
                            <version>5.0.1</version>
1736
                        </dependency>
1737
                    </dependencies>
1738
                    <executions>
1739

    
1740
                        <execution>
1741
                            <id>increase-build-number</id>
1742
                            <phase>process-sources</phase>
1743
                            <configuration>
1744
                                <source><![CDATA[
1745
                    // use "mvn -Dincrease-build-number process-sources"
1746
                    if( project.properties["increase-build-number"] == null ) {
1747
                      log.info("Don't increment build number use flag '-Dincrease-build-number' to increment it.")
1748
                    } else {
1749
                      File file = new File(project.basedir,"buildNumber.properties")
1750
                      if( ! file.exists() ) {
1751
                          log.info("Skip increment build number (buildNumber.property not present).")
1752
                        } else {
1753
                        Properties props = new Properties()
1754
                        
1755
                        props.load(file.newDataInputStream())
1756
                        value = (props.getProperty("buildNumber") as int) + 1
1757
                        props.setProperty("buildNumber",value as String)
1758
                        props.store(file.newWriter(), null)
1759
                        log.info("Setting build number to " + value)
1760
                      }
1761
                    }
1762
                  ]]></source>
1763
                            </configuration>
1764
                        </execution>
1765

    
1766
                        <execution>
1767
                            <id>build-package-info</id>
1768
                            <phase>prepare-package</phase>
1769
                            <configuration>
1770
                                <source><![CDATA[
1771
                      if( project.properties["buildNumber"] == null) {
1772
                        log.info("Skip build package.info (buildNumber.property not present).")
1773
                        log.info("Skip build package.info index (buildNumber.property not present).")
1774
                      } else {
1775
                                                poolURL = project.properties["gvsig.package.info.poolURL"];
1776
                                                if( poolURL[-1] != "/" ) { 
1777
                                                        poolURL = poolURL + "/";
1778
                                                }
1779
                        package_info_file  = new File(project.basedir, "target/package.info")
1780
                        log.info("Building package.info : " + package_info_file.getAbsolutePath())
1781
                        Properties props = new Properties()
1782
                        props.setProperty('code', project.properties["gvsig.package.info.code"])
1783
                        props.setProperty('code-alias', project.properties["gvsig.package.info.codealias"])
1784
                        props.setProperty('name', project.properties["gvsig.package.info.name"])
1785
                        props.setProperty('version', project.properties["gvsig.package.info.version"])
1786
                        props.setProperty('description', project.properties["gvsig.package.info.description"])
1787
                        props.setProperty('owner', project.properties["gvsig.package.info.owner"])
1788
                        props.setProperty('java-version', project.properties["gvsig.package.info.javaVM"])
1789
                        props.setProperty('official', project.properties["gvsig.package.info.official"])
1790
                        props.setProperty('type', "plugin")
1791
                        props.setProperty('state', project.properties["gvsig.package.info.state"])
1792
                        props.setProperty('operating-system', project.properties["gvsig.package.info.operatingSystem"])
1793
                        props.setProperty('dependencies', project.properties["gvsig.package.info.dependencies"])
1794
                        props.setProperty('sources-url', project.properties["gvsig.package.info.sourcesURL"])
1795
                        props.setProperty('web-url', project.properties["gvsig.package.info.webURL"])
1796
                        props.setProperty('architecture', project.properties["gvsig.package.info.architecture"])
1797
                        props.setProperty('model-version', '1.0.1')
1798
                        props.setProperty('categories', project.properties["gvsig.package.info.categories"])
1799
                        props.setProperty('buildNumber', project.properties["buildNumber"])
1800
                        props.setProperty('gvSIG-version', project.properties["gvsig.package.info.gvSIGVersion"])
1801

    
1802
                        props.store(package_info_file.newWriter(), null)
1803

    
1804
                        pkgname = "gvSIG-desktop-" + 
1805
                          project.properties["gvsig.package.info.gvSIGVersion"] + "-" + 
1806
                          project.properties["gvsig.package.info.code"] + "-" + 
1807
                          project.properties["gvsig.package.info.version"] + "-" + 
1808
                          project.properties["buildNumber"] + "-" + 
1809
                          project.properties["gvsig.package.info.state"] + "-" + 
1810
                          project.properties["gvsig.package.info.operatingSystem"] + "-" + 
1811
                          project.properties["gvsig.package.info.architecture"] + "-" + 
1812
                          project.properties["gvsig.package.info.javaVM"]
1813
                        package_info_file  = new File(project.basedir, "target/gvspki/"+project.properties["gvsig.package.info.code"]+"/package.info")
1814
                        log.info("Building package.info index " + package_info_file.getAbsolutePath())
1815
                        package_info_file.getParentFile().mkdirs()
1816
                        props.setProperty('download-url', 
1817
                          poolURL +
1818
                          project.properties["gvsig.package.info.code"] + "/" +
1819
                          pkgname + ".gvspkg"
1820
                        )
1821
                        props.store(package_info_file.newWriter(), null)
1822
                      }
1823
                  ]]></source>
1824
                            </configuration>
1825
                        </execution>
1826

    
1827
                        <execution>
1828
                            <id>build-package-index</id>
1829
                            <phase>package</phase>
1830
                            <configuration>
1831
                                <source><![CDATA[
1832
                    ant = new AntBuilder()
1833
                    if( project.properties["buildNumber"] == null) {
1834
                      log.info("Skip building package index (buildNumber.property not present).")
1835
                    } else {
1836
                      pkgname = "gvSIG-desktop-" + 
1837
                        project.properties["gvsig.package.info.gvSIGVersion"] + "-" + 
1838
                        project.properties["gvsig.package.info.code"] + "-" + 
1839
                        project.properties["gvsig.package.info.version"] + "-" + 
1840
                        project.properties["buildNumber"] + "-" + 
1841
                        project.properties["gvsig.package.info.state"] + "-" + 
1842
                        project.properties["gvsig.package.info.operatingSystem"] + "-" + 
1843
                        project.properties["gvsig.package.info.architecture"] + "-" + 
1844
                        project.properties["gvsig.package.info.javaVM"]
1845

    
1846
                      log.info("Building package index " + pkgname + ".gvspki")
1847
                      package_index_source  = project.basedir.getAbsolutePath() + "/target/gvspki"
1848
                      package_index_target  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1849
                      ant.zip(destfile: package_index_target, basedir: package_index_source)
1850
                    }
1851
                  ]]></source>
1852
                            </configuration>
1853
                        </execution>
1854

    
1855
                        <execution>
1856
                            <id>install-plugin</id>
1857
                            <phase>install</phase>
1858
                            <configuration>
1859
                                <source><![CDATA[
1860
                    if( project.properties["buildNumber"] == null) {
1861
                      log.info("Skip install package (buildNumber.property not present).")
1862
                    } else {                    
1863
                      ant = new AntBuilder()
1864
                      pkgname = "gvSIG-desktop-" + 
1865
                        project.properties["gvsig.package.info.gvSIGVersion"] + "-" + 
1866
                        project.properties["gvsig.package.info.code"] + "-" + 
1867
                        project.properties["gvsig.package.info.version"] + "-" + 
1868
                        project.properties["buildNumber"] + "-" + 
1869
                        project.properties["gvsig.package.info.state"] + "-" + 
1870
                        project.properties["gvsig.package.info.operatingSystem"] + "-" + 
1871
                        project.properties["gvsig.package.info.architecture"] + "-" + 
1872
                        project.properties["gvsig.package.info.javaVM"]
1873

    
1874
                      log.debug("gvsig.install.plugin=" + project.properties["gvsig.install.plugin"])
1875
                      log.debug("gvsig.install.plugin.package=" + project.properties["gvsig.install.plugin.package"])
1876
                                          if( project.properties["gvsig.install.plugin"]=="true" ) {
1877
                              source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1878
                              target = project.properties["gvsig.product.folder.path"] + "/gvSIG/extensiones/"
1879
        
1880
                              log.info("Install plugin to " + target)
1881
                              ant.unzip(src: source, dest: target)
1882
                      } else {
1883
                          log.info("Skip plugin install.")
1884
                      }
1885
                      if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1886
                          source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1887
                              target = new File(project.properties["gvsig.product.folder.path"] + 
1888
                                "/install/" + 
1889
                                project.properties["gvsig.package.info.code"] + "/" +
1890
                                pkgname + ".gvspkg")
1891
                              target.getParentFile().mkdirs()
1892
        
1893
                              log.info("Copy plugin package from " + source + " to " + target)
1894
                              ant.copy(file:source, tofile:target.getAbsolutePath())
1895
        
1896
                              source  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1897
                              target = project.properties["gvsig.product.folder.path"] + 
1898
                                "/install/" + 
1899
                                project.properties["gvsig.package.info.code"] + "/" +
1900
                                pkgname + ".gvspki"
1901
                              log.info("Copy plugin package index from " + source + " to " + target)
1902
                              ant.copy(file:source, tofile:target)
1903
                      } else {
1904
                          log.info("Skip plugin package install.")
1905
                                          }
1906
                    }
1907
                  ]]></source>
1908
                            </configuration>
1909
                        </execution>
1910

    
1911
                        <execution>
1912
                            <id>deploy-package</id>
1913
                            <phase>install</phase>
1914
                            <configuration>
1915
                                <source><![CDATA[
1916

    
1917
// To deploy package use:
1918
//    mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
1919
//      
1920
                                              
1921
public class WebDAVClient {
1922

    
1923
    def log;
1924

    
1925
    private String user;
1926
    private String password;
1927
    private Object sardine;
1928
            
1929
    public WebDAVClient(log) {
1930
        disableCertificateValidation();
1931
            this.log = log;
1932
    }
1933
    
1934
    public void login(String user, String password) {
1935
        log.info("[WEBDAV] login as '"+user+"'.");
1936
        def SardineFactory
1937
        try {
1938
            SardineFactory = "com.github.sardine.SardineFactory" as Class
1939
        } catch (Exception ex) {
1940
            log.error("[WEBDAV] can't get SardineFactory.",ex);
1941
        }
1942
        this.user = user;
1943
        this.password = password;
1944
        this.sardine = SardineFactory.begin(this.user,this.password);
1945
    }
1946
        
1947
    public void login() {
1948
        log.info("[WEBDAV] login as guest");
1949
        this.sardine = SardineFactory.begin();
1950
    }
1951
        
1952
    public boolean exists(String url) throws Exception {
1953
        return sardine.exists(url);
1954
    }
1955
        
1956
    public void makedirs(String url) throws Exception {
1957
        log.info("[WEBDAV] makedirs '"+url+"'.");
1958
        URL u = new URL(url);
1959
        String[] x = u.getPath().split("/");
1960
        String path = "";
1961
        for( int i=1; i<x.length; i++ ) { path = path + "/" + x[i]; URL t = new URL(u,path) ; 
1962
            mkdir(t.toString()); 
1963
        } 
1964
    } 
1965
    
1966
    public void mkdir(String url) throws Exception {
1967
        if( ! exists(url) ) {
1968
            log.info("[WEBDAV] mkdir '"+url+"'.");
1969
            sardine.createDirectory(url);
1970
        }
1971
    }
1972
        
1973
    public void put(String source, String target) throws Exception {
1974
        log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
1975
        InputStream fis = new FileInputStream(new File(source));
1976
        sardine.put(target, fis);
1977
        log.info("[WEBDAV] put ok.");
1978
    }
1979
        
1980
    public List list(String url) throws Exception {
1981
        List resources = sardine.list(url);
1982
        return resources;
1983
    }
1984

    
1985
    void disableCertificateValidation() {
1986
    /*
1987
        javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
1988
        trustAllCerts[0] = new javax.net.ssl.X509TrustManager() {
1989
                public java.security.cert.X509Certificate[] getAcceptedIssuers() {
1990
                    return new java.security.cert.X509Certificate[0];
1991
                }
1992

    
1993
                public void checkClientTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
1994
                }
1995

    
1996
                public void checkServerTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
1997
                }
1998
            };
1999

    
2000
        // Ignore differences between given hostname and certificate hostname
2001
        javax.net.ssl.HostnameVerifier hv = new javax.net.ssl.HostnameVerifier() {
2002
            public boolean verify(String hostname, javax.net.ssl.SSLSession session) {
2003
                return true;
2004
            }
2005
        };
2006

    
2007
        // Install the all-trusting trust manager
2008
        try {
2009
            javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
2010
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
2011
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
2012
            javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
2013
        } catch (Exception e) {
2014
        }
2015
        */
2016
    }                                    
2017
}
2018

    
2019
if( project.properties["deploy-package"] != null ) {                          
2020
    if( project.properties["gvsig.install.plugin.package"]=="true" ) {
2021
        poolURL = project.properties["gvsig.package.info.poolURL"];
2022
        if( poolURL[-1] != "/" ) { 
2023
            poolURL = poolURL + "/";
2024
        }
2025
        targetPath = poolURL + project.properties["gvsig.package.info.code"];
2026
        log.info("Deploy plugin package to '"+targetPath+"'.");
2027

    
2028
        pkgname = "gvSIG-desktop-" + 
2029
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" + 
2030
        project.properties["gvsig.package.info.code"] + "-" + 
2031
        project.properties["gvsig.package.info.version"] + "-" + 
2032
        project.properties["buildNumber"] + "-" + 
2033
        project.properties["gvsig.package.info.state"] + "-" + 
2034
        project.properties["gvsig.package.info.operatingSystem"] + "-" + 
2035
        project.properties["gvsig.package.info.architecture"] + "-" + 
2036
        project.properties["gvsig.package.info.javaVM"]; 
2037

    
2038
        source = project.basedir.getAbsolutePath() + "/target/" + pkgname
2039
        targetPath = poolURL + project.properties["gvsig.package.info.code"]
2040

    
2041
        log.info("Creating addon-request.txt in target folder");
2042
        new File(project.basedir.getAbsolutePath() + "/target/addon-request.txt").withWriter { out ->
2043
            out.println();
2044
            out.println(pkgname);
2045
            out.println();
2046
            out.println(targetPath+"/" + pkgname + ".gvspki");
2047
            out.println();
2048
        }
2049

    
2050
        if( project.properties["username"] == null ) {
2051
            print("Enter user name: ");
2052
            user = System.console().readLine().toString()
2053
            if( user != "" ) {
2054
                project.properties.setProperty("username",user);
2055
            }
2056
        }
2057
        if( project.properties["password"] == null ) {                                
2058
            print("Enter password for user '" + project.properties["username"] + "': ");
2059
            password = System.console().readPassword().toString()  
2060
            if( password != "" ) {
2061
                project.properties.setProperty("password",password);
2062
            }
2063
        }
2064
        WebDAVClient session = new WebDAVClient(log);
2065
        if( project.properties["username"] == null || project.properties["password"] == null ) {                                
2066
            log.info("[WEBDAV] creating non authenticated session.");
2067
            log.info("[WEBDAV] Use -Duser=USER -Dpassword=PASSWORD to create a authenticated session.");
2068
            session.login();
2069
        } else {
2070
            session.login(project.properties["username"], project.properties["password"]);
2071
        }
2072
        session.makedirs(targetPath);
2073
        session.put(source + ".gvspkg.zip", targetPath+"/"+pkgname+ ".gvspkg");
2074
        session.put(source + ".gvspki", targetPath+"/"+pkgname+ ".gvspki");
2075

    
2076
    } else {
2077
        log.info("Skip plugin package deploy. It not be installed by default.");
2078
    }                
2079
} else {
2080
    log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
2081
}
2082
                                                                                           
2083
                  ]]></source>
2084
                            </configuration>
2085
                        </execution>
2086

    
2087
                    </executions>
2088
                </plugin>
2089

    
2090
            </plugins>
2091
        </pluginManagement>
2092

    
2093
        <plugins>
2094
            <plugin>
2095
                <groupId>org.apache.maven.plugins</groupId>
2096
                <artifactId>maven-scm-plugin</artifactId>
2097
            </plugin>
2098
        
2099
            <plugin>
2100
                <artifactId>maven-clean-plugin</artifactId>
2101
                <configuration>
2102
                    <filesets>
2103
                        <fileset>
2104
                            <directory>${user.home}/.depman/</directory>
2105
                            <includes>
2106
                                <include>**</include>
2107
                            </includes>
2108
                        </fileset>
2109
                    </filesets>
2110
                    <followSymLinks>true</followSymLinks>
2111
                </configuration>
2112
            </plugin>
2113

    
2114
            <plugin>
2115
                <groupId>org.apache.maven.plugins</groupId>
2116
                <artifactId>maven-release-plugin</artifactId>
2117
                <configuration>
2118
                    <!-- The property svn.tags.folder is used in external projects   -->
2119
                    <!-- to override configuraction of tagBase -->
2120
                    <tagBase>${svn.tags.folder}</tagBase> 
2121
                    <!-- This is a 2.0 beta 6 bug. By default the goals are 'clean verify', so the modules  
2122
                    are not installed, so the dependencies between modules are not met. With this configuration   
2123
                    we force the module installation. -->  
2124
                    <preparationGoals>clean install</preparationGoals>  
2125
                    <autoVersionSubmodules>true</autoVersionSubmodules>
2126
                    <!-- Dont make site-deploy -->
2127
                    <!-- You need to run it after in folder target/checkout -->
2128
                    <goals>deploy</goals> 
2129
                </configuration>
2130
            </plugin>
2131

    
2132
            <plugin>
2133
                <!-- load ".gvsig-devel.properties" -->
2134
                <groupId>org.codehaus.mojo</groupId>
2135
                <artifactId>properties-maven-plugin</artifactId>
2136
                <configuration>
2137
                    <files>
2138
                        <!-- Define gvsig.product.folder.path in this property -->
2139
                        <file>${user.home}/.gvsig-devel.properties</file>
2140
                        <file>${env.HOME}/.gvsig-devel.properties</file>
2141
                        <file>${project.basedir}/gvsig-devel.properties</file>
2142
                        <file>buildNumber.properties</file>
2143
                    </files>
2144
                    <quiet>true</quiet>
2145
                </configuration>
2146
                <executions>
2147
                    <execution>
2148
                        <id>default</id>
2149
                        <phase>prepare-package</phase>
2150
                        <goals>
2151
                            <goal>read-project-properties</goal>
2152
                        </goals>
2153
                    </execution>
2154
                    <execution>
2155
                        <id>default-clean</id>
2156
                        <phase>pre-clean</phase>
2157
                        <goals>
2158
                            <goal>read-project-properties</goal>
2159
                        </goals>
2160
                    </execution>
2161
                </executions>
2162
            </plugin>
2163

    
2164

    
2165
            <plugin>
2166
                <groupId>org.codehaus.mojo</groupId>
2167
                <artifactId>animal-sniffer-maven-plugin</artifactId>
2168
                <executions>
2169
                    <execution>
2170
                        <id>check-java-api</id>
2171
                        <phase>package</phase>
2172
                        <goals>
2173
                            <goal>check</goal>
2174
                        </goals>
2175
                        <configuration>
2176
                            <skip>false</skip>
2177
                            <signature>
2178
                                <groupId>org.codehaus.mojo.signature</groupId>
2179
                                <artifactId>java15</artifactId>
2180
                                <version>1.0</version>
2181
                            </signature>
2182
                            <ignores>
2183
                                <ignore>net.sourceforge.cobertura.coveragedata.TouchCollector</ignore>
2184
                            </ignores>
2185
                        </configuration>
2186
                    </execution>
2187
                </executions>
2188
            </plugin>
2189

    
2190
            <plugin>
2191
                <groupId>org.apache.maven.plugins</groupId>
2192
                <artifactId>maven-javadoc-plugin</artifactId>
2193
                <executions>
2194
                    <execution>
2195
                        <id>attach-javadocs</id>
2196
                        <goals>
2197
                            <goal>jar</goal>
2198
                        </goals>
2199
                    </execution>
2200
                </executions>
2201
            </plugin>
2202

    
2203
            <plugin>
2204
                <groupId>org.apache.maven.plugins</groupId>
2205
                <artifactId>maven-source-plugin</artifactId>
2206
                <configuration>
2207
                    <skipSource>false</skipSource> <!-- User property is: source.skip. -->
2208
                </configuration>
2209
                <executions>
2210
                    <execution>
2211
                        <id>attach-sources</id>
2212
                        <phase>verify</phase>
2213
                        <goals>
2214
                            <goal>jar-no-fork</goal>
2215
                        </goals>
2216
                    </execution>
2217
                    <execution>
2218
                        <id>attach-test-sources</id>
2219
                        <phase>verify</phase>
2220
                        <goals>
2221
                            <goal>test-jar-no-fork</goal>
2222
                        </goals>
2223
                    </execution>
2224
                </executions>
2225
            </plugin>
2226
      
2227
            <plugin>
2228
                <groupId>org.apache.maven.plugins</groupId>
2229
                <artifactId>maven-checkstyle-plugin</artifactId>
2230
                <!-- invoke as "mvn checkstyle:checkstyle"  or "mvn site" -->
2231
                <configuration>
2232
                    <skip>false</skip> <!-- User property is: checkstyle.skip. -->
2233
                    <enableRulesSummary>true</enableRulesSummary>
2234
                    <failsOnError>false</failsOnError>
2235
                    <configLocation>gvsig/checkstyle.xml</configLocation>
2236
                    <headerLocation>gvsig/LICENSE.txt</headerLocation>
2237
                </configuration>
2238
                <dependencies>
2239
                    <dependency>
2240
                        <groupId>org.gvsig</groupId>
2241
                        <artifactId>org.gvsig.desktop.buildtools</artifactId>
2242
                        <version>1.0.0</version>
2243
                    </dependency>
2244
                </dependencies>
2245
            </plugin>
2246
      
2247
            <plugin>
2248
                <!-- to continue building  when test fail -->
2249
                <groupId>org.apache.maven.plugins</groupId>
2250
                <artifactId>maven-surefire-plugin</artifactId>
2251
                <configuration>
2252
                    <testFailureIgnore>true</testFailureIgnore>
2253
                </configuration>
2254
            </plugin>
2255

    
2256
        </plugins>
2257
    </build>
2258

    
2259

    
2260
    <reporting>
2261
        <excludeDefaults>true</excludeDefaults>
2262
        <plugins>
2263
            <plugin>
2264
                <groupId>org.apache.maven.plugins</groupId>
2265
                <artifactId>maven-project-info-reports-plugin</artifactId>
2266
                <version>2.7</version>
2267
                <reportSets>
2268
                    <reportSet>
2269
                        <reports>
2270
                            <report>index</report>
2271
                            <report>summary</report>
2272
                            <report>scm</report>
2273
                            <report>license</report>
2274
                            <report>project-team</report>
2275
                            <report>issue-tracking</report>
2276
                            <report>mailing-list</report>
2277
                            <report>modules</report>
2278

    
2279
                            <report>dependency-info</report>
2280
                            <!-- Removed due to its high cost                 
2281
                            <report>dependency-management</report>
2282
                            <report>dependencies</report>
2283
                            -->
2284
                            <report>dependency-convergence</report>
2285

    
2286
                            <!--                 
2287
                            <report>plugins</report>
2288
                            <report>plugin-management</report>
2289
                            <report>distribution-management</report>
2290
                            -->
2291
                
2292
                            <!-- gvSIG does not have Continuous Integration System
2293
                            <report>cim</report>
2294
                            -->
2295
                        </reports>
2296
                    </reportSet>
2297
                </reportSets>
2298
            </plugin>
2299
            <plugin>
2300
                <groupId>org.apache.maven.plugins</groupId>
2301
                <artifactId>maven-javadoc-plugin</artifactId>
2302
                <!-- Do not use the version 2.9, does not manage properly the submodules -->
2303
                <version>2.9.1</version>
2304
                <configuration>
2305
                    <!-- Don't include the deprecateds items in the javadoc -->
2306
                    <nodeprecated>true</nodeprecated>
2307
                    <!-- Don't generate javadoc of project with submodules -->
2308
                    <aggregate>false</aggregate>
2309
                    <!-- Removed detection of links due to its high cost -->
2310
                    <detectJavaApiLink>false</detectJavaApiLink>
2311
                    <detectLinks>false</detectLinks>
2312
                    <detectOfflineLinks>false</detectOfflineLinks>
2313
                    <!-- Removed the inclusion of dependencies sources due to their high cost -->
2314
                    <includeDependencySources>false</includeDependencySources>
2315
                    <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
2316
                </configuration>
2317
                <reportSets>
2318
                    <reportSet>
2319
                        <id>html</id>
2320
                        <reports>
2321
                            <report>javadoc</report>
2322
                            <!-- removed javadocs of tests -->
2323
                        </reports>
2324
                    </reportSet>
2325
                </reportSets>
2326
            </plugin>
2327
            <plugin>
2328
                <groupId>org.apache.maven.plugins</groupId>
2329
                <artifactId>maven-jxr-plugin</artifactId>
2330
                <version>2.3</version>
2331
                <configuration>
2332
                    <linkJavadoc>true</linkJavadoc>
2333
                    <aggregate>false</aggregate>
2334
                </configuration>
2335
            </plugin>
2336
            <plugin>
2337
                <groupId>org.codehaus.mojo</groupId>
2338
                <artifactId>findbugs-maven-plugin</artifactId>
2339
                <version>2.5.2</version>
2340
            </plugin>
2341
              
2342
        </plugins>
2343
    </reporting>
2344
  
2345

    
2346
    <profiles>
2347
  
2348
        <profile>
2349
            <!-- This profile is used to initialize and install the root folder of gvSIG -->
2350
            <id>gvsig-root</id>
2351
            <activation>
2352
                <file>
2353
                    <exists>src/main/assembly/gvsig-root-folder-package.xml</exists>
2354
                </file>
2355
            </activation>
2356
            <build>
2357
                <plugins>
2358

    
2359
                    <plugin>
2360
                        <!-- Check if exists ".gvsig-devel.properties" and create if not exists -->
2361
                        <groupId>org.codehaus.gmaven</groupId>
2362
                        <artifactId>gmaven-plugin</artifactId>
2363
                        <executions>
2364
                            <execution>
2365
                                <id>initialize-gvsig-product-folder-path</id>
2366
                                <phase>generate-sources</phase>
2367
                                <goals>
2368
                                    <goal>execute</goal>
2369
                                </goals>
2370
                                <configuration>
2371
                                    <source><![CDATA[
2372
                    if( project.artifactId != "org.gvsig.desktop" ) {
2373
                            log.warn("Skip initialization of gvsig-devel.properties.")
2374
                    } else {
2375
                      home = System.getenv('HOME')
2376
                      if( home == null ) {
2377
                        home = System.properties['user.home']
2378
                      }
2379
                      Properties props = new Properties()
2380
                      File propsFile = new File(home + "/.gvsig-devel.properties")
2381
                      if( project.properties["reset-gvsig.product.folder.path"] != null ) {                          
2382
                            gvsigProductFolderPath= new File(project.basedir, "target/product").getAbsolutePath()
2383
                            log.info("Force gvsig.product.folder.path to '"+gvsigProductFolderPath+"'.")
2384
                            props.load(propsFile.newDataInputStream())
2385
                            props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2386
                            props.store(propsFile.newWriter(), null)
2387
                      } else {
2388
                        gvsigProductFolderPathDefault = project.properties["gvsig.product.folder.path"]
2389
                        // println "Default gvsig.product.folder.path = " + gvsigProductFolderPathDefault
2390
                        try {
2391
                          props.load(propsFile.newDataInputStream())
2392
                          gvsigProductFolderPath = props.getProperty('gvsig.product.folder.path')
2393
                          if( gvsigProductFolderPath == null ) {
2394
                            gvsigProductFolderPath = gvsigProductFolderPathDefault
2395
                            props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2396
                            props.store(propsFile.newWriter(), null)
2397
                          }
2398
                        } catch(java.io.FileNotFoundException e){
2399
                          gvsigProductFolderPath = gvsigProductFolderPathDefault
2400
                          props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2401
                          props.store(propsFile.newWriter(), null)
2402
                        }
2403
                        if( gvsigProductFolderPathDefault != gvsigProductFolderPath ) {
2404
                          f = new File(gvsigProductFolderPathDefault)
2405
                          f.mkdirs();
2406
                                                  new File(f,"WARNING.txt").withWriter { out ->
2407
                                                          out.println();
2408
                                                          out.println("The product folder used is set to:");
2409
                                                          out.println();
2410
                                                          out.println(gvsigProductFolderPath);
2411
                                                          out.println();
2412
                                                          out.println("See the HOME/.gvsig-devel.properties to change it.");
2413
                                                          out.println();
2414
                                                  }
2415
                        }
2416
                      }
2417
                      log.info("Current gvsig.product.folder.path = " + gvsigProductFolderPath)
2418
                    }
2419
                  ]]></source>
2420
                                </configuration>
2421
                            </execution>
2422
              
2423
                        </executions>
2424
                    </plugin>
2425

    
2426
                </plugins>
2427
            </build>
2428
        </profile>
2429

    
2430
  
2431
  
2432
        <profile>
2433
            <!-- This profile is used to packege and install the gvSIG plugins -->
2434
            <id>gvsig-plugin</id>
2435
            <activation>
2436
                <file>
2437
                    <exists>buildNumber.properties</exists>
2438
                </file>
2439
            </activation>
2440
            <build>
2441
                <plugins>
2442

    
2443
                    <plugin>
2444
                        <artifactId>maven-assembly-plugin</artifactId>
2445
                        <executions>
2446
                            <execution>
2447
                                <id>gvsig-plugin-package</id>
2448
                                <phase>package</phase>
2449
                                <goals>
2450
                                    <goal>single</goal>
2451
                                </goals>
2452
                            </execution>
2453
                        </executions>
2454
                    </plugin>
2455

    
2456
                    <plugin>
2457
                        <artifactId>maven-clean-plugin</artifactId>
2458
                        <configuration>
2459
                            <skip>false</skip>
2460
                            <failOnError>true</failOnError>
2461
                            <filesets>
2462
                                <fileset>
2463
                                    <directory>${gvsig.product.folder.path}/gvSIG/extensiones/${project.artifactId}</directory>
2464
                                </fileset>
2465
                            </filesets>
2466
                        </configuration>
2467
                        <executions>
2468
                            <execution>
2469
                                <id>default-clean</id>
2470
                                <phase>clean</phase>
2471
                            </execution>
2472
                        </executions>
2473
                    </plugin>
2474

    
2475
                    <plugin>
2476
                        <groupId>org.codehaus.gmaven</groupId>
2477
                        <artifactId>gmaven-plugin</artifactId>
2478
                        <executions>
2479

    
2480
                            <execution>
2481
                                <id>increase-build-number</id>
2482
                                <phase>process-sources</phase>
2483
                                <goals>
2484
                                    <goal>execute</goal>
2485
                                </goals>
2486
                            </execution>
2487

    
2488
                            <execution>
2489
                                <id>build-package-info</id>
2490
                                <phase>prepare-package</phase>
2491
                                <goals>
2492
                                    <goal>execute</goal>
2493
                                </goals>
2494
                            </execution>
2495

    
2496
                            <execution>
2497
                                <id>build-package-index</id>
2498
                                <phase>package</phase>
2499
                                <goals>
2500
                                    <goal>execute</goal>
2501
                                </goals>
2502
                            </execution>
2503

    
2504
                            <execution>
2505
                                <id>install-plugin</id>
2506
                                <phase>install</phase>
2507
                                <goals>
2508
                                    <goal>execute</goal>
2509
                                </goals>
2510
                            </execution>
2511
              
2512
                            <execution>
2513
                                <id>deploy-package</id>
2514
                                <phase>install</phase>
2515
                                <goals>
2516
                                    <goal>execute</goal>
2517
                                </goals>
2518
                            </execution>
2519

    
2520
                        </executions>
2521
                    </plugin>
2522

    
2523
                </plugins>
2524
            </build>
2525
        </profile>
2526

    
2527
    </profiles>
2528
      
2529
    <properties>
2530
        <!-- General configuration -->
2531
        <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
2532
        <localRepository>${user.home}/.m2/repository</localRepository>
2533
        <site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository>
2534
        <eclipse.project.name>${project.artifactId}</eclipse.project.name>
2535
    
2536
        <!-- The property svn.tags.folder is used in external projects to override  -->
2537
        <!-- configuraction in maven-release-plugin -->
2538
        <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-desktop/tags/</svn.tags.folder>
2539
    
2540
        <!-- Package info property values -->
2541
        <gvsig.version>2.1.0</gvsig.version>
2542
        <gvsig.package.info.codealias />
2543
        <gvsig.package.info.code>${project.artifactId}</gvsig.package.info.code>
2544
        <gvsig.package.info.name>${project.name}</gvsig.package.info.name>
2545
        <gvsig.package.info.description>${project.description}</gvsig.package.info.description>
2546
        <gvsig.package.info.version>${project.version}</gvsig.package.info.version>
2547
        <gvsig.package.info.state>testing</gvsig.package.info.state>
2548
        <gvsig.package.info.official>false</gvsig.package.info.official>
2549
        <gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem>
2550
        <gvsig.package.info.architecture>all</gvsig.package.info.architecture>
2551
        <gvsig.package.info.javaVM>j1_5</gvsig.package.info.javaVM>
2552
        <gvsig.package.info.gvSIGVersion>${gvsig.version}</gvsig.package.info.gvSIGVersion>
2553
        <gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin -ge 2.0.1</gvsig.package.info.dependencies>
2554
        <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
2555
        <gvsig.package.info.sourcesURL>${project.scm.url}</gvsig.package.info.sourcesURL>
2556
        <gvsig.package.info.webURL>http://www.gvsig.com</gvsig.package.info.webURL>
2557
        <gvsig.package.info.categories />
2558
        <gvsig.package.info.poolURL>http://downloads.gvsig.org/download/gvsig-desktop/pool</gvsig.package.info.poolURL>
2559
    
2560
        <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
2561
        <gvsig.install.plugin>true</gvsig.install.plugin>
2562
        <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
2563
        <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
2564
    
2565
        <!-- External project versions -->
2566
        <gvsig.tools.version>3.0.34</gvsig.tools.version>
2567
        <gvsig.about.version>1.0.0</gvsig.about.version>
2568
        <gvsig.proj.version>1.0.1</gvsig.proj.version>
2569
        <gvsig.projection.api.version>2.0.15</gvsig.projection.api.version>
2570
        <gvsig.timesupport.version>1.0.0</gvsig.timesupport.version>
2571
  
2572
        <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
2573
    </properties>
2574

    
2575
    <modules>
2576
        <module>org.gvsig.desktop.compat.cdc</module>
2577
        <module>org.gvsig.desktop.library</module>
2578
        <module>org.gvsig.desktop.framework</module>
2579
        <module>org.gvsig.desktop.plugin</module>
2580

    
2581
        <!-- NOTE: Project  org.gvsig.desktop.installer must not be a sub module of this. -->
2582
        <!-- NOTE: Project  org.gvsig.desktop.buildtools must not be a sub module of this. -->
2583

    
2584
    </modules>
2585
</project>
2586