Statistics
| Revision:

svn-gvsig-desktop / tags / org.gvsig.desktop-2.0.116 / pom.xml @ 44061

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.116</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/tags/org.gvsig.desktop-2.0.116</connection>
46
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.116</developerConnection>
47
        <url>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.116</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
            <dependency>
131
                <groupId>org.gvsig</groupId>
132
                <artifactId>org.gvsig.tools</artifactId>
133
                <version>${gvsig.tools.version}</version>
134
                <type>pom</type>
135
                <scope>import</scope>
136
            </dependency>
137

    
138
            <!-- Non gvSIG projects -->
139
            <!-- NOTE: the list of dependencies is ordered alphabetically -->
140
            <!-- by the artifactId. Please, if new dependencies are added, -->
141
            <!--keep the order.-->
142

    
143
            <dependency>
144
                <groupId>org.n52</groupId>
145
                <artifactId>52n-wps-config</artifactId>
146
                <version>1.0.1</version>
147
            </dependency>
148
            <dependency>
149
                <groupId>net.opengis</groupId>
150
                <artifactId>52n-wps-xml</artifactId>
151
                <version>1.0.0</version>
152
            </dependency>
153
            <dependency>
154
                <groupId>org.jzkit</groupId>
155
                <artifactId>a2j-runtime</artifactId>
156
                <version>2.0.9</version>
157
            </dependency>
158
            <dependency>
159
                <groupId>org.jzkit</groupId>
160
                <artifactId>a2j</artifactId>
161
                <version>2.0.9</version>
162
            </dependency>
163
            <dependency>
164
                <groupId>net.swing</groupId>
165
                <artifactId>amic-util</artifactId>
166
                <version>unknown</version>
167
            </dependency>
168
            <dependency>
169
                <groupId>org.apache.ant</groupId>
170
                <artifactId>ant</artifactId>
171
                <version>1.8.1</version>
172
            </dependency>
173
            <dependency>
174
                <groupId>org.apache.ant</groupId>
175
                <artifactId>ant-apache-oro</artifactId>
176
                <version>1.8.1</version>
177
            </dependency>
178
            <dependency>
179
                <groupId>ant-contrib</groupId>
180
                <artifactId>ant-contrib</artifactId>
181
                <version>1.0b3</version>
182
                <exclusions>
183
                    <exclusion>
184
                        <groupId>ant</groupId>
185
                        <artifactId>ant</artifactId>
186
                    </exclusion>
187
                </exclusions>
188
            </dependency>
189
            <dependency>
190
                <groupId>org.apache.ant</groupId>
191
                <artifactId>ant-launcher</artifactId>
192
                <version>1.8.1</version>
193
            </dependency>
194
            <dependency>
195
                <groupId>org.apache.ant</groupId>
196
                <artifactId>ant-nodeps</artifactId>
197
                <version>1.8.1</version>
198
            </dependency>
199
            <dependency>
200
                <groupId>org.tigris.antelope</groupId>
201
                <artifactId>antelopetasks</artifactId>
202
                <version>3.2.10</version>
203
            </dependency>
204
            <dependency>
205
                <groupId>com.sardak</groupId>
206
                <artifactId>antform</artifactId>
207
                <version>2.0</version>
208
            </dependency>
209
            <dependency>
210
              <groupId>com.fifesoft</groupId>
211
              <artifactId>autocomplete</artifactId>
212
              <version>2.5.7</version>
213
            </dependency>
214
            <dependency>
215
                <groupId>org.apache.xmlgraphics</groupId>
216
                <artifactId>batik-awt-util</artifactId>
217
                <version>1.7</version>
218
            </dependency>
219
            <dependency>
220
                <groupId>org.apache.xmlgraphics</groupId>
221
                <artifactId>batik-bridge</artifactId>
222
                <version>1.7</version>
223
            </dependency>
224
            <dependency>
225
                <groupId>org.apache.xmlgraphics</groupId>
226
                <artifactId>batik-ext</artifactId>
227
                <version>1.7</version>
228
            </dependency>
229
            <dependency>
230
                <groupId>org.apache.xmlgraphics</groupId>
231
                <artifactId>batik-gui-util</artifactId>
232
                <version>1.7</version>
233
            </dependency>
234
            <dependency>
235
                <groupId>org.apache.xmlgraphics</groupId>
236
                <artifactId>batik-gvt</artifactId>
237
                <version>1.7</version>
238
            </dependency>
239
            <dependency>
240
                <groupId>org.apache.xmlgraphics</groupId>
241
                <artifactId>batik-script</artifactId>
242
                <version>1.7</version>
243
            </dependency>
244
            <dependency>
245
                <groupId>org.apache.xmlgraphics</groupId>
246
                <artifactId>batik-xml</artifactId>
247
                <version>1.7</version>
248
            </dependency>
249
            <dependency>
250
                <groupId>org.apache.xmlgraphics</groupId>
251
                <artifactId>batik-anim</artifactId>
252
                <version>1.7</version>
253
            </dependency>
254
            <dependency>
255
                <groupId>org.apache.xmlgraphics</groupId>
256
                <artifactId>batik-css</artifactId>
257
                <version>1.7</version>
258
            </dependency>
259
            <dependency>
260
                <groupId>org.apache.xmlgraphics</groupId>
261
                <artifactId>batik-dom</artifactId>
262
                <version>1.7</version>
263
            </dependency>
264
            <dependency>
265
                <groupId>org.apache.xmlgraphics</groupId>
266
                <artifactId>batik-js</artifactId>
267
                <version>1.7</version>
268
            </dependency>
269
            <dependency>
270
                <groupId>org.apache.xmlgraphics</groupId>
271
                <artifactId>batik-parser</artifactId>
272
                <version>1.7</version>
273
            </dependency>
274
            <dependency>
275
                <groupId>org.apache.xmlgraphics</groupId>
276
                <artifactId>batik-svg-dom</artifactId>
277
                <version>1.7</version>
278
            </dependency>
279
            <dependency>
280
                <groupId>bsf</groupId>
281
                <artifactId>bsf</artifactId>
282
                <version>2.3.0-rc1</version>
283
            </dependency>
284
            <dependency>
285
                <groupId>org.apache.bsf</groupId>
286
                <artifactId>bsf-api</artifactId>
287
                <version>3.1</version>
288
            </dependency>
289
            <dependency>
290
                <groupId>org.apache.bsf</groupId>
291
                <artifactId>bsf-utils</artifactId>
292
                <version>3.1</version>
293
            </dependency>
294
            <dependency>
295
                <groupId>bsh</groupId>
296
                <artifactId>bsh</artifactId>
297
                <version>2.0b4</version>
298
            </dependency>
299
            <dependency>
300
                <groupId>castor</groupId>
301
                <artifactId>castor</artifactId>
302
                <version>0.9.5.3</version>
303
            </dependency>
304

    
305
            <dependency>
306
                <groupId>commons-beanutils</groupId>
307
                <artifactId>commons-beanutils</artifactId>
308
                <version>1.6</version>
309
            </dependency>
310
            <dependency>
311
                <groupId>commons-dbcp</groupId>
312
                <artifactId>commons-dbcp</artifactId>
313
                <version>1.2.2</version>
314
            </dependency>
315
            <dependency>
316
                <groupId>commons-codec</groupId>
317
                <artifactId>commons-codec</artifactId>
318
                <version>1.6</version>
319
            </dependency>
320
            <dependency>
321
                <groupId>commons-collections</groupId>
322
                <artifactId>commons-collections</artifactId>
323
                <version>3.2.1</version>
324
            </dependency>
325
            <dependency>
326
                <groupId>org.apache.solr</groupId>
327
                <artifactId>solr-commons-csv</artifactId>
328
                <version>3.5.0</version>
329
            </dependency>
330
            <dependency>
331
                <groupId>commons-httpclient</groupId>
332
                <artifactId>commons-httpclient</artifactId>
333
                <version>2.0.2</version>
334
            </dependency>
335
            <dependency>
336
                <groupId>commons-cli</groupId>
337
                <artifactId>commons-cli</artifactId>
338
                <version>1.2</version>
339
            </dependency>
340
<!--            <dependency>
341
                <groupId>commons-io</groupId>
342
                <artifactId>commons-io</artifactId>
343
                <version>2.4</version>
344
            </dependency>-->
345
<!--            <dependency>
346
                <groupId>org.apache.commons</groupId>
347
                <artifactId>commons-lang3</artifactId>
348
                <version>3.1</version>
349
            </dependency>-->
350
            <dependency>
351
                <groupId>commons-configuration</groupId>
352
                <artifactId>commons-configuration</artifactId>
353
                <version>1.10</version>
354
            </dependency>
355
            <dependency>
356
                <groupId>commons-logging</groupId>
357
                <artifactId>commons-logging</artifactId>
358
                <version>1.1.1</version>
359
            </dependency>
360
            <dependency>
361
                <groupId>commons-logging</groupId>
362
                <artifactId>commons-logging</artifactId>
363
                <version>1.1.1</version>
364
                <classifier>api</classifier>
365
            </dependency>
366
            <dependency>
367
                <groupId>commons-pool</groupId>
368
                <artifactId>commons-pool</artifactId>
369
                <version>1.6</version>
370
            </dependency>
371

    
372
            <dependency>
373
                <groupId>org.dspace</groupId>
374
                <artifactId>cql-java</artifactId>
375
                <version>1.0</version>
376
            </dependency>
377
<!--            <dependency>
378
                <groupId>easymock</groupId>
379
                <artifactId>easymock</artifactId>
380
                <version>1.2_Java1.3</version>
381
            </dependency>-->
382
            <dependency>
383
                <groupId>easymock</groupId>
384
                <artifactId>easymockclassextension</artifactId>
385
                <version>1.2</version>
386
            </dependency>
387
            <dependency>
388
                <groupId>flanagan</groupId>
389
                <artifactId>flanagan</artifactId>
390
                <version>20090616</version>
391
            </dependency>
392
<!--            <dependency>
393
                <groupId>net.sf</groupId>
394
                <artifactId>flib-jcalendar</artifactId>
395
                <version>unknown</version>
396
            </dependency>-->
397
<!--            <dependency>
398
                    <groupId>com.jeta</groupId>
399
                    <artifactId>formsrt</artifactId>
400
                    <version>2.1.0_M3-1</version>
401
            </dependency>-->
402
            <dependency>
403
                <groupId>org.opengis</groupId>
404
                <artifactId>geoapi</artifactId>
405
                <version>2.0</version>
406
            </dependency>
407
            <dependency>
408
                <groupId>geojava</groupId>
409
                <artifactId>geojava</artifactId>
410
                <version>unknown</version>
411
            </dependency>
412
            <dependency>
413
                <groupId>org.geonames</groupId>
414
                <artifactId>geonames</artifactId>
415
                <version>1.0</version>
416
                <classifier>java5</classifier>
417
            </dependency>
418
            <dependency>
419
                <groupId>org.codehaus.groovy</groupId>
420
                <artifactId>groovy-all</artifactId>
421
                <version>1.7.6</version>
422
            </dependency>
423
            <dependency>
424
                <groupId>org.geotools</groupId>
425
                <artifactId>gt2-legacy</artifactId>
426
                <version>2.2-RC2</version>
427
            </dependency>
428
            <dependency>
429
                <groupId>org.geotools</groupId>
430
                <artifactId>gt2-main</artifactId>
431
                <version>2.2.2</version>
432
            </dependency>
433
            <dependency>
434
                <groupId>org.geotools</groupId>
435
                <artifactId>gt2-referencing</artifactId>
436
                <version>2.2-RC2</version>
437
            </dependency>
438
            <dependency>
439
                <groupId>hsqldb</groupId>
440
                <artifactId>hsqldb</artifactId>
441
                <version>1.8.0.10</version>
442
            </dependency>
443
            <dependency>
444
                <groupId>com.h2database</groupId>
445
                <artifactId>h2</artifactId>
446
                <version>1.3.150</version>
447
            </dependency>
448
            <dependency>
449
                <groupId>org.ini4j</groupId>
450
                <artifactId>ini4j</artifactId>
451
                <version>0.5.1</version>
452
            </dependency>
453
            <dependency>
454
                <groupId>com.lowagie</groupId>
455
                <artifactId>itext</artifactId>
456
                <version>2.1.7</version>
457
            </dependency>
458
            <dependency>
459
                <groupId>javax.media</groupId>
460
                <artifactId>jai_core</artifactId>
461
                <version>1.1.3</version>
462
            </dependency>
463
            <dependency>
464
                <groupId>javax.media</groupId>
465
                <artifactId>jai_codec</artifactId>
466
                <version>1.1.3</version>
467
            </dependency>
468
            <dependency>
469
                <groupId>gov.nist.math</groupId>
470
                <artifactId>jama</artifactId>
471
                <version>unknown</version>
472
            </dependency>
473
            <dependency>
474
                <groupId>javax.help</groupId>
475
                <artifactId>javahelp</artifactId>
476
                <version>2.0.05</version>
477
            </dependency>
478
            <dependency>
479
                <groupId>com.toedter</groupId>
480
                <artifactId>jcalendar</artifactId>
481
                <version>1.3.2</version>
482
            </dependency>
483
            <dependency>
484
                <groupId>jfree</groupId>
485
                <artifactId>jcommon</artifactId>
486
                <version>1.0.12</version>
487
            </dependency>
488
            <dependency>
489
                <groupId>jdom</groupId>
490
                <artifactId>jdom</artifactId>
491
                <version>1.0</version>
492
            </dependency>
493
            <dependency>
494
                <groupId>org.nfunk</groupId>
495
                <artifactId>jep</artifactId>
496
                <version>2.4.0</version>
497
            </dependency>
498
            <dependency>
499
                <groupId>jfree</groupId>
500
                <artifactId>jfreechart</artifactId>
501
                <version>1.0.7</version>
502
            </dependency>
503
            <dependency>
504
                <groupId>org.jfree</groupId>
505
                <artifactId>jfreechart</artifactId>
506
                <version>1.0.14</version>
507
            </dependency>
508
            <dependency>
509
                <groupId>org.jgraf</groupId>
510
                <artifactId>jgraf</artifactId>
511
                <version>0.0.1</version>
512
            </dependency>
513
            <dependency>
514
                <groupId>net.sf</groupId>
515
                <artifactId>jgraph</artifactId>
516
                <version>5.10.1.5</version>
517
            </dependency>
518
            <dependency>
519
                <groupId>net.sf</groupId>
520
                <artifactId>jgridshiftapi</artifactId>
521
                <version>1.0</version>
522
            </dependency>
523
            <dependency>
524
                <groupId>com.sun</groupId>
525
                <artifactId>jimi</artifactId>
526
                <version>1.1</version>
527
            </dependency>
528
            <dependency>
529
                <groupId>joda-time</groupId>
530
                <artifactId>joda-time</artifactId>
531
                <version>1.6</version>
532
            </dependency>
533
            <dependency>
534
                <groupId>org.jpedal</groupId>
535
                <artifactId>jpedal_lgpl</artifactId>
536
                <version>4.37b36</version>
537
            </dependency>
538
            <dependency>
539
                <groupId>org.jruby</groupId>
540
                <artifactId>jruby</artifactId>
541
                <version>1.5.6</version>
542
            </dependency>
543
            <dependency>
544
                <groupId>rhino</groupId>
545
                <artifactId>js</artifactId>
546
                <!-- This is the version already included in Java 1.6 -->
547
                <version>1.6R2</version>
548
            </dependency>
549
            <dependency>
550
                <groupId>net.sf</groupId>
551
                <artifactId>jsi</artifactId>
552
                <version>unknown</version>
553
            </dependency>
554
            <dependency>
555
                <groupId>javax.units</groupId>
556
                <artifactId>jsr108</artifactId>
557
                <version>0.01</version>
558
            </dependency>
559
            <dependency>
560
                <groupId>com.vividsolutions</groupId>
561
                <artifactId>jts</artifactId>
562
                <version>1.13</version>
563
            </dependency>
564
            <dependency>
565
                <groupId>junit</groupId>
566
                <artifactId>junit</artifactId>
567
                <version>3.8.1</version>
568
            </dependency>
569
            <dependency>
570
                <groupId>jwizardcomponent</groupId>
571
                <artifactId>jwizardcomponent</artifactId>
572
                <version>1.2.2</version>
573
            </dependency>
574
            <dependency>
575
                <groupId>jwizardcomponent</groupId>
576
                <artifactId>jwizardcomponent-0i18n</artifactId>
577
                <version>1.2.2.1</version>
578
            </dependency>
579
            <dependency>
580
                <groupId>org.python</groupId>
581
                <artifactId>${jython.artifactId}</artifactId>
582
                <version>2.7.1b2</version>
583
            </dependency>
584
            <dependency>
585
                <groupId>org.jzkit</groupId>
586
                <artifactId>jzkit2-core</artifactId>
587
                <version>2.0.0</version>
588
            </dependency>
589
            <dependency>
590
                <groupId>org.jzkit</groupId>
591
                <artifactId>jzkit2-z3950</artifactId>
592
                <version>2.0.0</version>
593
            </dependency>
594
            <dependency>
595
                <groupId>org.jzkit</groupId>
596
                <artifactId>jzkit2-origin</artifactId>
597
                <version>2.0.0</version>
598
            </dependency>
599
<!--            <dependency>
600
                <groupId>net.sf.kxml</groupId>
601
                <artifactId>kxml2</artifactId>
602
                <version>2.2.2</version>
603
            </dependency>-->
604
            <dependency>
605
                <groupId>log4j</groupId>
606
                <artifactId>log4j</artifactId>
607
                <version>1.2.14</version>
608
            </dependency>
609
            <dependency>
610
                <groupId>com.googlecode.log4jdbc</groupId>
611
                <artifactId>log4jdbc</artifactId>
612
                <version>1.2</version>
613
            </dependency>
614
<!--            <dependency>
615
                <groupId>com.jgoodies</groupId>
616
                <artifactId>jgoodies-common</artifactId>
617
                <version>1.4.0</version>
618
            </dependency>
619
            <dependency>
620
                <groupId>com.jgoodies</groupId>
621
                <artifactId>jgoodies-forms</artifactId>
622
                <version>1.6.0</version>
623
            </dependency>
624
            <dependency>
625
                <groupId>com.jgoodies</groupId>
626
                <artifactId>looks</artifactId>
627
                <version>2.2.2</version>
628
            </dependency>-->
629
            <dependency>
630
                <groupId>com.ostermiller</groupId>
631
                <artifactId>ostermillerutils</artifactId>
632
                <version>1.4.3</version>
633
            </dependency>
634
            <dependency>
635
                <groupId>mysql</groupId>
636
                <artifactId>mysql-connector-java</artifactId>
637
                <version>5.1.6</version>
638
            </dependency>
639
            <dependency>
640
                <groupId>postgresql</groupId>
641
                <artifactId>postgresql</artifactId>
642
                <version>9.1-901.jdbc3</version>
643
            </dependency>
644
            <dependency>
645
                <groupId>es.unex</groupId>
646
                <artifactId>sextante</artifactId>
647
                <version>0.6.0</version>
648
            </dependency>
649
            <dependency>
650
                <groupId>es.unex</groupId>
651
                <artifactId>sextante_gui</artifactId>
652
                <version>0.6.0</version>
653
            </dependency>
654
            <dependency>
655
                <groupId>es.unex</groupId>
656
                <artifactId>sextante_wps</artifactId>
657
                <version>0.6.0</version>
658
            </dependency>
659
            <dependency>
660
                <groupId>es.unex</groupId>
661
                <artifactId>libMath</artifactId>
662
                <version>0.6.0</version>
663
            </dependency>
664
            <dependency>
665
                <groupId>es.unex</groupId>
666
                <artifactId>libDocEngines</artifactId>
667
                <version>0.6.0</version>
668
            </dependency>
669
            <dependency>
670
                <groupId>org.apache.directory.studio</groupId>
671
                <artifactId>org.apache.commons.pool</artifactId>
672
                <version>1.6</version>
673
            </dependency>
674
            <dependency>
675
                <groupId>org.osgeo</groupId>
676
                <artifactId>proj4j</artifactId>
677
                <version>0.1.0</version>
678
            </dependency>
679
            <dependency>
680
                <groupId>com.fifesoft</groupId>
681
                <artifactId>rsyntaxtextarea</artifactId>
682
                <version>2.5.7</version>
683
            </dependency>
684
            <dependency>
685
                <groupId>com.fifesoft</groupId>
686
                <artifactId>rstaui</artifactId>
687
                <version>2.5.7</version>
688
            </dependency>
689
            <dependency>
690
                <groupId>sil</groupId>
691
                <artifactId>sil</artifactId>
692
                <version>0.43b-am1</version>
693
            </dependency>
694
<!--            <dependency>
695
                <groupId>org.slf4j</groupId>
696
                <artifactId>slf4j-api</artifactId>
697
                <version>1.5.5</version>
698
            </dependency>
699
            <dependency>
700
                <groupId>org.slf4j</groupId>
701
                <artifactId>slf4j-log4j12</artifactId>
702
                <version>1.5.5</version>
703
            </dependency>-->
704
            <dependency>
705
                <groupId>net.sf.smc</groupId>
706
                <artifactId>smc</artifactId>
707
                <version>4.3</version>
708
            </dependency>
709
            <dependency>
710
                <groupId>soap</groupId>
711
                <artifactId>soap</artifactId>
712
                <version>2.3</version>
713
            </dependency>
714
            <dependency>
715
                <groupId>spatialindex</groupId>
716
                <artifactId>spatialindex</artifactId>
717
                <version>unknown</version>
718
            </dependency>
719
            <dependency>
720
                <groupId>org.springframework</groupId>
721
                <artifactId>spring</artifactId>
722
                <version>1.2.8</version>
723
            </dependency>
724
            <dependency>
725
                <groupId>net.sf</groupId>
726
                <artifactId>sqljep</artifactId>
727
                <version>0.2.1</version>
728
            </dependency>
729
            <dependency>
730
                <groupId>net.sf.supercsv</groupId>
731
                <artifactId>super-csv</artifactId>
732
                <version>2.1.0</version>
733
            </dependency>
734
            <dependency>
735
                <groupId>org.tmatesoft.svnkit</groupId>
736
                <artifactId>svnkit</artifactId>
737
                <version>1.3.3</version>
738
            </dependency>
739
            <dependency>
740
                <groupId>org.tmatesoft.svnkit</groupId>
741
                <artifactId>svnkit-cli</artifactId>
742
                <version>1.3.3</version>
743
            </dependency>
744
            <dependency>
745
                <groupId>tablelayout</groupId>
746
                <artifactId>TableLayout</artifactId>
747
                <version>20050920</version>
748
            </dependency>
749
            <dependency>
750
                <groupId>info.clearthought</groupId>
751
                <artifactId>TableLayout-bin-jdk1.5</artifactId>
752
                <version>2007-04-21</version>
753
            </dependency>
754
            <dependency>
755
                <groupId>net.sourceforge.thinlet</groupId>
756
                <artifactId>thinlet</artifactId>
757
                <version>2005-03-28</version>
758
            </dependency>
759
            <dependency>
760
                <groupId>gnu.trove</groupId>
761
                <artifactId>trove</artifactId>
762
                <version>0.1.8</version>
763
            </dependency>
764
            <dependency>
765
                <groupId>java3d</groupId>
766
                <artifactId>vecmath</artifactId>
767
                <version>1.3.1</version>
768
            </dependency>
769
            <dependency>
770
                <groupId>org.apache</groupId>
771
                <artifactId>xbean</artifactId>
772
                <version>2.2.0</version>
773
            </dependency>
774
            <dependency>
775
                <groupId>xerces</groupId>
776
                <artifactId>xercesImpl</artifactId>
777
                <version>2.11.0</version>
778
            </dependency>
779
            <dependency>
780
                <groupId>xml-apis</groupId>
781
                <artifactId>xml-apis</artifactId>
782
                <version>1.4.01</version>
783
            </dependency>
784
            <dependency>
785
                <groupId>xml-apis</groupId>
786
                <artifactId>xml-apis-ext</artifactId>
787
                <version>1.3.04</version>
788
            </dependency>
789
            <dependency>
790
                <groupId>xmlpull</groupId>
791
                <artifactId>xmlpull</artifactId>
792
                <version>1.1.3.1</version>
793
            </dependency>
794
            <dependency>
795
                <groupId>zql</groupId>
796
                <artifactId>zql</artifactId>
797
                <version>unknown</version>
798
            </dependency>
799

    
800
            <!-- External gvSIG projects -->
801

    
802
            <dependency>
803
                <groupId>org.gvsig</groupId>
804
                <artifactId>org.gvsig.jdk.v1_6</artifactId>
805
                <version>1.0.1</version>
806
            </dependency>
807
            <dependency>
808
                <groupId>org.gvsig</groupId>
809
                <artifactId>org.gvsig.jdk.v1_4</artifactId>
810
                <version>1.0.0</version>
811
            </dependency>
812
<!--            <dependency>
813
                <groupId>org.gvsig</groupId>
814
                <artifactId>org.gvsig.tools.lib</artifactId>
815
                <version>${gvsig.tools.version}</version>
816
            </dependency>
817
            <dependency>
818
                <groupId>org.gvsig</groupId>
819
                <artifactId>org.gvsig.tools.lib</artifactId>
820
                <version>${gvsig.tools.version}</version>
821
                <type>test-jar</type>
822
                <scope>test</test>
823
            </dependency>
824
            <dependency>
825
                <groupId>org.gvsig</groupId>
826
                <artifactId>org.gvsig.tools.swing.api</artifactId>
827
                <version>${gvsig.tools.version}</version>
828
            </dependency>
829
            <dependency>
830
                <groupId>org.gvsig</groupId>
831
                <artifactId>org.gvsig.tools.swing.impl</artifactId>
832
                <version>${gvsig.tools.version}</version>
833
            </dependency>-->
834
<!--
835
            <dependency>
836
                <groupId>org.gvsig</groupId>
837
                <artifactId>org.gvsig.tools.dynform.api</artifactId>
838
                <version>${gvsig.tools.version}</version>
839
            </dependency>
840
            <dependency>
841
                <groupId>org.gvsig</groupId>
842
                <artifactId>org.gvsig.tools.dynform.spi</artifactId>
843
                <version>${gvsig.tools.version}</version>
844
            </dependency>
845
            <dependency>
846
                <groupId>org.gvsig</groupId>
847
                <artifactId>org.gvsig.tools.dynform.services</artifactId>
848
                <version>${gvsig.tools.version}</version>
849
            </dependency>
850
            <dependency>
851
                <groupId>org.gvsig</groupId>
852
                <artifactId>org.gvsig.tools.dynform.impl</artifactId>
853
                <version>${gvsig.tools.version}</version>
854
            </dependency>-->
855

    
856
            <dependency>
857
                <groupId>org.gvsig</groupId>
858
                <artifactId>org.gvsig.catalog</artifactId>
859
                <version>2.0</version>
860
            </dependency>
861
            <dependency>
862
                <groupId>org.gvsig.external</groupId>
863
                <artifactId>org.gvsig.external.jump</artifactId>
864
                <version>1.0.0</version>
865
            </dependency>
866
            <dependency>
867
                <groupId>org.gvsig</groupId>
868
                <artifactId>org.gvsig.proj.lib.api</artifactId>
869
                <version>${gvsig.proj.version}</version>
870
            </dependency>
871
            <dependency>
872
                <groupId>org.gvsig</groupId>
873
                <artifactId>org.gvsig.proj.lib.proj4j</artifactId>
874
                <version>${gvsig.proj.version}</version>
875
            </dependency>
876
            <dependency>
877
                <groupId>org.gvsig</groupId>
878
                <artifactId>org.gvsig.proj.swing.api</artifactId>
879
                <version>${gvsig.proj.version}</version>
880
            </dependency>
881
            <dependency>
882
                <groupId>org.gvsig</groupId>
883
                <artifactId>org.gvsig.proj.swing.impl</artifactId>
884
                <version>${gvsig.proj.version}</version>
885
            </dependency>
886
            <dependency>
887
                <groupId>org.gvsig</groupId>
888
                <artifactId>org.gvsig.projection.api</artifactId>
889
                <version>${gvsig.projection.api.version}</version>
890
            </dependency>
891

    
892
            <!-- Childs projects -->
893

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

    
1007
            <dependency>
1008
                <groupId>org.gvsig</groupId>
1009
                <artifactId>org.gvsig.fmap.dal.file.lib</artifactId>
1010
                <version>2.0.116</version>
1011
            </dependency>
1012
            <dependency>
1013
                <groupId>org.gvsig</groupId>
1014
                <artifactId>org.gvsig.fmap.dal.file.dbf</artifactId>
1015
                <version>2.0.116</version>
1016
            </dependency>
1017
            <dependency>
1018
                <groupId>org.gvsig</groupId>
1019
                <artifactId>org.gvsig.fmap.dal.file.csv</artifactId>
1020
                <version>2.0.116</version>
1021
            </dependency>
1022
            <dependency>
1023
                <groupId>org.gvsig</groupId>
1024
                <artifactId>org.gvsig.fmap.dal.file.shp</artifactId>
1025
                <version>2.0.116</version>
1026
            </dependency>
1027
            <dependency>
1028
              <groupId>org.gvsig</groupId>
1029
              <artifactId>org.gvsig.fmap.dal.swing.api</artifactId>
1030
              <version>2.0.116</version>
1031
            </dependency>
1032
                <dependency>
1033
              <groupId>org.gvsig</groupId>
1034
              <artifactId>org.gvsig.fmap.dal.swing.impl</artifactId>
1035
               <version>2.0.116</version>
1036
            </dependency>
1037
            <dependency>
1038
                <groupId>org.gvsig</groupId>
1039
                <artifactId>org.gvsig.newlayer.lib.api</artifactId>
1040
                <version>2.0.116</version>
1041
            </dependency>
1042
            <dependency>
1043
                <groupId>org.gvsig</groupId>
1044
                <artifactId>org.gvsig.newlayer.lib.api</artifactId>
1045
                <version>2.0.116</version>
1046
                <type>test-jar</type>
1047
                <scope>test</scope>
1048
            </dependency>
1049
            <dependency>
1050
                <groupId>org.gvsig</groupId>
1051
                <artifactId>org.gvsig.newlayer.lib.impl</artifactId>
1052
                <version>2.0.116</version>
1053
            </dependency>
1054
            <dependency>
1055
                <groupId>org.gvsig</groupId>
1056
                <artifactId>org.gvsig.newlayer.prov.generic</artifactId>
1057
                <version>2.0.46-SNAPSHOT</version>
1058
            </dependency>
1059
            <dependency>
1060
                <groupId>org.gvsig</groupId>
1061
                <artifactId>org.gvsig.newlayer.prov.file</artifactId>
1062
                <version>2.0.116</version>
1063
            </dependency>
1064
            <dependency>
1065
                <groupId>org.gvsig</groupId>
1066
                <artifactId>org.gvsig.newlayer.prov.shape</artifactId>
1067
                <version>2.0.116</version>
1068
            </dependency>
1069
            <dependency>
1070
                <groupId>org.gvsig</groupId>
1071
                <artifactId>org.gvsig.symbology.lib.api</artifactId>
1072
                <version>2.0.116</version>
1073
            </dependency>
1074
            <dependency>
1075
                <groupId>org.gvsig</groupId>
1076
                <artifactId>org.gvsig.symbology.lib.impl</artifactId>
1077
                <version>2.0.116</version>
1078
            </dependency>
1079
            <dependency>
1080
                <groupId>org.gvsig</groupId>
1081
                <artifactId>org.gvsig.symbology.swing.api</artifactId>
1082
                <version>2.0.116</version>
1083
            </dependency>
1084
            <dependency>
1085
                <groupId>org.gvsig</groupId>
1086
                <artifactId>org.gvsig.symbology.swing.impl</artifactId>
1087
                <version>2.0.116</version>
1088
            </dependency>
1089
            <dependency>
1090
                <groupId>org.gvsig</groupId>
1091
                <artifactId>org.gvsig.fmap.geometry.api</artifactId>
1092
                <version>2.0.116</version>
1093
            </dependency>
1094
            <!--
1095
            <dependency>
1096
                <groupId>org.gvsig</groupId>
1097
                <artifactId>org.gvsig.fmap.geometry.generalpath</artifactId>
1098
                <version>2.0.103-SNAPSHOT</version>
1099
            </dependency>
1100
            <dependency>
1101
                <groupId>org.gvsig</groupId>
1102
                <artifactId>org.gvsig.fmap.geometry.operation</artifactId>
1103
                <version>2.0.103-SNAPSHOT</version>
1104
            </dependency>
1105
            -->
1106
            <dependency>
1107
                <groupId>org.gvsig</groupId>
1108
                <artifactId>org.gvsig.fmap.geometry.jts</artifactId>
1109
                <version>2.0.116</version>
1110
            </dependency>
1111
            <dependency>
1112
                <groupId>org.gvsig</groupId>
1113
                <artifactId>org.gvsig.fmap.geometry.operation.jts</artifactId>
1114
                <version>2.0.116</version>
1115
            </dependency>
1116

    
1117

    
1118
            <dependency>
1119
                <groupId>org.gvsig</groupId>
1120
                <artifactId>org.gvsig.tools.evaluator.sqljep</artifactId>
1121
                <version>2.0.116</version>
1122
            </dependency>
1123
            <dependency>
1124
                <groupId>org.gvsig</groupId>
1125
                <artifactId>org.gvsig.compat.api</artifactId>
1126
                <version>2.0.116</version>
1127
            </dependency>
1128
            <dependency>
1129
                <groupId>org.gvsig</groupId>
1130
                <artifactId>org.gvsig.compat.se</artifactId>
1131
                <version>2.0.116</version>
1132
            </dependency>
1133
            <dependency>
1134
                <groupId>org.gvsig</groupId>
1135
                <artifactId>org.gvsig.remoteclient</artifactId>
1136
                <version>2.0.116</version>
1137
            </dependency>
1138
            <dependency>
1139
                <groupId>org.gvsig</groupId>
1140
                <artifactId>org.gvsig.i18n</artifactId>
1141
                <version>2.0.116</version>
1142
            </dependency>
1143
            <dependency>
1144
                <groupId>org.gvsig</groupId>
1145
                <artifactId>org.gvsig.utils</artifactId>
1146
                <version>2.0.116</version>
1147
            </dependency>
1148
            <dependency>
1149
                <groupId>org.gvsig</groupId>
1150
                <artifactId>org.gvsig.annotation.lib.api</artifactId>
1151
                <version>2.0.116</version>
1152
            </dependency>
1153
            <dependency>
1154
                <groupId>org.gvsig</groupId>
1155
                <artifactId>org.gvsig.annotation.lib.impl</artifactId>
1156
                <version>2.0.116</version>
1157
            </dependency>
1158
            <dependency>
1159
                <groupId>org.gvsig</groupId>
1160
                <artifactId>org.gvsig.annotation.swing.api</artifactId>
1161
                <version>2.0.116</version>
1162
            </dependency>
1163
            <dependency>
1164
                <groupId>org.gvsig</groupId>
1165
                <artifactId>org.gvsig.annotation.swing.impl</artifactId>
1166
                <version>2.0.116</version>
1167
            </dependency>
1168
            <dependency>
1169
                <groupId>org.gvsig</groupId>
1170
                <artifactId>org.gvsig.exportto.lib.api</artifactId>
1171
                <version>2.0.116</version>
1172
            </dependency>
1173
            <dependency>
1174
                <groupId>org.gvsig</groupId>
1175
                <artifactId>org.gvsig.exportto.lib.api</artifactId>
1176
                <version>2.0.116</version>
1177
                <type>test-jar</type>
1178
                <scope>test</scope>
1179
            </dependency>
1180
            <dependency>
1181
                <groupId>org.gvsig</groupId>
1182
                <artifactId>org.gvsig.exportto.lib.impl</artifactId>
1183
                <version>2.0.116</version>
1184
            </dependency>
1185
            <dependency>
1186
                <groupId>org.gvsig</groupId>
1187
                <artifactId>org.gvsig.exportto.swing.api</artifactId>
1188
                <version>2.0.116</version>
1189
            </dependency>
1190
            <dependency>
1191
                <groupId>org.gvsig</groupId>
1192
                <artifactId>org.gvsig.exportto.swing.spi</artifactId>
1193
                <version>2.0.116</version>
1194
            </dependency>
1195
            <dependency>
1196
                <groupId>org.gvsig</groupId>
1197
                <artifactId>org.gvsig.exportto.swing.impl</artifactId>
1198
                <version>2.0.116</version>
1199
            </dependency>
1200
            <dependency>
1201
                <groupId>org.gvsig</groupId>
1202
                <artifactId>org.gvsig.exportto.swing.prov.generic</artifactId>
1203
                <version>2.0.46-SNAPSHOT</version>
1204
            </dependency>
1205
            <dependency>
1206
                <groupId>org.gvsig</groupId>
1207
                <artifactId>org.gvsig.exportto.swing.prov.file</artifactId>
1208
                <version>2.0.116</version>
1209
            </dependency>
1210
            <dependency>
1211
                <groupId>org.gvsig</groupId>
1212
                <artifactId>org.gvsig.exportto.swing.prov.jdbc</artifactId>
1213
                <version>2.0.116</version>
1214
            </dependency>
1215
            <dependency>
1216
                <groupId>org.gvsig</groupId>
1217
                <artifactId>org.gvsig.exportto.swing.prov.shape</artifactId>
1218
                <version>2.0.116</version>
1219
            </dependency>
1220
            <dependency>
1221
                <groupId>org.gvsig</groupId>
1222
                <artifactId>org.gvsig.exportto.swing.prov.dxf</artifactId>
1223
                <version>2.0.116</version>
1224
            </dependency>
1225
            <dependency>
1226
                <groupId>org.gvsig</groupId>
1227
                <artifactId>org.gvsig.exportto.swing.prov.dbf</artifactId>
1228
                <version>2.0.116</version>
1229
            </dependency>
1230
            <dependency>
1231
                <groupId>org.gvsig</groupId>
1232
                <artifactId>org.gvsig.exportto.swing.prov.postgresql</artifactId>
1233
                <version>2.0.116</version>
1234
            </dependency>
1235
            <dependency>
1236
                <groupId>org.gvsig</groupId>
1237
                <artifactId>org.gvsig.exportto.swing.prov.mysql</artifactId>
1238
                <version>2.0.116</version>
1239
            </dependency>
1240
            <dependency>
1241
                <groupId>org.gvsig</groupId>
1242
                <artifactId>org.gvsig.personaldb.lib.api</artifactId>
1243
                <version>2.0.116</version>
1244
            </dependency>
1245
            <dependency>
1246
                <groupId>org.gvsig</groupId>
1247
                <artifactId>org.gvsig.personaldb.lib.api</artifactId>
1248
                <version>2.0.116</version>
1249
                <type>test-jar</type>
1250
                <scope>test</scope>
1251
            </dependency>
1252
            <dependency>
1253
                <groupId>org.gvsig</groupId>
1254
                <artifactId>org.gvsig.personaldb.lib.impl</artifactId>
1255
                <version>2.0.116</version>
1256
            </dependency>
1257
            <dependency>
1258
                <groupId>org.gvsig</groupId>
1259
                <artifactId>org.gvsig.installer.swing.api</artifactId>
1260
                <version>2.0.116</version>
1261
            </dependency>
1262
            <dependency>
1263
                <groupId>org.gvsig</groupId>
1264
                <artifactId>org.gvsig.installer.swing.impl</artifactId>
1265
                <version>2.0.116</version>
1266
            </dependency>
1267
            <dependency>
1268
                <groupId>org.gvsig</groupId>
1269
                <artifactId>org.gvsig.installer.lib.api</artifactId>
1270
                <version>2.0.116</version>
1271
            </dependency>
1272
            <dependency>
1273
                <groupId>org.gvsig</groupId>
1274
                <artifactId>org.gvsig.installer.lib.spi</artifactId>
1275
                <version>2.0.116</version>
1276
            </dependency>
1277
            <dependency>
1278
                <groupId>org.gvsig</groupId>
1279
                <artifactId>org.gvsig.installer.lib.impl</artifactId>
1280
                <version>2.0.116</version>
1281
            </dependency>
1282
            <dependency>
1283
                <groupId>org.gvsig</groupId>
1284
                <artifactId>org.gvsig.installer.prov.plugin</artifactId>
1285
                <version>2.0.116</version>
1286
            </dependency>
1287
            <dependency>
1288
                <groupId>org.gvsig</groupId>
1289
                <artifactId>org.gvsig.geodb.app.mainplugin</artifactId>
1290
                <version>2.0.116</version>
1291
            </dependency>
1292

    
1293
            <dependency>
1294
                <groupId>org.gvsig</groupId>
1295
                <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
1296
                <version>2.0.116</version>
1297
            </dependency>
1298
            <dependency>
1299
                <groupId>org.gvsig</groupId>
1300
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1301
                <version>2.0.116</version>
1302
            </dependency>
1303
            <dependency>
1304
                <groupId>org.gvsig</groupId>
1305
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1306
                <version>2.0.116</version>
1307
                <type>test-jar</type>
1308
                <scope>test</scope>
1309
            </dependency>
1310
            <dependency>
1311
                <groupId>org.gvsig</groupId>
1312
                <artifactId>org.gvsig.daltransform.app.join</artifactId>
1313
                <version>2.0.116</version>
1314
            </dependency>
1315
            <dependency>
1316
                <groupId>org.gvsig</groupId>
1317
                <artifactId>org.gvsig.daltransform.app.eventtheme</artifactId>
1318
                <version>2.0.116</version>
1319
            </dependency>
1320

    
1321
            <dependency>
1322
                <groupId>org.gvsig</groupId>
1323
                <artifactId>org.gvsig.app.mainplugin</artifactId>
1324
                <version>2.0.116</version>
1325
            </dependency>
1326
            <dependency>
1327
                <groupId>org.gvsig</groupId>
1328
                <artifactId>org.gvsig.annotation.app.mainplugin</artifactId>
1329
                <version>2.0.116</version>
1330
            </dependency>
1331
            <dependency>
1332
                <groupId>org.gvsig</groupId>
1333
                <artifactId>org.gvsig.centerviewpoint.app.mainplugin</artifactId>
1334
                <version>2.0.116</version>
1335
            </dependency>
1336
            <dependency>
1337
                <groupId>org.gvsig</groupId>
1338
                <artifactId>org.gvsig.coreplugin.app.mainplugin</artifactId>
1339
                <version>2.0.116</version>
1340
            </dependency>
1341
            <dependency>
1342
                <groupId>org.gvsig</groupId>
1343
                <artifactId>org.gvsig.datalocator.app.mainplugin</artifactId>
1344
                <version>2.0.116</version>
1345
            </dependency>
1346
            <dependency>
1347
                <groupId>org.gvsig</groupId>
1348
                <artifactId>org.gvsig.editing.app.mainplugin</artifactId>
1349
                <version>2.0.112-SNAPSHOT</version>
1350
            </dependency>
1351
            <dependency>
1352
                <groupId>org.gvsig</groupId>
1353
                <artifactId>org.gvsig.exportto.app.mainplugin</artifactId>
1354
                <version>2.0.116</version>
1355
            </dependency>
1356
            <dependency>
1357
                <groupId>org.gvsig</groupId>
1358
                <artifactId>org.gvsig.mkmvnproject.app.mainplugin</artifactId>
1359
                <version>2.0.49-SNAPSHOT</version>
1360
            </dependency>
1361
            <dependency>
1362
                <groupId>org.gvsig</groupId>
1363
                <artifactId>org.gvsig.installer.app.mainplugin</artifactId>
1364
                <version>2.0.116</version>
1365
            </dependency>
1366
            <!--
1367
                      <dependency>
1368
                        <groupId>org.gvsig</groupId>
1369
                        <artifactId>org.gvsig.symbology.app.mainplugin</artifactId>
1370
                        <version>2.0.10-SNAPSHOT</version>
1371
                      </dependency>
1372
            -->
1373
            <dependency>
1374
                <groupId>org.gvsig</groupId>
1375
                <artifactId>org.gvsig.i18n.app.mainplugin</artifactId>
1376
                <version>2.0.116</version>
1377
            </dependency>
1378
            <dependency>
1379
                <groupId>org.gvsig</groupId>
1380
                <artifactId>org.gvsig.selectiontools.app.mainplugin</artifactId>
1381
                <version>2.0.116</version>
1382
            </dependency>
1383
            <dependency>
1384
                <groupId>org.gvsig</groupId>
1385
                <artifactId>org.gvsig.geometrymeasurement.app.mainplugin</artifactId>
1386
                <version>2.0.116</version>
1387
            </dependency>
1388
            <dependency>
1389
                <groupId>org.gvsig</groupId>
1390
                <artifactId>org.gvsig.newlayer.app.mainplugin</artifactId>
1391
                <version>2.0.116</version>
1392
            </dependency>
1393
            <!--
1394
            <dependency>
1395
                <groupId>org.gvsig</groupId>
1396
                <artifactId>org.gvsig.help.app.mainplugin</artifactId>
1397
                <version>2.0.24-SNAPSHOT</version>
1398
            </dependency>
1399
            -->
1400
            <dependency>
1401
                <groupId>org.gvsig</groupId>
1402
                <artifactId>org.gvsig.timesupport.lib.api</artifactId>
1403
                <version>2.0.116</version>
1404
            </dependency>
1405
            <dependency>
1406
                <groupId>org.gvsig</groupId>
1407
                <artifactId>org.gvsig.timesupport.lib.impl</artifactId>
1408
                <version>2.0.116</version>
1409
            </dependency>
1410
            <dependency>
1411
                <groupId>org.gvsig</groupId>
1412
                <artifactId>org.gvsig.timesupport.swing.api</artifactId>
1413
                <version>2.0.116</version>
1414
            </dependency>
1415
            <dependency>
1416
                <groupId>org.gvsig</groupId>
1417
                <artifactId>org.gvsig.timesupport.swing.impl</artifactId>
1418
                <version>2.0.116</version>
1419
            </dependency>
1420

    
1421
        </dependencies>
1422
    </dependencyManagement>
1423

    
1424
    <dependencies>
1425
        <dependency>
1426
            <groupId>junit</groupId>
1427
            <artifactId>junit</artifactId>
1428
            <scope>test</scope>
1429
        </dependency>
1430
    </dependencies>
1431

    
1432
    <build>
1433
        <extensions>
1434
            <extension>
1435
                <groupId>org.apache.maven.wagon</groupId>
1436
                <artifactId>wagon-webdav-jackrabbit</artifactId>
1437
                <version>2.4</version>
1438
            </extension>
1439
        </extensions>
1440

    
1441
        <pluginManagement>
1442
            <plugins>
1443

    
1444
                <plugin>
1445
                    <groupId>org.apache.maven.plugins</groupId>
1446
                    <artifactId>maven-scm-plugin</artifactId>
1447
                    <version>1.9</version>
1448
                    <configuration>
1449
                        <connectionType>connection</connectionType>
1450
                    </configuration>
1451
                </plugin>
1452

    
1453
                <plugin>
1454
                    <groupId>org.apache.maven.plugins</groupId>
1455
                    <artifactId>maven-compiler-plugin</artifactId>
1456
                    <version>2.3.2</version>
1457
                    <configuration>
1458
                        <source>1.7</source>
1459
                        <target>1.7</target>
1460
                        <encoding>ISO-8859-1</encoding>
1461
                    </configuration>
1462
                </plugin>
1463

    
1464
                <plugin>
1465
                    <groupId>org.apache.maven.plugins</groupId>
1466
                    <artifactId>maven-resources-plugin</artifactId>
1467
                    <version>2.4.3</version>
1468
                    <configuration>
1469
                        <encoding>ISO-8859-1</encoding>
1470
                    </configuration>
1471
                </plugin>
1472

    
1473
                <plugin>
1474
                    <groupId>org.apache.maven.plugins</groupId>
1475
                    <artifactId>maven-eclipse-plugin</artifactId>
1476
                    <configuration>
1477
                        <downloadSources>true</downloadSources>
1478
                        <downloadJavadocs>true</downloadJavadocs>
1479
                        <projectNameTemplate>${project.artifactId}</projectNameTemplate>
1480
                    </configuration>
1481
                </plugin>
1482

    
1483
                <plugin>
1484
                    <groupId>org.apache.maven.plugins</groupId>
1485
                    <artifactId>maven-surefire-plugin</artifactId>
1486
                    <version>2.7.1</version>
1487
                    <configuration>
1488
                        <forkMode>once</forkMode>
1489
                        <environmentVariables>
1490
                            <DYLD_FRAMEWORK_PATH>${user.home}/.depman/Frameworks</DYLD_FRAMEWORK_PATH>
1491
                            <DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH>
1492
                            <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA>
1493
                            <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
1494
                            <PATH>${user.home}/.depman/bin${path.separator}${env.PATH}</PATH>
1495
                            <PROJ_LIB>${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB>
1496
                        </environmentVariables>
1497
                    </configuration>
1498
                </plugin>
1499

    
1500
                <plugin>
1501
                    <groupId>org.apache.maven.plugins</groupId>
1502
                    <artifactId>maven-failsafe-plugin</artifactId>
1503
                    <executions>
1504
                        <execution>
1505
                            <goals>
1506
                                <goal>integration-test</goal>
1507
                                <goal>verify</goal>
1508
                            </goals>
1509
                        </execution>
1510
                    </executions>
1511
                    <configuration>
1512
                        <forkMode>once</forkMode>
1513
                        <environmentVariables>
1514
                            <DYLD_FRAMEWORK_PATH>${user.home}/.depman/Frameworks</DYLD_FRAMEWORK_PATH>
1515
                            <DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH>
1516
                            <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA>
1517
                            <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
1518
                            <PATH>${user.home}/.depman/bin${path.separator}${env.PATH}</PATH>
1519
                            <PROJ_LIB>${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB>
1520
                        </environmentVariables>
1521
                    </configuration>
1522
                </plugin>
1523

    
1524
                <plugin>
1525
                    <groupId>org.apache.maven.plugins</groupId>
1526
                    <artifactId>maven-javadoc-plugin</artifactId>
1527
                    <version>2.9</version>
1528
                    <configuration>
1529
                        <failOnError>false</failOnError>
1530
                        <docTitle>${project.name} ${project.version}</docTitle>
1531
                        <encoding>ISO-8859-1</encoding>
1532
                        <footer />
1533
                        <header />
1534
                        <keywords>false</keywords>
1535
                        <!-- Don't include the deprecateds items in the javadoc -->
1536
                        <nodeprecated>true</nodeprecated>
1537
                        <!-- Don't generate javadoc of project with submodules -->
1538
                        <aggregate>false</aggregate>
1539
                        <!-- Removed detection of links due to its high cost -->
1540
                        <detectJavaApiLink>false</detectJavaApiLink>
1541
                        <detectLinks>false</detectLinks>
1542
                        <detectOfflineLinks>false</detectOfflineLinks>
1543
                        <!-- Removed the inclusion of dependencies sources due to their high cost -->
1544
                        <includeDependencySources>false</includeDependencySources>
1545
                        <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
1546
                        <javaApiLinks>
1547
                            <property>
1548
                                <name>api_1.4</name>
1549
                                <value>http://download.oracle.com/javase/1.4.2/docs/api/</value>
1550
                            </property>
1551
                            <property>
1552
                                <name>api_1.5</name>
1553
                                <value>http://download.oracle.com/javase/1.5.0/docs/api/</value>
1554
                            </property>
1555
                            <property>
1556
                                <name>api_1.6</name>
1557
                                <value>http://download.oracle.com/javase/6/docs/api/</value>
1558
                            </property>
1559
                            <property>
1560
                                <name>api_1.7</name>
1561
                                <value>http://download.oracle.com/javase/7/docs/api/</value>
1562
                            </property>
1563
                        </javaApiLinks>
1564
                        <additionalparam>-quiet -Xmaxerrs 10000</additionalparam>
1565
                    </configuration>
1566
                </plugin>
1567

    
1568
                <plugin>
1569
                    <groupId>org.apache.maven.plugins</groupId>
1570
                    <artifactId>maven-site-plugin</artifactId>
1571
                    <version>3.3</version>
1572
                    <configuration>
1573
                        <chmod>true</chmod>
1574
                        <chmodMode>a+rwX</chmodMode>
1575
                    </configuration>
1576
                </plugin>
1577

    
1578
                <plugin>
1579
                    <groupId>org.apache.maven.plugins</groupId>
1580
                    <artifactId>maven-jar-plugin</artifactId>
1581
                    <version>2.3.1</version>
1582
                    <configuration>
1583
                        <archive>
1584
                            <manifestEntries>
1585
                                <Built-By>gvSIG Team</Built-By>
1586
                            </manifestEntries>
1587
                        </archive>
1588
                    </configuration>
1589
                </plugin>
1590

    
1591
                <plugin>
1592
                    <groupId>org.codehaus.mojo</groupId>
1593
                    <artifactId>properties-maven-plugin</artifactId>
1594
                    <version>1.0-alpha-2</version>
1595
                </plugin>
1596

    
1597
                <plugin>
1598
                    <groupId>org.apache.maven.plugins</groupId>
1599
                    <artifactId>maven-antrun-plugin</artifactId>
1600
                    <version>1.7</version>
1601
                </plugin>
1602

    
1603
                <plugin>
1604
                    <groupId>org.codehaus.mojo</groupId>
1605
                    <artifactId>animal-sniffer-maven-plugin</artifactId>
1606
                    <version>1.9</version>
1607
                </plugin>
1608

    
1609
                <plugin>
1610
                    <groupId>org.apache.maven.plugins</groupId>
1611
                    <artifactId>maven-release-plugin</artifactId>
1612
                    <version>2.4.1</version>
1613
                </plugin>
1614

    
1615
                <plugin>
1616
                    <groupId>org.apache.maven.plugins</groupId>
1617
                    <artifactId>maven-deploy-plugin</artifactId>
1618
                    <version>2.6</version>
1619
                </plugin>
1620

    
1621
                <plugin>
1622
                    <artifactId>maven-assembly-plugin</artifactId>
1623
                    <version>2.4</version>
1624
                    <executions>
1625
                        <execution>
1626
                            <id>gvsig-plugin-package</id>
1627
                            <phase>package</phase>
1628
                            <configuration>
1629
                                <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
1630
                                <appendAssemblyId>false</appendAssemblyId>
1631
                                <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>
1632
                                <descriptors>
1633
                                    <descriptor>src/main/assembly/gvsig-plugin-package.xml</descriptor>
1634
                                </descriptors>
1635
                            </configuration>
1636
                        </execution>
1637
                    </executions>
1638
                </plugin>
1639

    
1640
                <plugin>
1641
                    <groupId>org.apache.maven.plugins</groupId>
1642
                    <artifactId>maven-clean-plugin</artifactId>
1643
                    <version>2.4.1</version>
1644
                </plugin>
1645

    
1646
                <plugin>
1647
                    <groupId>org.codehaus.mojo</groupId>
1648
                    <artifactId>exec-maven-plugin</artifactId>
1649
                    <version>1.2</version>
1650
                </plugin>
1651

    
1652
                <plugin>
1653
                    <!-- invoke as "mvn license:format" to fix the header -->
1654
                    <!-- invoke as "mvn license:check" to check the header -->
1655
                    <!-- See http://code.google.com/p/maven-license-plugin/wiki/Configuration -->
1656
                    <groupId>com.mycila.maven-license-plugin</groupId>
1657
                    <artifactId>maven-license-plugin</artifactId>
1658
                    <version>1.10.b1</version>
1659
                    <configuration>
1660
                        <header>header.txt</header>
1661
                        <failIfMissing>false</failIfMissing>
1662
                        <aggregate>false</aggregate>
1663
                        <strictCheck>true</strictCheck>
1664
                        <encoding>ISO-8859-1</encoding>
1665
                        <quiet>false</quiet>
1666
                        <excludes>
1667
                            <exclude>**/*.properties</exclude>
1668
                            <exclude>**/*.txt</exclude>
1669
                            <exclude>**/*.jpg</exclude>
1670
                            <exclude>**/*.jpeg</exclude>
1671
                            <exclude>**/*.svg</exclude>
1672
                            <exclude>**/*.png</exclude>
1673
                            <exclude>**/*.gvssym</exclude>
1674
                            <exclude>**/*.def</exclude>
1675
                            <exclude>**/*.msg</exclude>
1676
                        </excludes>
1677
                    </configuration>
1678
                    <dependencies>
1679
                        <dependency>
1680
                            <groupId>org.gvsig</groupId>
1681
                            <artifactId>org.gvsig.desktop.buildtools</artifactId>
1682
                            <version>1.0.0</version>
1683
                        </dependency>
1684
                    </dependencies>
1685
                </plugin>
1686

    
1687
                <!-- Habria que ver si es posible sustituir el plugin -->
1688
                <!-- com.mycila.maven-license-plugin:maven-license-plugin por este -->
1689
                <!-- Ver http://mojo.codehaus.org/license-maven-plugin/index.html -->
1690
                <!--
1691
                <plugin>
1692
                    <groupId>org.codehaus.mojo</groupId>
1693
                    <artifactId>license-maven-plugin</artifactId>
1694
                    <version>1.5</version>
1695
                </plugin>
1696
                -->
1697

    
1698
                <plugin>
1699
                    <groupId>org.apache.maven.plugins</groupId>
1700
                    <artifactId>maven-checkstyle-plugin</artifactId>
1701
                    <version>2.10</version>
1702
                </plugin>
1703

    
1704
                <plugin>
1705
                    <groupId>org.apache.maven.plugins</groupId>
1706
                    <artifactId>maven-source-plugin</artifactId>
1707
                    <version>2.2.1</version>
1708
                </plugin>
1709

    
1710
                <plugin>
1711
                    <groupId>org.codehaus.gmaven</groupId>
1712
                    <artifactId>gmaven-plugin</artifactId>
1713
                    <version>1.4</version>
1714
                    <dependencies>
1715
                        <dependency>
1716
                            <groupId>com.github.lookfirst</groupId>
1717
                            <artifactId>sardine</artifactId>
1718
                            <version>5.0.1</version>
1719
                        </dependency>
1720
                    </dependencies>
1721
                    <executions>
1722

    
1723
                        <execution>
1724
                            <id>increase-build-number</id>
1725
                            <phase>process-sources</phase>
1726
                            <configuration>
1727
                                <source><![CDATA[
1728
                    // use "mvn -Dincrease-build-number process-sources"
1729
                    if( project.properties["increase-build-number"] == null ) {
1730
                      log.info("Don't increment build number use flag '-Dincrease-build-number' to increment it.")
1731
                    } else {
1732
                      File file = new File(project.basedir,"buildNumber.properties")
1733
                      if( ! file.exists() ) {
1734
                          log.info("Skip increment build number (buildNumber.property not present).")
1735
                        } else {
1736
                        Properties props = new Properties()
1737

    
1738
                        props.load(file.newDataInputStream())
1739
                        value = (props.getProperty("buildNumber") as int) + 1
1740
                        props.setProperty("buildNumber",value as String)
1741
                        props.store(file.newWriter(), null)
1742
                        log.info("Setting build number to " + value)
1743
                      }
1744
                    }
1745
                  ]]></source>
1746
                            </configuration>
1747
                        </execution>
1748

    
1749
                        <execution>
1750
                            <id>build-package-info</id>
1751
                            <phase>prepare-package</phase>
1752
                            <configuration>
1753
                                <source><![CDATA[
1754
                      if( project.properties["buildNumber"] == null) {
1755
                        log.info("Skip build package.info (buildNumber.property not present).")
1756
                        log.info("Skip build package.info index (buildNumber.property not present).")
1757
                      } else {
1758
                                                poolURL = project.properties["gvsig.package.info.poolURL"];
1759
                                                if( poolURL[-1] != "/" ) {
1760
                                                        poolURL = poolURL + "/";
1761
                                                }
1762
                        package_info_file  = new File(project.basedir, "target/package.info")
1763
                        log.info("Building package.info : " + package_info_file.getAbsolutePath())
1764
                        Properties props = new Properties()
1765
                        props.setProperty('code', project.properties["gvsig.package.info.code"])
1766
                        props.setProperty('code-alias', project.properties["gvsig.package.info.codealias"])
1767
                        props.setProperty('name', project.properties["gvsig.package.info.name"])
1768
                        props.setProperty('version', project.properties["gvsig.package.info.version"])
1769
                        props.setProperty('description', project.properties["gvsig.package.info.description"])
1770
                        props.setProperty('owner', project.properties["gvsig.package.info.owner"])
1771
                        props.setProperty('java-version', project.properties["gvsig.package.info.javaVM"])
1772
                        props.setProperty('official', project.properties["gvsig.package.info.official"])
1773
                        props.setProperty('type', "plugin")
1774
                        props.setProperty('state', project.properties["gvsig.package.info.state"])
1775
                        props.setProperty('operating-system', project.properties["gvsig.package.info.operatingSystem"])
1776
                        props.setProperty('dependencies', project.properties["gvsig.package.info.dependencies"])
1777
                        props.setProperty('sources-url', project.properties["gvsig.package.info.sourcesURL"].replace("scm:svn:",""))
1778
                        props.setProperty('web-url', project.properties["gvsig.package.info.webURL"])
1779
                        props.setProperty('architecture', project.properties["gvsig.package.info.architecture"])
1780
                        props.setProperty('model-version', '1.0.1')
1781
                        props.setProperty('categories', project.properties["gvsig.package.info.categories"])
1782
                        props.setProperty('buildNumber', project.properties["buildNumber"])
1783
                        props.setProperty('gvSIG-version', project.properties["gvsig.package.info.gvSIGVersion"])
1784

    
1785
                        props.store(package_info_file.newWriter(), null)
1786

    
1787
                        pkgname = "gvSIG-desktop-" +
1788
                          project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1789
                          project.properties["gvsig.package.info.code"] + "-" +
1790
                          project.properties["gvsig.package.info.version"] + "-" +
1791
                          project.properties["buildNumber"] + "-" +
1792
                          project.properties["gvsig.package.info.state"] + "-" +
1793
                          project.properties["gvsig.package.info.operatingSystem"] + "-" +
1794
                          project.properties["gvsig.package.info.architecture"] + "-" +
1795
                          project.properties["gvsig.package.info.javaVM"]
1796
                        package_info_file  = new File(project.basedir, "target/gvspki/"+project.properties["gvsig.package.info.code"]+"/package.info")
1797
                        log.info("Building package.info index " + package_info_file.getAbsolutePath())
1798
                        package_info_file.getParentFile().mkdirs()
1799
                        props.setProperty('download-url',
1800
                          poolURL +
1801
                          project.properties["gvsig.package.info.code"] + "/" +
1802
                          pkgname + ".gvspkg"
1803
                        )
1804
                        props.store(package_info_file.newWriter(), null)
1805
                      }
1806
                  ]]></source>
1807
                            </configuration>
1808
                        </execution>
1809

    
1810
                        <execution>
1811
                            <id>build-package-index</id>
1812
                            <phase>package</phase>
1813
                            <configuration>
1814
                                <source><![CDATA[
1815
                    ant = new AntBuilder()
1816
                    if( project.properties["buildNumber"] == null) {
1817
                      log.info("Skip building package index (buildNumber.property not present).")
1818
                    } else {
1819
                      pkgname = "gvSIG-desktop-" +
1820
                        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1821
                        project.properties["gvsig.package.info.code"] + "-" +
1822
                        project.properties["gvsig.package.info.version"] + "-" +
1823
                        project.properties["buildNumber"] + "-" +
1824
                        project.properties["gvsig.package.info.state"] + "-" +
1825
                        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1826
                        project.properties["gvsig.package.info.architecture"] + "-" +
1827
                        project.properties["gvsig.package.info.javaVM"]
1828

    
1829
                      log.info("Building package index " + pkgname + ".gvspki")
1830
                      package_index_source  = project.basedir.getAbsolutePath() + "/target/gvspki"
1831
                      package_index_target  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1832
                      ant.zip(destfile: package_index_target, basedir: package_index_source)
1833
                    }
1834
                  ]]></source>
1835
                            </configuration>
1836
                        </execution>
1837

    
1838
                        <execution>
1839
                            <id>install-plugin</id>
1840
                            <phase>install</phase>
1841
                            <configuration>
1842
                                <source><![CDATA[
1843
                    if( project.properties["buildNumber"] == null) {
1844
                      log.info("Skip install package (buildNumber.property not present).")
1845
                    } else {
1846
                      ant = new AntBuilder()
1847
                      pkgname = "gvSIG-desktop-" +
1848
                        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1849
                        project.properties["gvsig.package.info.code"] + "-" +
1850
                        project.properties["gvsig.package.info.version"] + "-" +
1851
                        project.properties["buildNumber"] + "-" +
1852
                        project.properties["gvsig.package.info.state"] + "-" +
1853
                        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1854
                        project.properties["gvsig.package.info.architecture"] + "-" +
1855
                        project.properties["gvsig.package.info.javaVM"]
1856

    
1857
                      log.debug("gvsig.install.plugin=" + project.properties["gvsig.install.plugin"])
1858
                      log.debug("gvsig.install.plugin.package=" + project.properties["gvsig.install.plugin.package"])
1859
                                          if( project.properties["gvsig.install.plugin"]=="true" ) {
1860
                              source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1861
                              target = project.properties["gvsig.product.folder.path"] + "/gvSIG/extensiones/"
1862

    
1863
                              log.info("Install plugin to " + target)
1864
                              ant.unzip(src: source, dest: target)
1865
                      } else {
1866
                          log.info("Skip plugin install.")
1867
                      }
1868
                      if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1869
                          source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1870
                              target = new File(project.properties["gvsig.product.folder.path"] +
1871
                                "/install/" +
1872
                                project.properties["gvsig.package.info.code"] + "/" +
1873
                                pkgname + ".gvspkg")
1874
                              target.getParentFile().mkdirs()
1875

    
1876
                              log.info("Copy plugin package from " + source + " to " + target)
1877
                              ant.copy(file:source, tofile:target.getAbsolutePath())
1878

    
1879
                              source  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1880
                              target = project.properties["gvsig.product.folder.path"] +
1881
                                "/install/" +
1882
                                project.properties["gvsig.package.info.code"] + "/" +
1883
                                pkgname + ".gvspki"
1884
                              log.info("Copy plugin package index from " + source + " to " + target)
1885
                              ant.copy(file:source, tofile:target)
1886
                      } else {
1887
                          log.info("Skip plugin package install.")
1888
                                          }
1889
                    }
1890
                  ]]></source>
1891
                            </configuration>
1892
                        </execution>
1893

    
1894
                        <execution>
1895
                            <id>deploy-package</id>
1896
                            <phase>install</phase>
1897
                            <configuration>
1898
                                <source><![CDATA[
1899

    
1900
// To deploy package use:
1901
//    mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
1902
//
1903
if( project.properties["deploy-package"] != null ) {
1904
    if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1905
        poolURL = project.properties["gvsig.package.info.poolURL"];
1906
        if( poolURL[-1] != "/" ) {
1907
            poolURL = poolURL + "/";
1908
        }
1909
        targetPath = poolURL + project.properties["gvsig.package.info.code"];
1910
        log.info("Deploy plugin package to '"+targetPath+"'.");
1911

    
1912
        pkgname = "gvSIG-desktop-" +
1913
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1914
        project.properties["gvsig.package.info.code"] + "-" +
1915
        project.properties["gvsig.package.info.version"] + "-" +
1916
        project.properties["buildNumber"] + "-" +
1917
        project.properties["gvsig.package.info.state"] + "-" +
1918
        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1919
        project.properties["gvsig.package.info.architecture"] + "-" +
1920
        project.properties["gvsig.package.info.javaVM"];
1921

    
1922
        source = project.basedir.getAbsolutePath() + "/target/" + pkgname
1923
        targetPath = poolURL + project.properties["gvsig.package.info.code"]
1924

    
1925
        log.info("Creating addon-request.txt in target folder");
1926
        new File(project.basedir.getAbsolutePath() + "/target/addon-request.txt").withWriter { out ->
1927
            out.println("");
1928
            out.println("# "+pkgname);
1929
            out.println("");
1930
            out.println(targetPath+"/" + pkgname + ".gvspki");
1931
            out.println("");
1932
        }
1933

    
1934
        if( project.properties["username"] == null ) {
1935
            print("Enter user name: ");
1936
            user = System.console().readLine().toString()
1937
            if( user != "" ) {
1938
                project.properties.setProperty("username",user);
1939
            }
1940
        }
1941
        if( project.properties["password"] == null ) {
1942
            print("Enter password for user '" + project.properties["username"] + "': ");
1943
            password = System.console().readPassword().toString()
1944
            if( password != "" ) {
1945
                project.properties.setProperty("password",password);
1946
            }
1947
        }
1948
        WebDAVClient session = new WebDAVClient(log);
1949
        if( project.properties["username"] == null || project.properties["password"] == null ) {
1950
            log.info("[WEBDAV] creating non authenticated session.");
1951
            log.info("[WEBDAV] Use -Duser=USER -Dpassword=PASSWORD to create a authenticated session.");
1952
            session.login();
1953
        } else {
1954
            session.login(project.properties["username"], project.properties["password"]);
1955
        }
1956
        session.makedirs(targetPath);
1957
        session.put(source + ".gvspkg.zip", targetPath+"/"+pkgname+ ".gvspkg");
1958
        session.put(source + ".gvspki", targetPath+"/"+pkgname+ ".gvspki");
1959

    
1960
    } else {
1961
        log.info("Skip plugin package deploy. It not be installed by default.");
1962
    }
1963
} else {
1964
    log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
1965
}
1966

    
1967
public class WebDAVClient {
1968

    
1969
    def log;
1970

    
1971
    private String user;
1972
    private String password;
1973
    private Object sardine;
1974

    
1975
    public WebDAVClient(log) {
1976
        disableCertificateValidation();
1977
            this.log = log;
1978
    }
1979

    
1980
    public void login(String user, String password) {
1981
        log.info("[WEBDAV] login as '"+user+"'.");
1982
        def SardineFactory
1983
        try {
1984
            SardineFactory = "com.github.sardine.SardineFactory" as Class
1985
        } catch (Exception ex) {
1986
            log.error("[WEBDAV] can't get SardineFactory.",ex);
1987
        }
1988
        this.user = user;
1989
        this.password = password;
1990
        this.sardine = SardineFactory.begin(this.user,this.password);
1991
    }
1992

    
1993
    public void login() {
1994
        log.info("[WEBDAV] login as guest");
1995
        this.sardine = SardineFactory.begin();
1996
    }
1997

    
1998
    public boolean exists(String url) throws Exception {
1999
        return sardine.exists(url);
2000
    }
2001

    
2002
    public void put(String source, String target) throws Exception {
2003
        log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
2004
        InputStream fis = new FileInputStream(new File(source));
2005
        sardine.put(target, fis);
2006
        log.info("[WEBDAV] put ok.");
2007
    }
2008

    
2009
    public void mkdir(String url) throws Exception {
2010
        if( ! exists(url) ) {
2011
            log.info("[WEBDAV] mkdir '"+url+"'.");
2012
            sardine.createDirectory(url);
2013
        }
2014
    }
2015

    
2016
    public List list(String url) throws Exception {
2017
        List resources = sardine.list(url);
2018
        return resources;
2019
    }
2020

    
2021
    void disableCertificateValidation() {
2022
    /*
2023
        javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
2024
        trustAllCerts[0] = new javax.net.ssl.X509TrustManager() {
2025
                public java.security.cert.X509Certificate[] getAcceptedIssuers() {
2026
                    return new java.security.cert.X509Certificate[0];
2027
                }
2028

    
2029
                public void checkClientTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2030
                }
2031

    
2032
                public void checkServerTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2033
                }
2034
            };
2035

    
2036
        // Ignore differences between given hostname and certificate hostname
2037
        javax.net.ssl.HostnameVerifier hv = new javax.net.ssl.HostnameVerifier() {
2038
            public boolean verify(String hostname, javax.net.ssl.SSLSession session) {
2039
                return true;
2040
            }
2041
        };
2042

    
2043
        // Install the all-trusting trust manager
2044
        try {
2045
            javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
2046
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
2047
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
2048
            javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
2049
        } catch (Exception e) {
2050
        }
2051
        */
2052
    }
2053

    
2054
    public void makedirs(String url) throws Exception {
2055
        log.info("[WEBDAV] makedirs '"+url+"'.");
2056
        URL u = new URL(url);
2057
        String[] x = u.getPath().split("/");
2058
        String path = "";
2059
        for (int i=1; i<x.length; i++) { path = path + "/" + x[i]; URL t = new URL(u,path); mkdir(t.toString()); } }
2060
} ]]></source>
2061
                            </configuration>
2062
                        </execution>
2063

    
2064
                    </executions>
2065
                </plugin>
2066

    
2067
            </plugins>
2068
        </pluginManagement>
2069

    
2070
        <plugins>
2071
            <plugin>
2072
                <groupId>org.apache.maven.plugins</groupId>
2073
                <artifactId>maven-scm-plugin</artifactId>
2074
            </plugin>
2075

    
2076
            <plugin>
2077
                <artifactId>maven-clean-plugin</artifactId>
2078
                <configuration>
2079
                    <filesets>
2080
                        <fileset>
2081
                            <directory>${user.home}/.depman/</directory>
2082
                            <includes>
2083
                                <include>**</include>
2084
                            </includes>
2085
                        </fileset>
2086
                    </filesets>
2087
                    <followSymLinks>true</followSymLinks>
2088
                </configuration>
2089
            </plugin>
2090

    
2091
            <plugin>
2092
                <groupId>org.apache.maven.plugins</groupId>
2093
                <artifactId>maven-release-plugin</artifactId>
2094
                <configuration>
2095
                    <!-- The property svn.tags.folder is used in external projects   -->
2096
                    <!-- to override configuraction of tagBase -->
2097
                    <tagBase>${svn.tags.folder}</tagBase>
2098
                    <!-- This is a 2.0 beta 6 bug. By default the goals are 'clean verify', so the modules
2099
                    are not installed, so the dependencies between modules are not met. With this configuration
2100
                    we force the module installation. -->
2101
                    <preparationGoals>clean install</preparationGoals>
2102
                    <autoVersionSubmodules>true</autoVersionSubmodules>
2103
                    <!-- Dont make site-deploy -->
2104
                    <!-- You need to run it after in folder target/checkout -->
2105
                    <goals>deploy</goals>
2106
                </configuration>
2107
            </plugin>
2108

    
2109
            <plugin>
2110
                <!-- load ".gvsig-devel.properties" -->
2111
                <groupId>org.codehaus.mojo</groupId>
2112
                <artifactId>properties-maven-plugin</artifactId>
2113
                <configuration>
2114
                    <files>
2115
                        <!-- Define gvsig.product.folder.path in this property -->
2116
                        <file>${user.home}/.gvsig-devel.properties</file>
2117
                        <file>${env.HOME}/.gvsig-devel.properties</file>
2118
                        <file>${project.basedir}/gvsig-devel.properties</file>
2119
                        <file>buildNumber.properties</file>
2120
                    </files>
2121
                    <quiet>true</quiet>
2122
                </configuration>
2123
                <executions>
2124
                    <execution>
2125
                        <id>default</id>
2126
                        <phase>prepare-package</phase>
2127
                        <goals>
2128
                            <goal>read-project-properties</goal>
2129
                        </goals>
2130
                    </execution>
2131
                    <execution>
2132
                        <id>default-clean</id>
2133
                        <phase>pre-clean</phase>
2134
                        <goals>
2135
                            <goal>read-project-properties</goal>
2136
                        </goals>
2137
                    </execution>
2138
                </executions>
2139
            </plugin>
2140

    
2141

    
2142
            <plugin>
2143
                <groupId>org.codehaus.mojo</groupId>
2144
                <artifactId>animal-sniffer-maven-plugin</artifactId>
2145
                <executions>
2146
                    <execution>
2147
                        <id>check-java-api</id>
2148
                        <phase>package</phase>
2149
                        <goals>
2150
                            <goal>check</goal>
2151
                        </goals>
2152
                        <configuration>
2153
                            <skip>false</skip>
2154
                            <signature>
2155
                                <groupId>org.codehaus.mojo.signature</groupId>
2156
                                <artifactId>java17</artifactId>
2157
                                <version>1.0</version>
2158
                            </signature>
2159
                            <ignores>
2160
                                <ignore>net.sourceforge.cobertura.coveragedata.TouchCollector</ignore>
2161
                            </ignores>
2162
                        </configuration>
2163
                    </execution>
2164
                </executions>
2165
            </plugin>
2166

    
2167
            <plugin>
2168
                <groupId>org.apache.maven.plugins</groupId>
2169
                <artifactId>maven-javadoc-plugin</artifactId>
2170
                <executions>
2171
                    <execution>
2172
                        <id>attach-javadocs</id>
2173
                        <goals>
2174
                            <goal>jar</goal>
2175
                        </goals>
2176
                    </execution>
2177
                </executions>
2178
            </plugin>
2179

    
2180
            <plugin>
2181
                <groupId>org.apache.maven.plugins</groupId>
2182
                <artifactId>maven-source-plugin</artifactId>
2183
                <configuration>
2184
                    <skipSource>false</skipSource> <!-- User property is: source.skip. -->
2185
                </configuration>
2186
                <executions>
2187
                    <execution>
2188
                        <id>attach-sources</id>
2189
                        <phase>verify</phase>
2190
                        <goals>
2191
                            <goal>jar-no-fork</goal>
2192
                        </goals>
2193
                    </execution>
2194
                    <execution>
2195
                        <id>attach-test-sources</id>
2196
                        <phase>verify</phase>
2197
                        <goals>
2198
                            <goal>test-jar-no-fork</goal>
2199
                        </goals>
2200
                    </execution>
2201
                </executions>
2202
            </plugin>
2203

    
2204
            <plugin>
2205
                <groupId>org.apache.maven.plugins</groupId>
2206
                <artifactId>maven-checkstyle-plugin</artifactId>
2207
                <!-- invoke as "mvn checkstyle:checkstyle"  or "mvn site" -->
2208
                <configuration>
2209
                    <skip>false</skip> <!-- User property is: checkstyle.skip. -->
2210
                    <enableRulesSummary>true</enableRulesSummary>
2211
                    <failsOnError>false</failsOnError>
2212
                    <configLocation>gvsig/checkstyle.xml</configLocation>
2213
                    <headerLocation>gvsig/LICENSE.txt</headerLocation>
2214
                </configuration>
2215
                <dependencies>
2216
                    <dependency>
2217
                        <groupId>org.gvsig</groupId>
2218
                        <artifactId>org.gvsig.desktop.buildtools</artifactId>
2219
                        <version>1.0.0</version>
2220
                    </dependency>
2221
                </dependencies>
2222
            </plugin>
2223

    
2224
            <plugin>
2225
                <!-- to continue building  when test fail -->
2226
                <groupId>org.apache.maven.plugins</groupId>
2227
                <artifactId>maven-surefire-plugin</artifactId>
2228
                <configuration>
2229
                    <testFailureIgnore>true</testFailureIgnore>
2230
                </configuration>
2231
            </plugin>
2232

    
2233
        </plugins>
2234
    </build>
2235

    
2236

    
2237
    <reporting>
2238
        <excludeDefaults>true</excludeDefaults>
2239
        <plugins>
2240
            <plugin>
2241
                <groupId>org.apache.maven.plugins</groupId>
2242
                <artifactId>maven-project-info-reports-plugin</artifactId>
2243
                <version>2.7</version>
2244
                <reportSets>
2245
                    <reportSet>
2246
                        <reports>
2247
                            <report>index</report>
2248
                            <report>summary</report>
2249
                            <report>scm</report>
2250
                            <report>license</report>
2251
                            <report>project-team</report>
2252
                            <report>issue-tracking</report>
2253
                            <report>mailing-list</report>
2254
                            <report>modules</report>
2255

    
2256
                            <report>dependency-info</report>
2257
                            <!-- Removed due to its high cost
2258
                            <report>dependency-management</report>
2259
                            <report>dependencies</report>
2260
                            -->
2261
                            <report>dependency-convergence</report>
2262

    
2263
                            <!--
2264
                            <report>plugins</report>
2265
                            <report>plugin-management</report>
2266
                            <report>distribution-management</report>
2267
                            -->
2268

    
2269
                            <!-- gvSIG does not have Continuous Integration System
2270
                            <report>cim</report>
2271
                            -->
2272
                        </reports>
2273
                    </reportSet>
2274
                </reportSets>
2275
            </plugin>
2276
            <plugin>
2277
                <groupId>org.apache.maven.plugins</groupId>
2278
                <artifactId>maven-javadoc-plugin</artifactId>
2279
                <!-- Do not use the version 2.9, does not manage properly the submodules -->
2280
                <version>2.9.1</version>
2281
                <configuration>
2282
                    <!-- Don't include the deprecateds items in the javadoc -->
2283
                    <nodeprecated>true</nodeprecated>
2284
                    <!-- Don't generate javadoc of project with submodules -->
2285
                    <aggregate>false</aggregate>
2286
                    <!-- Removed detection of links due to its high cost -->
2287
                    <detectJavaApiLink>false</detectJavaApiLink>
2288
                    <detectLinks>false</detectLinks>
2289
                    <detectOfflineLinks>false</detectOfflineLinks>
2290
                    <!-- Removed the inclusion of dependencies sources due to their high cost -->
2291
                    <includeDependencySources>false</includeDependencySources>
2292
                    <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
2293
                </configuration>
2294
                <reportSets>
2295
                    <reportSet>
2296
                        <id>html</id>
2297
                        <reports>
2298
                            <report>javadoc</report>
2299
                            <!-- removed javadocs of tests -->
2300
                        </reports>
2301
                    </reportSet>
2302
                </reportSets>
2303
            </plugin>
2304
            <plugin>
2305
                <groupId>org.apache.maven.plugins</groupId>
2306
                <artifactId>maven-jxr-plugin</artifactId>
2307
                <version>2.3</version>
2308
                <configuration>
2309
                    <linkJavadoc>true</linkJavadoc>
2310
                    <aggregate>false</aggregate>
2311
                </configuration>
2312
            </plugin>
2313
            <plugin>
2314
                <groupId>org.codehaus.mojo</groupId>
2315
                <artifactId>findbugs-maven-plugin</artifactId>
2316
                <version>2.5.2</version>
2317
            </plugin>
2318

    
2319
        </plugins>
2320
    </reporting>
2321

    
2322

    
2323
    <profiles>
2324

    
2325
        <profile>
2326
            <!-- This profile is used to initialize and install the root folder of gvSIG -->
2327
            <id>gvsig-root</id>
2328
            <activation>
2329
                <file>
2330
                    <exists>src/main/assembly/gvsig-root-folder-package.xml</exists>
2331
                </file>
2332
            </activation>
2333
            <build>
2334
                <plugins>
2335

    
2336
                    <plugin>
2337
                        <!-- Check if exists ".gvsig-devel.properties" and create if not exists -->
2338
                        <groupId>org.codehaus.gmaven</groupId>
2339
                        <artifactId>gmaven-plugin</artifactId>
2340
                        <executions>
2341
                            <execution>
2342
                                <id>initialize-gvsig-product-folder-path</id>
2343
                                <phase>generate-sources</phase>
2344
                                <goals>
2345
                                    <goal>execute</goal>
2346
                                </goals>
2347
                                <configuration>
2348
                                    <source><![CDATA[
2349
                    if( project.artifactId != "org.gvsig.desktop" ) {
2350
                            log.warn("Skip initialization of gvsig-devel.properties.")
2351
                    } else {
2352
                      home = System.getenv('HOME')
2353
                      if( home == null ) {
2354
                        home = System.properties['user.home']
2355
                      }
2356
                      Properties props = new Properties()
2357
                      File propsFile = new File(home + "/.gvsig-devel.properties")
2358
                      if( project.properties["reset-gvsig.product.folder.path"] != null ) {
2359
                            gvsigProductFolderPath= new File(project.basedir, "target/product").getAbsolutePath()
2360
                            log.info("Force gvsig.product.folder.path to '"+gvsigProductFolderPath+"'.")
2361
                            props.load(propsFile.newDataInputStream())
2362
                            props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2363
                            props.store(propsFile.newWriter(), null)
2364
                      } else {
2365
                        gvsigProductFolderPathDefault = project.properties["gvsig.product.folder.path"]
2366
                        // println "Default gvsig.product.folder.path = " + gvsigProductFolderPathDefault
2367
                        try {
2368
                          props.load(propsFile.newDataInputStream())
2369
                          gvsigProductFolderPath = props.getProperty('gvsig.product.folder.path')
2370
                          if( gvsigProductFolderPath == null ) {
2371
                            gvsigProductFolderPath = gvsigProductFolderPathDefault
2372
                            props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2373
                            props.store(propsFile.newWriter(), null)
2374
                          }
2375
                        } catch(java.io.FileNotFoundException e){
2376
                          gvsigProductFolderPath = gvsigProductFolderPathDefault
2377
                          props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2378
                          props.store(propsFile.newWriter(), null)
2379
                        }
2380
                        if( gvsigProductFolderPathDefault != gvsigProductFolderPath ) {
2381
                          f = new File(gvsigProductFolderPathDefault)
2382
                          f.mkdirs();
2383
                                                  new File(f,"WARNING.txt").withWriter { out ->
2384
                                                          out.println();
2385
                                                          out.println("The product folder used is set to:");
2386
                                                          out.println();
2387
                                                          out.println(gvsigProductFolderPath);
2388
                                                          out.println();
2389
                                                          out.println("See the HOME/.gvsig-devel.properties to change it.");
2390
                                                          out.println();
2391
                                                  }
2392
                        }
2393
                      }
2394
                      log.info("Current gvsig.product.folder.path = " + gvsigProductFolderPath)
2395
                    }
2396
                  ]]></source>
2397
                                </configuration>
2398
                            </execution>
2399

    
2400
                        </executions>
2401
                    </plugin>
2402

    
2403
                </plugins>
2404
            </build>
2405
        </profile>
2406

    
2407

    
2408

    
2409
        <profile>
2410
            <!-- This profile is used to packege and install the gvSIG plugins -->
2411
            <id>gvsig-plugin</id>
2412
            <activation>
2413
                <file>
2414
                    <exists>buildNumber.properties</exists>
2415
                </file>
2416
            </activation>
2417
            <build>
2418
                <plugins>
2419

    
2420
                    <plugin>
2421
                        <artifactId>maven-assembly-plugin</artifactId>
2422
                        <executions>
2423
                            <execution>
2424
                                <id>gvsig-plugin-package</id>
2425
                                <phase>package</phase>
2426
                                <goals>
2427
                                    <goal>single</goal>
2428
                                </goals>
2429
                            </execution>
2430
                        </executions>
2431
                    </plugin>
2432

    
2433
                    <plugin>
2434
                        <artifactId>maven-clean-plugin</artifactId>
2435
                        <configuration>
2436
                            <skip>false</skip>
2437
                            <failOnError>true</failOnError>
2438
                            <filesets>
2439
                                <fileset>
2440
                                    <directory>${gvsig.product.folder.path}/gvSIG/extensiones/${project.artifactId}</directory>
2441
                                </fileset>
2442
                            </filesets>
2443
                        </configuration>
2444
                        <executions>
2445
                            <execution>
2446
                                <id>default-clean</id>
2447
                                <phase>clean</phase>
2448
                            </execution>
2449
                        </executions>
2450
                    </plugin>
2451

    
2452
                    <plugin>
2453
                        <groupId>org.codehaus.gmaven</groupId>
2454
                        <artifactId>gmaven-plugin</artifactId>
2455
                        <executions>
2456

    
2457
                            <execution>
2458
                                <id>increase-build-number</id>
2459
                                <phase>process-sources</phase>
2460
                                <goals>
2461
                                    <goal>execute</goal>
2462
                                </goals>
2463
                            </execution>
2464

    
2465
                            <execution>
2466
                                <id>build-package-info</id>
2467
                                <phase>prepare-package</phase>
2468
                                <goals>
2469
                                    <goal>execute</goal>
2470
                                </goals>
2471
                            </execution>
2472

    
2473
                            <execution>
2474
                                <id>build-package-index</id>
2475
                                <phase>package</phase>
2476
                                <goals>
2477
                                    <goal>execute</goal>
2478
                                </goals>
2479
                            </execution>
2480

    
2481
                            <execution>
2482
                                <id>install-plugin</id>
2483
                                <phase>install</phase>
2484
                                <goals>
2485
                                    <goal>execute</goal>
2486
                                </goals>
2487
                            </execution>
2488

    
2489
                            <execution>
2490
                                <id>deploy-package</id>
2491
                                <phase>install</phase>
2492
                                <goals>
2493
                                    <goal>execute</goal>
2494
                                </goals>
2495
                            </execution>
2496

    
2497
                        </executions>
2498
                    </plugin>
2499

    
2500
                </plugins>
2501
            </build>
2502
        </profile>
2503

    
2504
    </profiles>
2505

    
2506
    <properties>
2507
        <!-- General configuration -->
2508
        <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
2509
        <localRepository>${user.home}/.m2/repository</localRepository>
2510
        <site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository>
2511

    
2512
        <!-- The property svn.tags.folder is used in external projects to override  -->
2513
        <!-- configuraction in maven-release-plugin -->
2514
        <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-desktop/tags/</svn.tags.folder>
2515

    
2516
        <!-- Package info property values -->
2517
        <gvsig.version>2.3.0</gvsig.version>
2518
        <gvsig.package.info.codealias />
2519
        <gvsig.package.info.code>${project.artifactId}</gvsig.package.info.code>
2520
        <gvsig.package.info.name>${project.name}</gvsig.package.info.name>
2521
        <gvsig.package.info.description>${project.description}</gvsig.package.info.description>
2522
        <gvsig.package.info.version>${project.version}</gvsig.package.info.version>
2523
        <gvsig.package.info.state>devel</gvsig.package.info.state>
2524
        <gvsig.package.info.official>false</gvsig.package.info.official>
2525
        <gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem>
2526
        <gvsig.package.info.architecture>all</gvsig.package.info.architecture>
2527
        <gvsig.package.info.javaVM>j1_7</gvsig.package.info.javaVM>
2528
        <gvsig.package.info.gvSIGVersion>${gvsig.version}</gvsig.package.info.gvSIGVersion>
2529
        <gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin -ge 2.1.0</gvsig.package.info.dependencies>
2530
        <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
2531
        <gvsig.package.info.sourcesURL>${project.scm.connection}</gvsig.package.info.sourcesURL>
2532
        <gvsig.package.info.webURL>http://www.gvsig.com</gvsig.package.info.webURL>
2533
        <gvsig.package.info.categories />
2534
        <gvsig.package.info.poolURL>http://downloads.gvsig.org/download/gvsig-desktop/pool</gvsig.package.info.poolURL>
2535

    
2536
        <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
2537
        <gvsig.install.plugin>true</gvsig.install.plugin>
2538
        <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
2539
        <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
2540

    
2541
        <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
2542

    
2543
        <!-- artifactID implementations libraries for use in runtime and test dependencies -->
2544
        <org.gvsig.about.impl>org.gvsig.about.impl</org.gvsig.about.impl>
2545
        <org.gvsig.annotation.lib.impl>org.gvsig.annotation.lib.impl</org.gvsig.annotation.lib.impl>
2546
        <org.gvsig.annotation.swing.impl>org.gvsig.annotation.swing.impl</org.gvsig.annotation.swing.impl>
2547
        <org.gvsig.compat.impl>org.gvsig.compat.se</org.gvsig.compat.impl>
2548
        <org.gvsig.exportto.lib.impl>org.gvsig.exportto.lib.impl</org.gvsig.exportto.lib.impl>
2549
        <org.gvsig.exportto.swing.impl>org.gvsig.exportto.swing.impl</org.gvsig.exportto.swing.impl>
2550
        <org.gvsig.fmap.dal.impl>org.gvsig.fmap.dal.impl</org.gvsig.fmap.dal.impl>
2551
        <org.gvsig.fmap.dal.swing.impl>org.gvsig.fmap.dal.swing.impl</org.gvsig.fmap.dal.swing.impl>
2552
        <org.gvsig.fmap.geometry.impl>org.gvsig.fmap.geometry.jts</org.gvsig.fmap.geometry.impl>
2553
        <org.gvsig.fmap.geometry.operation.impl>org.gvsig.fmap.geometry.operation.jts</org.gvsig.fmap.geometry.operation.impl>
2554
        <org.gvsig.fmap.mapcontext.impl>org.gvsig.fmap.mapcontext.impl</org.gvsig.fmap.mapcontext.impl>
2555
        <org.gvsig.fmap.mapcontext.operation.impl>org.gvsig.fmap.mapcontext.operation</org.gvsig.fmap.mapcontext.operation.impl>
2556
        <org.gvsig.installer.lib.impl>org.gvsig.installer.lib.impl</org.gvsig.installer.lib.impl>
2557
        <org.gvsig.installer.swing.impl>org.gvsig.installer.swing.impl</org.gvsig.installer.swing.impl>
2558
        <org.gvsig.metadata.lib.basic.impl>org.gvsig.metadata.lib.basic.impl</org.gvsig.metadata.lib.basic.impl>
2559
        <org.gvsig.metadata.swing.basic.impl>org.gvsig.metadata.swing.basic.impl</org.gvsig.metadata.swing.basic.impl>
2560
        <org.gvsig.newlayer.lib.impl>org.gvsig.newlayer.lib.impl</org.gvsig.newlayer.lib.impl>
2561
        <org.gvsig.personaldb.lib.impl>org.gvsig.personaldb.lib.impl</org.gvsig.personaldb.lib.impl>
2562
        <org.gvsig.projection.impl>org.gvsig.projection.cresques.impl</org.gvsig.projection.impl>
2563
        <!--
2564
        <org.gvsig.projection.impl>org.gvsig.projection.jcrs</org.gvsig.projection.impl>
2565
        -->
2566
        <org.gvsig.proj.lib.impl>org.gvsig.proj.lib.proj4j</org.gvsig.proj.lib.impl>
2567
        <org.gvsig.proj.swing.impl>org.gvsig.proj.swing.impl</org.gvsig.proj.swing.impl>
2568
        <org.gvsig.symbology.lib.impl>org.gvsig.symbology.lib.impl</org.gvsig.symbology.lib.impl>
2569
        <org.gvsig.symbology.swing.impl>org.gvsig.symbology.swing.impl</org.gvsig.symbology.swing.impl>
2570
        <org.gvsig.timesupport.lib.impl>org.gvsig.timesupport.lib.impl</org.gvsig.timesupport.lib.impl>
2571
        <org.gvsig.timesupport.swing.impl>org.gvsig.timesupport.swing.impl</org.gvsig.timesupport.swing.impl>
2572
        <org.gvsig.tools.dynform.impl>org.gvsig.tools.dynform.impl</org.gvsig.tools.dynform.impl>
2573
        <org.gvsig.tools.dynform.services>org.gvsig.tools.dynform.services</org.gvsig.tools.dynform.services>
2574
        <org.gvsig.tools.swing.impl>org.gvsig.tools.swing.impl</org.gvsig.tools.swing.impl>
2575

    
2576
        <jython.artifactId>jython-standalone</jython.artifactId>
2577
        <!-- External project versions -->
2578
        <gvsig.tools.version>3.0.68</gvsig.tools.version>
2579
        <gvsig.proj.version>1.0.1</gvsig.proj.version>
2580
        <gvsig.projection.api.version>2.0.21</gvsig.projection.api.version>
2581

    
2582
    </properties>
2583

    
2584
    <modules>
2585
        <module>org.gvsig.desktop.compat.cdc</module>
2586
        <module>org.gvsig.desktop.library</module>
2587
        <module>org.gvsig.desktop.framework</module>
2588
        <module>org.gvsig.desktop.plugin</module>
2589

    
2590
        <!-- NOTE: Project  org.gvsig.desktop.installer must not be a sub module of this. -->
2591
        <!-- NOTE: Project  org.gvsig.desktop.buildtools must not be a sub module of this. -->
2592

    
2593
    </modules>
2594
</project>
2595