Statistics
| Revision:

svn-gvsig-desktop / tags / org.gvsig.desktop-2.0.130 / pom.xml @ 44118

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.130</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.130</connection>
46
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.130</developerConnection>
47
        <url>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.130</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.jopendocument</groupId>
535
                <artifactId>jOpenDocument</artifactId>
536
                <version>1.3</version>
537
            </dependency>
538
            <dependency>
539
                <groupId>org.jpedal</groupId>
540
                <artifactId>jpedal_lgpl</artifactId>
541
                <version>4.37b36</version>
542
            </dependency>
543
            <dependency>
544
                <groupId>org.jruby</groupId>
545
                <artifactId>jruby</artifactId>
546
                <version>1.5.6</version>
547
            </dependency>
548
            <dependency>
549
                <groupId>rhino</groupId>
550
                <artifactId>js</artifactId>
551
                <!-- This is the version already included in Java 1.6 -->
552
                <version>1.6R2</version>
553
            </dependency>
554
            <dependency>
555
                <groupId>net.sf</groupId>
556
                <artifactId>jsi</artifactId>
557
                <version>unknown</version>
558
            </dependency>
559
            <dependency>
560
                <groupId>javax.units</groupId>
561
                <artifactId>jsr108</artifactId>
562
                <version>0.01</version>
563
            </dependency>
564
            <dependency>
565
                <groupId>com.vividsolutions</groupId>
566
                <artifactId>jts</artifactId>
567
                <version>1.13</version>
568
            </dependency>
569
            <dependency>
570
                <groupId>junit</groupId>
571
                <artifactId>junit</artifactId>
572
                <version>3.8.1</version>
573
            </dependency>
574
            <dependency>
575
                <groupId>jwizardcomponent</groupId>
576
                <artifactId>jwizardcomponent</artifactId>
577
                <version>1.2.2</version>
578
            </dependency>
579
            <dependency>
580
                <groupId>jwizardcomponent</groupId>
581
                <artifactId>jwizardcomponent-0i18n</artifactId>
582
                <version>1.2.2.1</version>
583
            </dependency>
584
            <dependency>
585
                <groupId>org.python</groupId>
586
                <artifactId>${jython.artifactId}</artifactId>
587
                <version>2.7.1b2</version>
588
            </dependency>
589
            <dependency>
590
                <groupId>org.jzkit</groupId>
591
                <artifactId>jzkit2-core</artifactId>
592
                <version>2.0.0</version>
593
            </dependency>
594
            <dependency>
595
                <groupId>org.jzkit</groupId>
596
                <artifactId>jzkit2-z3950</artifactId>
597
                <version>2.0.0</version>
598
            </dependency>
599
            <dependency>
600
                <groupId>org.jzkit</groupId>
601
                <artifactId>jzkit2-origin</artifactId>
602
                <version>2.0.0</version>
603
            </dependency>
604
<!--            <dependency>
605
                <groupId>net.sf.kxml</groupId>
606
                <artifactId>kxml2</artifactId>
607
                <version>2.2.2</version>
608
            </dependency>-->
609
            <dependency>
610
                <groupId>log4j</groupId>
611
                <artifactId>log4j</artifactId>
612
                <version>1.2.14</version>
613
            </dependency>
614
            <dependency>
615
                <groupId>com.googlecode.log4jdbc</groupId>
616
                <artifactId>log4jdbc</artifactId>
617
                <version>1.2</version>
618
            </dependency>
619
<!--            <dependency>
620
                <groupId>com.jgoodies</groupId>
621
                <artifactId>jgoodies-common</artifactId>
622
                <version>1.4.0</version>
623
            </dependency>
624
            <dependency>
625
                <groupId>com.jgoodies</groupId>
626
                <artifactId>jgoodies-forms</artifactId>
627
                <version>1.6.0</version>
628
            </dependency>
629
            <dependency>
630
                <groupId>com.jgoodies</groupId>
631
                <artifactId>looks</artifactId>
632
                <version>2.2.2</version>
633
            </dependency>-->
634
            <dependency>
635
                <groupId>com.ostermiller</groupId>
636
                <artifactId>ostermillerutils</artifactId>
637
                <version>1.4.3</version>
638
            </dependency>
639
            <dependency>
640
                <groupId>mysql</groupId>
641
                <artifactId>mysql-connector-java</artifactId>
642
                <version>5.1.6</version>
643
            </dependency>
644
            <dependency>
645
                <groupId>postgresql</groupId>
646
                <artifactId>postgresql</artifactId>
647
                <version>9.1-901.jdbc3</version>
648
            </dependency>
649
            <dependency>
650
                <groupId>es.unex</groupId>
651
                <artifactId>sextante</artifactId>
652
                <version>0.6.0</version>
653
            </dependency>
654
            <dependency>
655
                <groupId>es.unex</groupId>
656
                <artifactId>sextante_gui</artifactId>
657
                <version>0.6.0</version>
658
            </dependency>
659
            <dependency>
660
                <groupId>es.unex</groupId>
661
                <artifactId>sextante_wps</artifactId>
662
                <version>0.6.0</version>
663
            </dependency>
664
            <dependency>
665
                <groupId>es.unex</groupId>
666
                <artifactId>libMath</artifactId>
667
                <version>0.6.0</version>
668
            </dependency>
669
            <dependency>
670
                <groupId>es.unex</groupId>
671
                <artifactId>libDocEngines</artifactId>
672
                <version>0.6.0</version>
673
            </dependency>
674
            <dependency>
675
                <groupId>org.apache.directory.studio</groupId>
676
                <artifactId>org.apache.commons.pool</artifactId>
677
                <version>1.6</version>
678
            </dependency>
679
            <dependency>
680
                <groupId>org.osgeo</groupId>
681
                <artifactId>proj4j</artifactId>
682
                <version>0.1.0</version>
683
            </dependency>
684
            <dependency>
685
                <groupId>com.fifesoft</groupId>
686
                <artifactId>rsyntaxtextarea</artifactId>
687
                <version>2.5.7</version>
688
            </dependency>
689
            <dependency>
690
                <groupId>com.fifesoft</groupId>
691
                <artifactId>rstaui</artifactId>
692
                <version>2.5.7</version>
693
            </dependency>
694
            <dependency>
695
                <groupId>sil</groupId>
696
                <artifactId>sil</artifactId>
697
                <version>0.43b-am1</version>
698
            </dependency>
699
<!--            <dependency>
700
                <groupId>org.slf4j</groupId>
701
                <artifactId>slf4j-api</artifactId>
702
                <version>1.5.5</version>
703
            </dependency>
704
            <dependency>
705
                <groupId>org.slf4j</groupId>
706
                <artifactId>slf4j-log4j12</artifactId>
707
                <version>1.5.5</version>
708
            </dependency>-->
709
            <dependency>
710
                <groupId>net.sf.smc</groupId>
711
                <artifactId>smc</artifactId>
712
                <version>4.3</version>
713
            </dependency>
714
            <dependency>
715
                <groupId>soap</groupId>
716
                <artifactId>soap</artifactId>
717
                <version>2.3</version>
718
            </dependency>
719
            <dependency>
720
                <groupId>spatialindex</groupId>
721
                <artifactId>spatialindex</artifactId>
722
                <version>unknown</version>
723
            </dependency>
724
            <dependency>
725
                <groupId>org.springframework</groupId>
726
                <artifactId>spring</artifactId>
727
                <version>1.2.8</version>
728
            </dependency>
729
            <dependency>
730
                <groupId>net.sf</groupId>
731
                <artifactId>sqljep</artifactId>
732
                <version>0.2.1</version>
733
            </dependency>
734
            <dependency>
735
                <groupId>net.sf.supercsv</groupId>
736
                <artifactId>super-csv</artifactId>
737
                <version>2.1.0</version>
738
            </dependency>
739
            <dependency>
740
                <groupId>org.tmatesoft.svnkit</groupId>
741
                <artifactId>svnkit</artifactId>
742
                <version>1.3.3</version>
743
            </dependency>
744
            <dependency>
745
                <groupId>org.tmatesoft.svnkit</groupId>
746
                <artifactId>svnkit-cli</artifactId>
747
                <version>1.3.3</version>
748
            </dependency>
749
            <dependency>
750
                <groupId>tablelayout</groupId>
751
                <artifactId>TableLayout</artifactId>
752
                <version>20050920</version>
753
            </dependency>
754
            <dependency>
755
                <groupId>info.clearthought</groupId>
756
                <artifactId>TableLayout-bin-jdk1.5</artifactId>
757
                <version>2007-04-21</version>
758
            </dependency>
759
            <dependency>
760
                <groupId>net.sourceforge.thinlet</groupId>
761
                <artifactId>thinlet</artifactId>
762
                <version>2005-03-28</version>
763
            </dependency>
764
            <dependency>
765
                <groupId>gnu.trove</groupId>
766
                <artifactId>trove</artifactId>
767
                <version>0.1.8</version>
768
            </dependency>
769
            <dependency>
770
                <groupId>java3d</groupId>
771
                <artifactId>vecmath</artifactId>
772
                <version>1.3.1</version>
773
            </dependency>
774
            <dependency>
775
                <groupId>org.apache</groupId>
776
                <artifactId>xbean</artifactId>
777
                <version>2.2.0</version>
778
            </dependency>
779
            <dependency>
780
                <groupId>xerces</groupId>
781
                <artifactId>xercesImpl</artifactId>
782
                <version>2.11.0</version>
783
            </dependency>
784
            <dependency>
785
                <groupId>xml-apis</groupId>
786
                <artifactId>xml-apis</artifactId>
787
                <version>1.4.01</version>
788
            </dependency>
789
            <dependency>
790
                <groupId>xml-apis</groupId>
791
                <artifactId>xml-apis-ext</artifactId>
792
                <version>1.3.04</version>
793
            </dependency>
794
            <dependency>
795
                <groupId>xmlpull</groupId>
796
                <artifactId>xmlpull</artifactId>
797
                <version>1.1.3.1</version>
798
            </dependency>
799
            <dependency>
800
                <groupId>zql</groupId>
801
                <artifactId>zql</artifactId>
802
                <version>unknown</version>
803
            </dependency>
804

    
805
            <!-- External gvSIG projects -->
806

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

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

    
897
            <!-- Childs projects -->
898

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

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

    
1122

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

    
1298
            <dependency>
1299
                <groupId>org.gvsig</groupId>
1300
                <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
1301
                <version>2.0.130</version>
1302
            </dependency>
1303
            <dependency>
1304
                <groupId>org.gvsig</groupId>
1305
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1306
                <version>2.0.130</version>
1307
            </dependency>
1308
            <dependency>
1309
                <groupId>org.gvsig</groupId>
1310
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1311
                <version>2.0.130</version>
1312
                <type>test-jar</type>
1313
                <scope>test</scope>
1314
            </dependency>
1315
            <dependency>
1316
                <groupId>org.gvsig</groupId>
1317
                <artifactId>org.gvsig.daltransform.app.join</artifactId>
1318
                <version>2.0.130</version>
1319
            </dependency>
1320
            <dependency>
1321
                <groupId>org.gvsig</groupId>
1322
                <artifactId>org.gvsig.daltransform.app.eventtheme</artifactId>
1323
                <version>2.0.130</version>
1324
            </dependency>
1325

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

    
1426
        </dependencies>
1427
    </dependencyManagement>
1428

    
1429
    <dependencies>
1430
        <dependency>
1431
            <groupId>junit</groupId>
1432
            <artifactId>junit</artifactId>
1433
            <scope>test</scope>
1434
        </dependency>
1435
    </dependencies>
1436

    
1437
    <build>
1438
        <extensions>
1439
            <extension>
1440
                <groupId>org.apache.maven.wagon</groupId>
1441
                <artifactId>wagon-webdav-jackrabbit</artifactId>
1442
                <version>2.4</version>
1443
            </extension>
1444
        </extensions>
1445

    
1446
        <pluginManagement>
1447
            <plugins>
1448

    
1449
                <plugin>
1450
                    <groupId>org.apache.maven.plugins</groupId>
1451
                    <artifactId>maven-scm-plugin</artifactId>
1452
                    <version>1.9</version>
1453
                    <configuration>
1454
                        <connectionType>connection</connectionType>
1455
                    </configuration>
1456
                </plugin>
1457

    
1458
                <plugin>
1459
                    <groupId>org.apache.maven.plugins</groupId>
1460
                    <artifactId>maven-compiler-plugin</artifactId>
1461
                    <version>2.3.2</version>
1462
                    <configuration>
1463
                        <source>1.7</source>
1464
                        <target>1.7</target>
1465
                        <encoding>ISO-8859-1</encoding>
1466
                    </configuration>
1467
                </plugin>
1468

    
1469
                <plugin>
1470
                    <groupId>org.apache.maven.plugins</groupId>
1471
                    <artifactId>maven-resources-plugin</artifactId>
1472
                    <version>2.4.3</version>
1473
                    <configuration>
1474
                        <encoding>ISO-8859-1</encoding>
1475
                    </configuration>
1476
                </plugin>
1477

    
1478
                <plugin>
1479
                    <groupId>org.apache.maven.plugins</groupId>
1480
                    <artifactId>maven-eclipse-plugin</artifactId>
1481
                    <configuration>
1482
                        <downloadSources>true</downloadSources>
1483
                        <downloadJavadocs>true</downloadJavadocs>
1484
                        <projectNameTemplate>${project.artifactId}</projectNameTemplate>
1485
                    </configuration>
1486
                </plugin>
1487

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

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

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

    
1573
                <plugin>
1574
                    <groupId>org.apache.maven.plugins</groupId>
1575
                    <artifactId>maven-site-plugin</artifactId>
1576
                    <version>3.3</version>
1577
                    <configuration>
1578
                        <chmod>true</chmod>
1579
                        <chmodMode>a+rwX</chmodMode>
1580
                    </configuration>
1581
                </plugin>
1582

    
1583
                <plugin>
1584
                    <groupId>org.apache.maven.plugins</groupId>
1585
                    <artifactId>maven-jar-plugin</artifactId>
1586
                    <version>2.3.1</version>
1587
                    <configuration>
1588
                        <archive>
1589
                            <manifestEntries>
1590
                                <Built-By>gvSIG Team</Built-By>
1591
                            </manifestEntries>
1592
                        </archive>
1593
                    </configuration>
1594
                </plugin>
1595

    
1596
                <plugin>
1597
                    <groupId>org.codehaus.mojo</groupId>
1598
                    <artifactId>properties-maven-plugin</artifactId>
1599
                    <version>1.0-alpha-2</version>
1600
                </plugin>
1601

    
1602
                <plugin>
1603
                    <groupId>org.apache.maven.plugins</groupId>
1604
                    <artifactId>maven-antrun-plugin</artifactId>
1605
                    <version>1.7</version>
1606
                </plugin>
1607

    
1608
                <plugin>
1609
                    <groupId>org.codehaus.mojo</groupId>
1610
                    <artifactId>animal-sniffer-maven-plugin</artifactId>
1611
                    <version>1.9</version>
1612
                </plugin>
1613

    
1614
                <plugin>
1615
                    <groupId>org.apache.maven.plugins</groupId>
1616
                    <artifactId>maven-release-plugin</artifactId>
1617
                    <version>2.4.1</version>
1618
                </plugin>
1619

    
1620
                <plugin>
1621
                    <groupId>org.apache.maven.plugins</groupId>
1622
                    <artifactId>maven-deploy-plugin</artifactId>
1623
                    <version>2.6</version>
1624
                </plugin>
1625

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

    
1645
                <plugin>
1646
                    <groupId>org.apache.maven.plugins</groupId>
1647
                    <artifactId>maven-clean-plugin</artifactId>
1648
                    <version>2.4.1</version>
1649
                </plugin>
1650

    
1651
                <plugin>
1652
                    <groupId>org.codehaus.mojo</groupId>
1653
                    <artifactId>exec-maven-plugin</artifactId>
1654
                    <version>1.2</version>
1655
                </plugin>
1656

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

    
1692
                <!-- Habria que ver si es posible sustituir el plugin -->
1693
                <!-- com.mycila.maven-license-plugin:maven-license-plugin por este -->
1694
                <!-- Ver http://mojo.codehaus.org/license-maven-plugin/index.html -->
1695
                <!--
1696
                <plugin>
1697
                    <groupId>org.codehaus.mojo</groupId>
1698
                    <artifactId>license-maven-plugin</artifactId>
1699
                    <version>1.5</version>
1700
                </plugin>
1701
                -->
1702

    
1703
                <plugin>
1704
                    <groupId>org.apache.maven.plugins</groupId>
1705
                    <artifactId>maven-checkstyle-plugin</artifactId>
1706
                    <version>2.10</version>
1707
                </plugin>
1708

    
1709
                <plugin>
1710
                    <groupId>org.apache.maven.plugins</groupId>
1711
                    <artifactId>maven-source-plugin</artifactId>
1712
                    <version>2.2.1</version>
1713
                </plugin>
1714

    
1715
                <plugin>
1716
                    <groupId>org.codehaus.gmaven</groupId>
1717
                    <artifactId>gmaven-plugin</artifactId>
1718
                    <version>1.4</version>
1719
                    <dependencies>
1720
                        <dependency>
1721
                            <groupId>com.github.lookfirst</groupId>
1722
                            <artifactId>sardine</artifactId>
1723
                            <version>5.0.1</version>
1724
                        </dependency>
1725
                    </dependencies>
1726
                    <executions>
1727

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

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

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

    
1790
                        props.store(package_info_file.newWriter(), null)
1791

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

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

    
1834
                      log.info("Building package index " + pkgname + ".gvspki")
1835
                      package_index_source  = project.basedir.getAbsolutePath() + "/target/gvspki"
1836
                      package_index_target  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1837
                      ant.zip(destfile: package_index_target, basedir: package_index_source)
1838
                    }
1839
                  ]]></source>
1840
                            </configuration>
1841
                        </execution>
1842

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

    
1862
                      log.debug("gvsig.install.plugin=" + project.properties["gvsig.install.plugin"])
1863
                      log.debug("gvsig.install.plugin.package=" + project.properties["gvsig.install.plugin.package"])
1864
                                          if( project.properties["gvsig.install.plugin"]=="true" ) {
1865
                              source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1866
                              target = project.properties["gvsig.product.folder.path"] + "/gvSIG/extensiones/"
1867

    
1868
                        log.info("Removing plugin of " + target + "/" + project.properties["gvsig.package.info.code"])
1869
                        ant.delete(failonerror:false, dir:target + "/" + project.properties["gvsig.package.info.code"])
1870

    
1871
                        target + "/" + project.properties["gvsig.package.info.code"]
1872

    
1873
                              log.info("Install plugin to " + target)
1874
                              ant.unzip(src: source, dest: target)
1875
                      } else {
1876
                          log.info("Skip plugin install.")
1877
                      }
1878
                      if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1879
                          source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1880
                              target = new File(project.properties["gvsig.product.folder.path"] +
1881
                                "/install/" +
1882
                                project.properties["gvsig.package.info.code"] + "/" +
1883
                                pkgname + ".gvspkg")
1884
                              target.getParentFile().mkdirs()
1885

    
1886
                              log.info("Copy plugin package from " + source + " to " + target)
1887
                              ant.copy(file:source, tofile:target.getAbsolutePath())
1888

    
1889
                              source  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1890
                              target = project.properties["gvsig.product.folder.path"] +
1891
                                "/install/" +
1892
                                project.properties["gvsig.package.info.code"] + "/" +
1893
                                pkgname + ".gvspki"
1894
                              log.info("Copy plugin package index from " + source + " to " + target)
1895
                              ant.copy(file:source, tofile:target)
1896
                      } else {
1897
                          log.info("Skip plugin package install.")
1898
                                          }
1899
                    }
1900
                  ]]></source>
1901
                            </configuration>
1902
                        </execution>
1903

    
1904
                        <execution>
1905
                            <id>deploy-package</id>
1906
                            <phase>install</phase>
1907
                            <configuration>
1908
                                <source><![CDATA[
1909

    
1910
// To deploy package use:
1911
//    mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
1912
//
1913
if( project.properties["deploy-package"] != null ) {
1914
    if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1915
        poolURL = project.properties["gvsig.package.info.poolURL"];
1916
        if( poolURL[-1] != "/" ) {
1917
            poolURL = poolURL + "/";
1918
        }
1919
        targetPath = poolURL + project.properties["gvsig.package.info.code"];
1920
        log.info("Deploy plugin package to '"+targetPath+"'.");
1921

    
1922
        pkgname = "gvSIG-desktop-" +
1923
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1924
        project.properties["gvsig.package.info.code"] + "-" +
1925
        project.properties["gvsig.package.info.version"] + "-" +
1926
        project.properties["buildNumber"] + "-" +
1927
        project.properties["gvsig.package.info.state"] + "-" +
1928
        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1929
        project.properties["gvsig.package.info.architecture"] + "-" +
1930
        project.properties["gvsig.package.info.javaVM"];
1931

    
1932
        source = project.basedir.getAbsolutePath() + "/target/" + pkgname
1933
        targetPath = poolURL + project.properties["gvsig.package.info.code"]
1934

    
1935
        log.info("Creating addon-request.txt in target folder");
1936
        new File(project.basedir.getAbsolutePath() + "/target/addon-request.txt").withWriter { out ->
1937
            out.println("");
1938
            out.println("# "+pkgname);
1939
            out.println("");
1940
            out.println(targetPath+"/" + pkgname + ".gvspki");
1941
            out.println("");
1942
        }
1943

    
1944
        if( project.properties["username"] == null ) {
1945
            print("Enter user name: ");
1946
            user = System.console().readLine().toString()
1947
            if( user != "" ) {
1948
                project.properties.setProperty("username",user);
1949
            }
1950
        }
1951
        if( project.properties["password"] == null ) {
1952
            print("Enter password for user '" + project.properties["username"] + "': ");
1953
            password = System.console().readPassword().toString()
1954
            if( password != "" ) {
1955
                project.properties.setProperty("password",password);
1956
            }
1957
        }
1958
        WebDAVClient session = new WebDAVClient(log);
1959
        if( project.properties["username"] == null || project.properties["password"] == null ) {
1960
            log.info("[WEBDAV] creating non authenticated session.");
1961
            log.info("[WEBDAV] Use -Duser=USER -Dpassword=PASSWORD to create a authenticated session.");
1962
            session.login();
1963
        } else {
1964
            session.login(project.properties["username"], project.properties["password"]);
1965
        }
1966
        session.makedirs(targetPath);
1967
        session.put(source + ".gvspkg.zip", targetPath+"/"+pkgname+ ".gvspkg");
1968
        session.put(source + ".gvspki", targetPath+"/"+pkgname+ ".gvspki");
1969

    
1970
    } else {
1971
        log.info("Skip plugin package deploy. It not be installed by default.");
1972
    }
1973
} else {
1974
    log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
1975
}
1976

    
1977
public class WebDAVClient {
1978

    
1979
    def log;
1980

    
1981
    private String user;
1982
    private String password;
1983
    private Object sardine;
1984

    
1985
    public WebDAVClient(log) {
1986
        disableCertificateValidation();
1987
            this.log = log;
1988
    }
1989

    
1990
    public void login(String user, String password) {
1991
        log.info("[WEBDAV] login as '"+user+"'.");
1992
        def SardineFactory
1993
        try {
1994
            SardineFactory = "com.github.sardine.SardineFactory" as Class
1995
        } catch (Exception ex) {
1996
            log.error("[WEBDAV] can't get SardineFactory.",ex);
1997
        }
1998
        this.user = user;
1999
        this.password = password;
2000
        this.sardine = SardineFactory.begin(this.user,this.password);
2001
    }
2002

    
2003
    public void login() {
2004
        log.info("[WEBDAV] login as guest");
2005
        this.sardine = SardineFactory.begin();
2006
    }
2007

    
2008
    public boolean exists(String url) throws Exception {
2009
        return sardine.exists(url);
2010
    }
2011

    
2012
    public void put(String source, String target) throws Exception {
2013
        log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
2014
        InputStream fis = new FileInputStream(new File(source));
2015
        sardine.put(target, fis);
2016
        log.info("[WEBDAV] put ok.");
2017
    }
2018

    
2019
    public void mkdir(String url) throws Exception {
2020
        if( ! exists(url) ) {
2021
            log.info("[WEBDAV] mkdir '"+url+"'.");
2022
            sardine.createDirectory(url);
2023
        }
2024
    }
2025

    
2026
    public List list(String url) throws Exception {
2027
        List resources = sardine.list(url);
2028
        return resources;
2029
    }
2030

    
2031
    void disableCertificateValidation() {
2032
    /*
2033
        javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
2034
        trustAllCerts[0] = new javax.net.ssl.X509TrustManager() {
2035
                public java.security.cert.X509Certificate[] getAcceptedIssuers() {
2036
                    return new java.security.cert.X509Certificate[0];
2037
                }
2038

    
2039
                public void checkClientTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2040
                }
2041

    
2042
                public void checkServerTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2043
                }
2044
            };
2045

    
2046
        // Ignore differences between given hostname and certificate hostname
2047
        javax.net.ssl.HostnameVerifier hv = new javax.net.ssl.HostnameVerifier() {
2048
            public boolean verify(String hostname, javax.net.ssl.SSLSession session) {
2049
                return true;
2050
            }
2051
        };
2052

    
2053
        // Install the all-trusting trust manager
2054
        try {
2055
            javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
2056
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
2057
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
2058
            javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
2059
        } catch (Exception e) {
2060
        }
2061
        */
2062
    }
2063

    
2064
    public void makedirs(String url) throws Exception {
2065
        log.info("[WEBDAV] makedirs '"+url+"'.");
2066
        URL u = new URL(url);
2067
        String[] x = u.getPath().split("/");
2068
        String path = "";
2069
        for (int i=1; i<x.length; i++) { path = path + "/" + x[i]; URL t = new URL(u,path); mkdir(t.toString()); } }
2070
} ]]></source>
2071
                            </configuration>
2072
                        </execution>
2073

    
2074
                    </executions>
2075
                </plugin>
2076

    
2077
            </plugins>
2078
        </pluginManagement>
2079

    
2080
        <plugins>
2081
            <plugin>
2082
                <groupId>org.apache.maven.plugins</groupId>
2083
                <artifactId>maven-scm-plugin</artifactId>
2084
            </plugin>
2085

    
2086
            <plugin>
2087
                <artifactId>maven-clean-plugin</artifactId>
2088
                <configuration>
2089
                    <filesets>
2090
                        <fileset>
2091
                            <directory>${user.home}/.depman/</directory>
2092
                            <includes>
2093
                                <include>**</include>
2094
                            </includes>
2095
                        </fileset>
2096
                    </filesets>
2097
                    <followSymLinks>true</followSymLinks>
2098
                </configuration>
2099
            </plugin>
2100

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

    
2119
            <plugin>
2120
                <!-- load ".gvsig-devel.properties" -->
2121
                <groupId>org.codehaus.mojo</groupId>
2122
                <artifactId>properties-maven-plugin</artifactId>
2123
                <configuration>
2124
                    <files>
2125
                        <!-- Define gvsig.product.folder.path in this property -->
2126
                        <file>${user.home}/.gvsig-devel.properties</file>
2127
                        <file>${env.HOME}/.gvsig-devel.properties</file>
2128
                        <file>${project.basedir}/gvsig-devel.properties</file>
2129
                        <file>buildNumber.properties</file>
2130
                    </files>
2131
                    <quiet>true</quiet>
2132
                </configuration>
2133
                <executions>
2134
                    <execution>
2135
                        <id>default</id>
2136
                        <phase>prepare-package</phase>
2137
                        <goals>
2138
                            <goal>read-project-properties</goal>
2139
                        </goals>
2140
                    </execution>
2141
                    <execution>
2142
                        <id>default-clean</id>
2143
                        <phase>pre-clean</phase>
2144
                        <goals>
2145
                            <goal>read-project-properties</goal>
2146
                        </goals>
2147
                    </execution>
2148
                </executions>
2149
            </plugin>
2150

    
2151

    
2152
            <plugin>
2153
                <groupId>org.codehaus.mojo</groupId>
2154
                <artifactId>animal-sniffer-maven-plugin</artifactId>
2155
                <executions>
2156
                    <execution>
2157
                        <id>check-java-api</id>
2158
                        <phase>package</phase>
2159
                        <goals>
2160
                            <goal>check</goal>
2161
                        </goals>
2162
                        <configuration>
2163
                            <skip>false</skip>
2164
                            <signature>
2165
                                <groupId>org.codehaus.mojo.signature</groupId>
2166
                                <artifactId>java17</artifactId>
2167
                                <version>1.0</version>
2168
                            </signature>
2169
                            <ignores>
2170
                                <ignore>net.sourceforge.cobertura.coveragedata.TouchCollector</ignore>
2171
                            </ignores>
2172
                        </configuration>
2173
                    </execution>
2174
                </executions>
2175
            </plugin>
2176

    
2177
            <plugin>
2178
                <groupId>org.apache.maven.plugins</groupId>
2179
                <artifactId>maven-javadoc-plugin</artifactId>
2180
                <executions>
2181
                    <execution>
2182
                        <id>attach-javadocs</id>
2183
                        <goals>
2184
                            <goal>jar</goal>
2185
                        </goals>
2186
                    </execution>
2187
                </executions>
2188
            </plugin>
2189

    
2190
            <plugin>
2191
                <groupId>org.apache.maven.plugins</groupId>
2192
                <artifactId>maven-source-plugin</artifactId>
2193
                <configuration>
2194
                    <skipSource>false</skipSource> <!-- User property is: source.skip. -->
2195
                </configuration>
2196
                <executions>
2197
                    <execution>
2198
                        <id>attach-sources</id>
2199
                        <phase>verify</phase>
2200
                        <goals>
2201
                            <goal>jar-no-fork</goal>
2202
                        </goals>
2203
                    </execution>
2204
                    <execution>
2205
                        <id>attach-test-sources</id>
2206
                        <phase>verify</phase>
2207
                        <goals>
2208
                            <goal>test-jar-no-fork</goal>
2209
                        </goals>
2210
                    </execution>
2211
                </executions>
2212
            </plugin>
2213

    
2214
            <plugin>
2215
                <groupId>org.apache.maven.plugins</groupId>
2216
                <artifactId>maven-checkstyle-plugin</artifactId>
2217
                <!-- invoke as "mvn checkstyle:checkstyle"  or "mvn site" -->
2218
                <configuration>
2219
                    <skip>false</skip> <!-- User property is: checkstyle.skip. -->
2220
                    <enableRulesSummary>true</enableRulesSummary>
2221
                    <failsOnError>false</failsOnError>
2222
                    <configLocation>gvsig/checkstyle.xml</configLocation>
2223
                    <headerLocation>gvsig/LICENSE.txt</headerLocation>
2224
                </configuration>
2225
                <dependencies>
2226
                    <dependency>
2227
                        <groupId>org.gvsig</groupId>
2228
                        <artifactId>org.gvsig.desktop.buildtools</artifactId>
2229
                        <version>1.0.0</version>
2230
                    </dependency>
2231
                </dependencies>
2232
            </plugin>
2233

    
2234
            <plugin>
2235
                <!-- to continue building  when test fail -->
2236
                <groupId>org.apache.maven.plugins</groupId>
2237
                <artifactId>maven-surefire-plugin</artifactId>
2238
                <configuration>
2239
                    <testFailureIgnore>true</testFailureIgnore>
2240
                </configuration>
2241
            </plugin>
2242

    
2243
        </plugins>
2244
    </build>
2245

    
2246

    
2247
    <reporting>
2248
        <excludeDefaults>true</excludeDefaults>
2249
        <plugins>
2250
            <plugin>
2251
                <groupId>org.apache.maven.plugins</groupId>
2252
                <artifactId>maven-project-info-reports-plugin</artifactId>
2253
                <version>2.7</version>
2254
                <reportSets>
2255
                    <reportSet>
2256
                        <reports>
2257
                            <report>index</report>
2258
                            <report>summary</report>
2259
                            <report>scm</report>
2260
                            <report>license</report>
2261
                            <report>project-team</report>
2262
                            <report>issue-tracking</report>
2263
                            <report>mailing-list</report>
2264
                            <report>modules</report>
2265

    
2266
                            <report>dependency-info</report>
2267
                            <!-- Removed due to its high cost
2268
                            <report>dependency-management</report>
2269
                            <report>dependencies</report>
2270
                            -->
2271
                            <report>dependency-convergence</report>
2272

    
2273
                            <!--
2274
                            <report>plugins</report>
2275
                            <report>plugin-management</report>
2276
                            <report>distribution-management</report>
2277
                            -->
2278

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

    
2329
        </plugins>
2330
    </reporting>
2331

    
2332

    
2333
    <profiles>
2334

    
2335
        <profile>
2336
            <!-- This profile is used to initialize and install the root folder of gvSIG -->
2337
            <id>gvsig-root</id>
2338
            <activation>
2339
                <file>
2340
                    <exists>src/main/assembly/gvsig-root-folder-package.xml</exists>
2341
                </file>
2342
            </activation>
2343
            <build>
2344
                <plugins>
2345

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

    
2410
                        </executions>
2411
                    </plugin>
2412

    
2413
                </plugins>
2414
            </build>
2415
        </profile>
2416

    
2417

    
2418

    
2419
        <profile>
2420
            <!-- This profile is used to packege and install the gvSIG plugins -->
2421
            <id>gvsig-plugin</id>
2422
            <activation>
2423
                <file>
2424
                    <exists>buildNumber.properties</exists>
2425
                </file>
2426
            </activation>
2427
            <build>
2428
                <plugins>
2429

    
2430
                    <plugin>
2431
                        <artifactId>maven-assembly-plugin</artifactId>
2432
                        <executions>
2433
                            <execution>
2434
                                <id>gvsig-plugin-package</id>
2435
                                <phase>package</phase>
2436
                                <goals>
2437
                                    <goal>single</goal>
2438
                                </goals>
2439
                            </execution>
2440
                        </executions>
2441
                    </plugin>
2442

    
2443
                    <plugin>
2444
                        <artifactId>maven-clean-plugin</artifactId>
2445
                        <configuration>
2446
                            <skip>false</skip>
2447
                            <failOnError>true</failOnError>
2448
                            <filesets>
2449
                                <fileset>
2450
                                    <directory>${gvsig.product.folder.path}/gvSIG/extensiones/${project.artifactId}</directory>
2451
                                </fileset>
2452
                            </filesets>
2453
                        </configuration>
2454
                        <executions>
2455
                            <execution>
2456
                                <id>default-clean</id>
2457
                                <phase>clean</phase>
2458
                            </execution>
2459
                        </executions>
2460
                    </plugin>
2461

    
2462
                    <plugin>
2463
                        <groupId>org.codehaus.gmaven</groupId>
2464
                        <artifactId>gmaven-plugin</artifactId>
2465
                        <executions>
2466

    
2467
                            <execution>
2468
                                <id>increase-build-number</id>
2469
                                <phase>process-sources</phase>
2470
                                <goals>
2471
                                    <goal>execute</goal>
2472
                                </goals>
2473
                            </execution>
2474

    
2475
                            <execution>
2476
                                <id>build-package-info</id>
2477
                                <phase>prepare-package</phase>
2478
                                <goals>
2479
                                    <goal>execute</goal>
2480
                                </goals>
2481
                            </execution>
2482

    
2483
                            <execution>
2484
                                <id>build-package-index</id>
2485
                                <phase>package</phase>
2486
                                <goals>
2487
                                    <goal>execute</goal>
2488
                                </goals>
2489
                            </execution>
2490

    
2491
                            <execution>
2492
                                <id>install-plugin</id>
2493
                                <phase>install</phase>
2494
                                <goals>
2495
                                    <goal>execute</goal>
2496
                                </goals>
2497
                            </execution>
2498

    
2499
                            <execution>
2500
                                <id>deploy-package</id>
2501
                                <phase>install</phase>
2502
                                <goals>
2503
                                    <goal>execute</goal>
2504
                                </goals>
2505
                            </execution>
2506

    
2507
                        </executions>
2508
                    </plugin>
2509

    
2510
                </plugins>
2511
            </build>
2512
        </profile>
2513

    
2514
    </profiles>
2515

    
2516
    <properties>
2517
        <!-- General configuration -->
2518
        <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
2519
        <localRepository>${user.home}/.m2/repository</localRepository>
2520
        <site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository>
2521

    
2522
        <!-- The property svn.tags.folder is used in external projects to override  -->
2523
        <!-- configuraction in maven-release-plugin -->
2524
        <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-desktop/tags/</svn.tags.folder>
2525

    
2526
        <!-- Package info property values -->
2527
        <gvsig.version>2.3.0</gvsig.version>
2528
        <gvsig.package.info.codealias />
2529
        <gvsig.package.info.code>${project.artifactId}</gvsig.package.info.code>
2530
        <gvsig.package.info.name>${project.name}</gvsig.package.info.name>
2531
        <gvsig.package.info.description>${project.description}</gvsig.package.info.description>
2532
        <gvsig.package.info.version>${project.version}</gvsig.package.info.version>
2533
        <gvsig.package.info.state>testing</gvsig.package.info.state>
2534
        <gvsig.package.info.official>false</gvsig.package.info.official>
2535
        <gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem>
2536
        <gvsig.package.info.architecture>all</gvsig.package.info.architecture>
2537
        <gvsig.package.info.javaVM>j1_7</gvsig.package.info.javaVM>
2538
        <gvsig.package.info.gvSIGVersion>${gvsig.version}</gvsig.package.info.gvSIGVersion>
2539
        <gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin -ge 2.1.0</gvsig.package.info.dependencies>
2540
        <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
2541
        <gvsig.package.info.sourcesURL>${project.scm.connection}</gvsig.package.info.sourcesURL>
2542
        <gvsig.package.info.webURL>http://www.gvsig.com</gvsig.package.info.webURL>
2543
        <gvsig.package.info.categories />
2544
        <gvsig.package.info.poolURL>http://downloads.gvsig.org/download/gvsig-desktop/pool</gvsig.package.info.poolURL>
2545

    
2546
        <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
2547
        <gvsig.install.plugin>true</gvsig.install.plugin>
2548
        <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
2549
        <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
2550

    
2551
        <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
2552

    
2553
        <!-- artifactID implementations libraries for use in runtime and test dependencies -->
2554
        <org.gvsig.about.impl>org.gvsig.about.impl</org.gvsig.about.impl>
2555
        <org.gvsig.annotation.lib.impl>org.gvsig.annotation.lib.impl</org.gvsig.annotation.lib.impl>
2556
        <org.gvsig.annotation.swing.impl>org.gvsig.annotation.swing.impl</org.gvsig.annotation.swing.impl>
2557
        <org.gvsig.compat.impl>org.gvsig.compat.se</org.gvsig.compat.impl>
2558
        <org.gvsig.exportto.lib.impl>org.gvsig.exportto.lib.impl</org.gvsig.exportto.lib.impl>
2559
        <org.gvsig.exportto.swing.impl>org.gvsig.exportto.swing.impl</org.gvsig.exportto.swing.impl>
2560
        <org.gvsig.fmap.dal.impl>org.gvsig.fmap.dal.impl</org.gvsig.fmap.dal.impl>
2561
        <org.gvsig.fmap.dal.swing.impl>org.gvsig.fmap.dal.swing.impl</org.gvsig.fmap.dal.swing.impl>
2562
        <org.gvsig.fmap.geometry.impl>org.gvsig.fmap.geometry.jts</org.gvsig.fmap.geometry.impl>
2563
        <org.gvsig.fmap.geometry.operation.impl>org.gvsig.fmap.geometry.operation.jts</org.gvsig.fmap.geometry.operation.impl>
2564
        <org.gvsig.fmap.mapcontext.impl>org.gvsig.fmap.mapcontext.impl</org.gvsig.fmap.mapcontext.impl>
2565
        <org.gvsig.fmap.mapcontext.operation.impl>org.gvsig.fmap.mapcontext.operation</org.gvsig.fmap.mapcontext.operation.impl>
2566
        <org.gvsig.installer.lib.impl>org.gvsig.installer.lib.impl</org.gvsig.installer.lib.impl>
2567
        <org.gvsig.installer.swing.impl>org.gvsig.installer.swing.impl</org.gvsig.installer.swing.impl>
2568
        <org.gvsig.metadata.lib.basic.impl>org.gvsig.metadata.lib.basic.impl</org.gvsig.metadata.lib.basic.impl>
2569
        <org.gvsig.metadata.swing.basic.impl>org.gvsig.metadata.swing.basic.impl</org.gvsig.metadata.swing.basic.impl>
2570
        <org.gvsig.newlayer.lib.impl>org.gvsig.newlayer.lib.impl</org.gvsig.newlayer.lib.impl>
2571
        <org.gvsig.personaldb.lib.impl>org.gvsig.personaldb.lib.impl</org.gvsig.personaldb.lib.impl>
2572
        <org.gvsig.projection.impl>org.gvsig.projection.cresques.impl</org.gvsig.projection.impl>
2573
        <!--
2574
        <org.gvsig.projection.impl>org.gvsig.projection.jcrs</org.gvsig.projection.impl>
2575
        -->
2576
        <org.gvsig.proj.lib.impl>org.gvsig.proj.lib.proj4j</org.gvsig.proj.lib.impl>
2577
        <org.gvsig.proj.swing.impl>org.gvsig.proj.swing.impl</org.gvsig.proj.swing.impl>
2578
        <org.gvsig.symbology.lib.impl>org.gvsig.symbology.lib.impl</org.gvsig.symbology.lib.impl>
2579
        <org.gvsig.symbology.swing.impl>org.gvsig.symbology.swing.impl</org.gvsig.symbology.swing.impl>
2580
        <org.gvsig.timesupport.lib.impl>org.gvsig.timesupport.lib.impl</org.gvsig.timesupport.lib.impl>
2581
        <org.gvsig.timesupport.swing.impl>org.gvsig.timesupport.swing.impl</org.gvsig.timesupport.swing.impl>
2582
        <org.gvsig.tools.dynform.impl>org.gvsig.tools.dynform.impl</org.gvsig.tools.dynform.impl>
2583
        <org.gvsig.tools.dynform.services>org.gvsig.tools.dynform.services</org.gvsig.tools.dynform.services>
2584
        <org.gvsig.tools.swing.impl>org.gvsig.tools.swing.impl</org.gvsig.tools.swing.impl>
2585

    
2586
        <jython.artifactId>jython-standalone</jython.artifactId>
2587
        <!-- External project versions -->
2588
        <gvsig.tools.version>3.0.80</gvsig.tools.version>
2589
        <gvsig.proj.version>1.0.2</gvsig.proj.version>
2590
        <gvsig.projection.api.version>2.0.21</gvsig.projection.api.version>
2591

    
2592
    </properties>
2593

    
2594
    <modules>
2595
        <module>org.gvsig.desktop.compat.cdc</module>
2596
        <module>org.gvsig.desktop.library</module>
2597
        <module>org.gvsig.desktop.framework</module>
2598
        <module>org.gvsig.desktop.plugin</module>
2599

    
2600
        <!-- NOTE: Project  org.gvsig.desktop.installer must not be a sub module of this. -->
2601
        <!-- NOTE: Project  org.gvsig.desktop.buildtools must not be a sub module of this. -->
2602

    
2603
    </modules>
2604
</project>
2605