Statistics
| Revision:

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

History | View | Annotate | Download (114 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.239</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.239</connection>
46
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.239</developerConnection>
47
        <url>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.239</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

    
215
            <dependency>
216
                <groupId>org.apache.xmlgraphics</groupId>
217
                <artifactId>batik-awt-util</artifactId>
218
                <version>1.7</version>
219
            </dependency>
220
            <dependency>
221
                <groupId>org.apache.xmlgraphics</groupId>
222
                <artifactId>batik-bridge</artifactId>
223
                <version>1.7</version>
224
            </dependency>
225
            <dependency>
226
                <groupId>org.apache.xmlgraphics</groupId>
227
                <artifactId>batik-ext</artifactId>
228
                <version>1.7</version>
229
            </dependency>
230
            <dependency>
231
                <groupId>org.apache.xmlgraphics</groupId>
232
                <artifactId>batik-gui-util</artifactId>
233
                <version>1.7</version>
234
            </dependency>
235
            <dependency>
236
                <groupId>org.apache.xmlgraphics</groupId>
237
                <artifactId>batik-gvt</artifactId>
238
                <version>1.7</version>
239
            </dependency>
240
            <dependency>
241
                <groupId>org.apache.xmlgraphics</groupId>
242
                <artifactId>batik-script</artifactId>
243
                <version>1.7</version>
244
            </dependency>
245
            <dependency>
246
                <groupId>org.apache.xmlgraphics</groupId>
247
                <artifactId>batik-xml</artifactId>
248
                <version>1.7</version>
249
            </dependency>
250
            <dependency>
251
                <groupId>org.apache.xmlgraphics</groupId>
252
                <artifactId>batik-anim</artifactId>
253
                <version>1.7</version>
254
            </dependency>
255
            <dependency>
256
                <groupId>org.apache.xmlgraphics</groupId>
257
                <artifactId>batik-css</artifactId>
258
                <version>1.7</version>
259
            </dependency>
260
            <dependency>
261
                <groupId>org.apache.xmlgraphics</groupId>
262
                <artifactId>batik-dom</artifactId>
263
                <version>1.7</version>
264
            </dependency>
265
            <dependency>
266
                <groupId>org.apache.xmlgraphics</groupId>
267
                <artifactId>batik-js</artifactId>
268
                <version>1.7</version>
269
            </dependency>
270
            <dependency>
271
                <groupId>org.apache.xmlgraphics</groupId>
272
                <artifactId>batik-parser</artifactId>
273
                <version>1.7</version>
274
            </dependency>
275
            <dependency>
276
                <groupId>org.apache.xmlgraphics</groupId>
277
                <artifactId>batik-svg-dom</artifactId>
278
                <version>1.7</version>
279
            </dependency>
280

    
281
            <dependency>
282
                <groupId>bsf</groupId>
283
                <artifactId>bsf</artifactId>
284
                <version>2.3.0-rc1</version>
285
            </dependency>
286
            <dependency>
287
                <groupId>org.apache.bsf</groupId>
288
                <artifactId>bsf-api</artifactId>
289
                <version>3.1</version>
290
            </dependency>
291
            <dependency>
292
                <groupId>org.apache.bsf</groupId>
293
                <artifactId>bsf-utils</artifactId>
294
                <version>3.1</version>
295
            </dependency>
296
            <dependency>
297
                <groupId>bsh</groupId>
298
                <artifactId>bsh</artifactId>
299
                <version>2.0b4</version>
300
            </dependency>
301
            <dependency>
302
                <groupId>castor</groupId>
303
                <artifactId>castor</artifactId>
304
                <version>0.9.5.3</version>
305
            </dependency>
306

    
307
            <dependency>
308
                <groupId>commons-beanutils</groupId>
309
                <artifactId>commons-beanutils</artifactId>
310
                <version>1.6</version>
311
            </dependency>
312
            <dependency>
313
                <groupId>commons-dbcp</groupId>
314
                <artifactId>commons-dbcp</artifactId>
315
                <version>1.2.2</version>
316
            </dependency>
317
            <dependency>
318
                <groupId>commons-codec</groupId>
319
                <artifactId>commons-codec</artifactId>
320
                <version>1.6</version>
321
            </dependency>
322
            <dependency>
323
                <groupId>commons-collections</groupId>
324
                <artifactId>commons-collections</artifactId>
325
                <version>3.2.2</version>
326
            </dependency>
327
            <dependency>
328
                <groupId>org.apache.commons</groupId>
329
                <artifactId>commons-collections4</artifactId>
330
                <version>4.1</version>
331
            </dependency>            
332
            <dependency>
333
              <groupId>org.apache.commons</groupId>
334
              <artifactId>commons-compress</artifactId>
335
              <version>1.11</version>
336
            </dependency>
337
            <dependency>
338
                <groupId>org.apache.solr</groupId>
339
                <artifactId>solr-commons-csv</artifactId>
340
                <version>3.5.0</version>
341
            </dependency>
342
            <dependency>
343
                <groupId>commons-httpclient</groupId>
344
                <artifactId>commons-httpclient</artifactId>
345
                <version>2.0.2</version>
346
            </dependency>
347
            <dependency>
348
                <groupId>commons-cli</groupId>
349
                <artifactId>commons-cli</artifactId>
350
                <version>1.4</version>
351
            </dependency>
352
<!--            <dependency>
353
                <groupId>commons-io</groupId>
354
                <artifactId>commons-io</artifactId>
355
                <version>2.4</version>
356
            </dependency>-->
357
<!--            <dependency>
358
                <groupId>org.apache.commons</groupId>
359
                <artifactId>commons-lang3</artifactId>
360
                <version>3.1</version>
361
            </dependency>-->
362
            <dependency>
363
                <groupId>commons-lang</groupId>
364
                <artifactId>commons-lang</artifactId>
365
                <version>2.6</version>
366
            </dependency>
367
            <dependency>
368
                <groupId>org.apache.commons</groupId>
369
                <artifactId>commons-math</artifactId>
370
                <version>2.2</version>
371
            </dependency>            
372
            <dependency>
373
                <groupId>commons-configuration</groupId>
374
                <artifactId>commons-configuration</artifactId>
375
                <version>1.10</version>
376
            </dependency>
377
            <dependency>
378
                <groupId>commons-logging</groupId>
379
                <artifactId>commons-logging</artifactId>
380
                <version>1.1.1</version>
381
            </dependency>
382
            <dependency>
383
                <groupId>commons-logging</groupId>
384
                <artifactId>commons-logging</artifactId>
385
                <version>1.1.1</version>
386
                <classifier>api</classifier>
387
            </dependency>
388
            <dependency>
389
                <groupId>commons-pool</groupId>
390
                <artifactId>commons-pool</artifactId>
391
                <version>1.6</version>
392
            </dependency>
393

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

    
852
            <!-- External gvSIG projects -->
853

    
854
            <dependency>
855
                <groupId>org.gvsig</groupId>
856
                <artifactId>org.gvsig.jdk.v1_6</artifactId>
857
                <version>1.0.1</version>
858
            </dependency>
859
            <dependency>
860
                <groupId>org.gvsig</groupId>
861
                <artifactId>org.gvsig.jdk.v1_4</artifactId>
862
                <version>1.0.0</version>
863
            </dependency>
864
<!--            <dependency>
865
                <groupId>org.gvsig</groupId>
866
                <artifactId>org.gvsig.tools.lib</artifactId>
867
                <version>${gvsig.tools.version}</version>
868
            </dependency>
869
            <dependency>
870
                <groupId>org.gvsig</groupId>
871
                <artifactId>org.gvsig.tools.lib</artifactId>
872
                <version>${gvsig.tools.version}</version>
873
                <type>test-jar</type>
874
                <scope>test</test>
875
            </dependency>
876
            <dependency>
877
                <groupId>org.gvsig</groupId>
878
                <artifactId>org.gvsig.tools.swing.api</artifactId>
879
                <version>${gvsig.tools.version}</version>
880
            </dependency>
881
            <dependency>
882
                <groupId>org.gvsig</groupId>
883
                <artifactId>org.gvsig.tools.swing.impl</artifactId>
884
                <version>${gvsig.tools.version}</version>
885
            </dependency>-->
886
<!--
887
            <dependency>
888
                <groupId>org.gvsig</groupId>
889
                <artifactId>org.gvsig.tools.dynform.api</artifactId>
890
                <version>${gvsig.tools.version}</version>
891
            </dependency>
892
            <dependency>
893
                <groupId>org.gvsig</groupId>
894
                <artifactId>org.gvsig.tools.dynform.spi</artifactId>
895
                <version>${gvsig.tools.version}</version>
896
            </dependency>
897
            <dependency>
898
                <groupId>org.gvsig</groupId>
899
                <artifactId>org.gvsig.tools.dynform.services</artifactId>
900
                <version>${gvsig.tools.version}</version>
901
            </dependency>
902
            <dependency>
903
                <groupId>org.gvsig</groupId>
904
                <artifactId>org.gvsig.tools.dynform.impl</artifactId>
905
                <version>${gvsig.tools.version}</version>
906
            </dependency>-->
907

    
908
            <dependency>
909
                <groupId>org.gvsig</groupId>
910
                <artifactId>org.gvsig.catalog</artifactId>
911
                <version>2.0</version>
912
            </dependency>
913
            <dependency>
914
                <groupId>org.gvsig.external</groupId>
915
                <artifactId>org.gvsig.external.jump</artifactId>
916
                <version>1.0.0</version>
917
            </dependency>
918
            <dependency>
919
                <groupId>org.gvsig</groupId>
920
                <artifactId>org.gvsig.proj.lib.api</artifactId>
921
                <version>${gvsig.proj.version}</version>
922
            </dependency>
923
            <dependency>
924
                <groupId>org.gvsig</groupId>
925
                <artifactId>org.gvsig.proj.lib.proj4j</artifactId>
926
                <version>${gvsig.proj.version}</version>
927
            </dependency>
928
            <dependency>
929
                <groupId>org.gvsig</groupId>
930
                <artifactId>org.gvsig.proj.swing.api</artifactId>
931
                <version>${gvsig.proj.version}</version>
932
            </dependency>
933
            <dependency>
934
                <groupId>org.gvsig</groupId>
935
                <artifactId>org.gvsig.proj.swing.impl</artifactId>
936
                <version>${gvsig.proj.version}</version>
937
            </dependency>
938
            <dependency>
939
                <groupId>org.gvsig</groupId>
940
                <artifactId>org.gvsig.projection.api</artifactId>
941
                <version>${gvsig.projection.api.version}</version>
942
            </dependency>
943

    
944
            <!-- Childs projects -->
945

    
946
            <dependency>
947
                <groupId>org.gvsig</groupId>
948
                <artifactId>org.gvsig.about.api</artifactId>
949
                <version>2.0.239</version>
950
            </dependency>
951
            <dependency>
952
                <groupId>org.gvsig</groupId>
953
                <artifactId>org.gvsig.about.impl</artifactId>
954
                <version>2.0.239</version>
955
            </dependency>
956
            <dependency>
957
                <groupId>org.gvsig</groupId>
958
                <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
959
                <version>2.0.239</version>
960
            </dependency>
961
            <dependency>
962
                <groupId>org.gvsig</groupId>
963
                <artifactId>org.gvsig.metadata.lib.basic.impl</artifactId>
964
                <version>2.0.239</version>
965
            </dependency>
966
            <dependency>
967
                <groupId>org.gvsig</groupId>
968
                <artifactId>org.gvsig.metadata.swing.basic.api</artifactId>
969
                <version>2.0.239</version>
970
            </dependency>
971
            <dependency>
972
                <groupId>org.gvsig</groupId>
973
                <artifactId>org.gvsig.metadata.swing.basic.impl</artifactId>
974
                <version>2.0.239</version>
975
            </dependency>
976
            <dependency>
977
                <groupId>org.gvsig</groupId>
978
                <artifactId>org.gvsig.projection.cresques.impl</artifactId>
979
                <version>2.0.239</version>
980
            </dependency>
981
            <dependency>
982
                <groupId>org.gvsig</groupId>
983
                <artifactId>org.gvsig.projection.cresques.ui</artifactId>
984
                <version>2.0.239</version>
985
            </dependency>
986
            <dependency>
987
                <groupId>org.gvsig</groupId>
988
                <artifactId>org.gvsig.andami</artifactId>
989
                <version>2.0.239</version>
990
            </dependency>
991
            <dependency>
992
                <groupId>org.gvsig</groupId>
993
                <artifactId>org.gvsig.app</artifactId>
994
                <version>2.0.239</version>
995
            </dependency>
996
            <dependency>
997
                <groupId>org.gvsig</groupId>
998
                <artifactId>org.gvsig.ui</artifactId>
999
                <version>2.0.239</version>
1000
            </dependency>
1001
            <dependency>
1002
                <groupId>org.gvsig</groupId>
1003
                <artifactId>org.gvsig.fmap.control</artifactId>
1004
                <version>2.0.239</version>
1005
            </dependency>
1006
            <dependency>
1007
                <groupId>org.gvsig</groupId>
1008
                <artifactId>org.gvsig.fmap.mapcontext.api</artifactId>
1009
                <version>2.0.239</version>
1010
            </dependency>
1011
            <dependency>
1012
                <groupId>org.gvsig</groupId>
1013
                <artifactId>org.gvsig.fmap.mapcontext.impl</artifactId>
1014
                <version>2.0.239</version>
1015
            </dependency>            
1016
            <dependency>
1017
                <!-- 
1018
                Eliminado el proyecto asi que le pongo una version "chunga" 
1019
                para que falle al resolverla si alguien lo usa
1020
                -->
1021
                <groupId>org.gvsig</groupId>
1022
                <artifactId>org.gvsig.fmap.mapcontext.operation</artifactId>
1023
                <version>ERROR</version> 
1024
            </dependency>
1025
            <dependency>
1026
                <groupId>org.gvsig</groupId>
1027
                <artifactId>org.gvsig.fmap.dal.api</artifactId>
1028
                <version>2.0.239</version>
1029
            </dependency>
1030
            <dependency>
1031
                <groupId>org.gvsig</groupId>
1032
                <artifactId>org.gvsig.fmap.dal.spi</artifactId>
1033
                <version>2.0.239</version>
1034
            </dependency>
1035
            <dependency>
1036
                <groupId>org.gvsig</groupId>
1037
                <artifactId>org.gvsig.fmap.dal.impl</artifactId>
1038
                <version>2.0.239</version>
1039
            </dependency>
1040
            <dependency>
1041
                <groupId>org.gvsig</groupId>
1042
                <artifactId>org.gvsig.fmap.dal.impl</artifactId>
1043
                <version>2.0.239</version>
1044
                <type>test-jar</type>
1045
                <scope>test</scope>
1046
            </dependency>
1047
            <dependency>
1048
                <groupId>org.gvsig</groupId>
1049
                <artifactId>org.gvsig.fmap.dal.api</artifactId>
1050
                <version>2.0.239</version>
1051
                <type>test-jar</type>
1052
                <scope>test</scope>
1053
            </dependency>            <dependency>
1054
                <groupId>org.gvsig</groupId>
1055
                <artifactId>org.gvsig.fmap.dal.db.lib</artifactId>
1056
                <version>2.0.239</version>
1057
            </dependency>
1058
            <dependency>
1059
                <groupId>org.gvsig</groupId>
1060
                <artifactId>org.gvsig.fmap.dal.db.jdbc</artifactId>
1061
                <version>2.0.239</version>
1062
            </dependency>
1063
            <dependency>
1064
                <groupId>org.gvsig</groupId>
1065
                <artifactId>org.gvsig.fmap.dal.db.h2</artifactId>
1066
                <version>2.0.239</version>
1067
            </dependency>
1068

    
1069
            <dependency>
1070
                <groupId>org.gvsig</groupId>
1071
                <artifactId>org.gvsig.fmap.dal.file.lib</artifactId>
1072
                <version>2.0.239</version>
1073
            </dependency>
1074
            <dependency>
1075
                <groupId>org.gvsig</groupId>
1076
                <artifactId>org.gvsig.fmap.dal.file.dbf</artifactId>
1077
                <version>2.0.239</version>
1078
            </dependency>
1079
            <dependency>
1080
                <groupId>org.gvsig</groupId>
1081
                <artifactId>org.gvsig.fmap.dal.file.csv</artifactId>
1082
                <version>2.0.239</version>
1083
            </dependency>
1084
            <dependency>
1085
                <groupId>org.gvsig</groupId>
1086
                <artifactId>org.gvsig.fmap.dal.file.shp</artifactId>
1087
                <version>2.0.239</version>
1088
            </dependency>
1089
            <dependency>
1090
              <groupId>org.gvsig</groupId>
1091
              <artifactId>org.gvsig.fmap.dal.swing.api</artifactId>
1092
              <version>2.0.239</version>
1093
            </dependency>
1094
                <dependency>
1095
              <groupId>org.gvsig</groupId>
1096
              <artifactId>org.gvsig.fmap.dal.swing.impl</artifactId>
1097
               <version>2.0.239</version>
1098
            </dependency>
1099
            <dependency>
1100
                <groupId>org.gvsig</groupId>
1101
                <artifactId>org.gvsig.newlayer.lib.api</artifactId>
1102
                <version>2.0.239</version>
1103
            </dependency>
1104
            <dependency>
1105
                <groupId>org.gvsig</groupId>
1106
                <artifactId>org.gvsig.newlayer.lib.api</artifactId>
1107
                <version>2.0.239</version>
1108
                <type>test-jar</type>
1109
                <scope>test</scope>
1110
            </dependency>
1111
            <dependency>
1112
                <groupId>org.gvsig</groupId>
1113
                <artifactId>org.gvsig.newlayer.lib.impl</artifactId>
1114
                <version>2.0.239</version>
1115
            </dependency>
1116
            <dependency>
1117
                <groupId>org.gvsig</groupId>
1118
                <artifactId>org.gvsig.newlayer.prov.generic</artifactId>
1119
                <version>2.0.46-SNAPSHOT</version>
1120
            </dependency>
1121
            <dependency>
1122
                <groupId>org.gvsig</groupId>
1123
                <artifactId>org.gvsig.newlayer.prov.file</artifactId>
1124
                <version>2.0.239</version>
1125
            </dependency>
1126
            <dependency>
1127
                <groupId>org.gvsig</groupId>
1128
                <artifactId>org.gvsig.newlayer.prov.shape</artifactId>
1129
                <version>2.0.239</version>
1130
            </dependency>
1131
            <dependency>
1132
                <groupId>org.gvsig</groupId>
1133
                <artifactId>org.gvsig.symbology.lib.api</artifactId>
1134
                <version>2.0.239</version>
1135
            </dependency>
1136
            <dependency>
1137
                <groupId>org.gvsig</groupId>
1138
                <artifactId>org.gvsig.symbology.lib.impl</artifactId>
1139
                <version>2.0.239</version>
1140
            </dependency>
1141
            <dependency>
1142
                <groupId>org.gvsig</groupId>
1143
                <artifactId>org.gvsig.symbology.swing.api</artifactId>
1144
                <version>2.0.239</version>
1145
            </dependency>
1146
            <dependency>
1147
                <groupId>org.gvsig</groupId>
1148
                <artifactId>org.gvsig.symbology.swing.impl</artifactId>
1149
                <version>2.0.239</version>
1150
            </dependency>
1151
            <dependency>
1152
                <groupId>org.gvsig</groupId>
1153
                <artifactId>org.gvsig.fmap.geometry.api</artifactId>
1154
                <version>2.0.239</version>
1155
            </dependency>
1156
            <!--
1157
            <dependency>
1158
                <groupId>org.gvsig</groupId>
1159
                <artifactId>org.gvsig.fmap.geometry.generalpath</artifactId>
1160
                <version>2.0.103-SNAPSHOT</version>
1161
            </dependency>
1162
            <dependency>
1163
                <groupId>org.gvsig</groupId>
1164
                <artifactId>org.gvsig.fmap.geometry.operation</artifactId>
1165
                <version>2.0.103-SNAPSHOT</version>
1166
            </dependency>
1167
            -->
1168
            <dependency>
1169
                <groupId>org.gvsig</groupId>
1170
                <artifactId>org.gvsig.fmap.geometry.jts</artifactId>
1171
                <version>2.0.239</version>
1172
            </dependency>
1173
            <dependency>
1174
                <groupId>org.gvsig</groupId>
1175
                <artifactId>org.gvsig.fmap.geometry.operation.jts</artifactId>
1176
                <version>2.0.239</version>
1177
            </dependency>
1178

    
1179

    
1180
            <dependency>
1181
                <groupId>org.gvsig</groupId>
1182
                <artifactId>org.gvsig.tools.evaluator.sqljep</artifactId>
1183
                <version>2.0.239</version>
1184
            </dependency>
1185
            <dependency>
1186
                <groupId>org.gvsig</groupId>
1187
                <artifactId>org.gvsig.compat.api</artifactId>
1188
                <version>2.0.239</version>
1189
            </dependency>
1190
            <dependency>
1191
                <groupId>org.gvsig</groupId>
1192
                <artifactId>org.gvsig.compat.se</artifactId>
1193
                <version>2.0.239</version>
1194
            </dependency>
1195
            <dependency>
1196
                <groupId>org.gvsig</groupId>
1197
                <artifactId>org.gvsig.remoteclient</artifactId>
1198
                <version>2.0.239</version>
1199
            </dependency>
1200
            <dependency>
1201
                <groupId>org.gvsig</groupId>
1202
                <artifactId>org.gvsig.i18n</artifactId>
1203
                <version>2.0.239</version>
1204
            </dependency>
1205
            <dependency>
1206
                <groupId>org.gvsig</groupId>
1207
                <artifactId>org.gvsig.utils</artifactId>
1208
                <version>2.0.239</version>
1209
            </dependency>
1210
            <dependency>
1211
                <groupId>org.gvsig</groupId>
1212
                <artifactId>org.gvsig.annotation.lib.api</artifactId>
1213
                <version>2.0.239</version>
1214
            </dependency>
1215
            <dependency>
1216
                <groupId>org.gvsig</groupId>
1217
                <artifactId>org.gvsig.annotation.lib.impl</artifactId>
1218
                <version>2.0.239</version>
1219
            </dependency>
1220
            <dependency>
1221
                <groupId>org.gvsig</groupId>
1222
                <artifactId>org.gvsig.annotation.swing.api</artifactId>
1223
                <version>2.0.239</version>
1224
            </dependency>
1225
            <dependency>
1226
                <groupId>org.gvsig</groupId>
1227
                <artifactId>org.gvsig.annotation.swing.impl</artifactId>
1228
                <version>2.0.239</version>
1229
            </dependency>
1230
            <dependency>
1231
                <groupId>org.gvsig</groupId>
1232
                <artifactId>org.gvsig.expressionevaluator.lib.api</artifactId>
1233
                <version>2.0.239</version>
1234
            </dependency>
1235
            <dependency>
1236
                <groupId>org.gvsig</groupId>
1237
                <artifactId>org.gvsig.expressionevaluator.lib.impl</artifactId>
1238
                <version>2.0.239</version>
1239
            </dependency>
1240
            <dependency>
1241
                <groupId>org.gvsig</groupId>
1242
                <artifactId>org.gvsig.expressionevaluator.swing.api</artifactId>
1243
                <version>2.0.239</version>
1244
            </dependency>
1245
            <dependency>
1246
                <groupId>org.gvsig</groupId>
1247
                <artifactId>org.gvsig.expressionevaluator.swing.impl</artifactId>
1248
                <version>2.0.239</version>
1249
            </dependency>
1250
            <dependency>
1251
                <groupId>org.gvsig</groupId>
1252
                <artifactId>org.gvsig.temporarystorage.lib.api</artifactId>
1253
                <version>2.0.239</version>
1254
            </dependency>
1255
            <dependency>
1256
                <groupId>org.gvsig</groupId>
1257
                <artifactId>org.gvsig.temporarystorage.lib.impl</artifactId>
1258
                <version>2.0.239</version>
1259
            </dependency>
1260
            <dependency>
1261
                <groupId>org.gvsig</groupId>
1262
                <artifactId>org.gvsig.exportto.lib.api</artifactId>
1263
                <version>2.0.239</version>
1264
            </dependency>
1265
            <dependency>
1266
                <groupId>org.gvsig</groupId>
1267
                <artifactId>org.gvsig.exportto.lib.api</artifactId>
1268
                <version>2.0.239</version>
1269
                <type>test-jar</type>
1270
                <scope>test</scope>
1271
            </dependency>
1272
            <dependency>
1273
                <groupId>org.gvsig</groupId>
1274
                <artifactId>org.gvsig.exportto.lib.impl</artifactId>
1275
                <version>2.0.239</version>
1276
            </dependency>
1277
            <dependency>
1278
                <groupId>org.gvsig</groupId>
1279
                <artifactId>org.gvsig.exportto.swing.api</artifactId>
1280
                <version>2.0.239</version>
1281
            </dependency>
1282
            <dependency>
1283
                <groupId>org.gvsig</groupId>
1284
                <artifactId>org.gvsig.exportto.swing.impl</artifactId>
1285
                <version>2.0.239</version>
1286
            </dependency>
1287
            <dependency>
1288
                <groupId>org.gvsig</groupId>
1289
                <artifactId>org.gvsig.exportto.swing.prov.jdbc</artifactId>
1290
                <version>2.0.239</version>
1291
            </dependency>
1292
            <dependency>
1293
                <groupId>org.gvsig</groupId>
1294
                <artifactId>org.gvsig.exportto.swing.prov.shape</artifactId>
1295
                <version>2.0.239</version>
1296
            </dependency>
1297
            <dependency>
1298
                <groupId>org.gvsig</groupId>
1299
                <artifactId>org.gvsig.exportto.swing.prov.dbf</artifactId>
1300
                <version>2.0.239</version>
1301
            </dependency>
1302
            <dependency>
1303
                <groupId>org.gvsig</groupId>
1304
                <artifactId>org.gvsig.installer.swing.api</artifactId>
1305
                <version>2.0.239</version>
1306
            </dependency>
1307
            <dependency>
1308
                <groupId>org.gvsig</groupId>
1309
                <artifactId>org.gvsig.installer.swing.impl</artifactId>
1310
                <version>2.0.239</version>
1311
            </dependency>
1312
            <dependency>
1313
                <groupId>org.gvsig</groupId>
1314
                <artifactId>org.gvsig.installer.lib.api</artifactId>
1315
                <version>2.0.239</version>
1316
            </dependency>
1317
            <dependency>
1318
                <groupId>org.gvsig</groupId>
1319
                <artifactId>org.gvsig.installer.lib.spi</artifactId>
1320
                <version>2.0.239</version>
1321
            </dependency>
1322
            <dependency>
1323
                <groupId>org.gvsig</groupId>
1324
                <artifactId>org.gvsig.installer.lib.impl</artifactId>
1325
                <version>2.0.239</version>
1326
            </dependency>
1327
            <dependency>
1328
                <groupId>org.gvsig</groupId>
1329
                <artifactId>org.gvsig.installer.prov.plugin</artifactId>
1330
                <version>2.0.239</version>
1331
            </dependency>
1332
            <dependency>
1333
                <groupId>org.gvsig</groupId>
1334
                <artifactId>org.gvsig.geodb.app.mainplugin</artifactId>
1335
                <version>2.0.239</version>
1336
            </dependency>
1337

    
1338
            <dependency>
1339
                <groupId>org.gvsig</groupId>
1340
                <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
1341
                <version>2.0.239</version>
1342
            </dependency>
1343
            <dependency>
1344
                <groupId>org.gvsig</groupId>
1345
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1346
                <version>2.0.239</version>
1347
            </dependency>
1348
            <dependency>
1349
                <groupId>org.gvsig</groupId>
1350
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1351
                <version>2.0.239</version>
1352
                <type>test-jar</type>
1353
                <scope>test</scope>
1354
            </dependency>
1355
            <dependency>
1356
                <groupId>org.gvsig</groupId>
1357
                <artifactId>org.gvsig.daltransform.app.join</artifactId>
1358
                <version>2.0.239</version>
1359
            </dependency>
1360
            <dependency>
1361
                <groupId>org.gvsig</groupId>
1362
                <artifactId>org.gvsig.daltransform.app.eventtheme</artifactId>
1363
                <version>2.0.239</version>
1364
            </dependency>
1365

    
1366
            <dependency>
1367
                <groupId>org.gvsig</groupId>
1368
                <artifactId>org.gvsig.app.mainplugin</artifactId>
1369
                <version>2.0.239</version>
1370
            </dependency>
1371
            <dependency>
1372
                <groupId>org.gvsig</groupId>
1373
                <artifactId>org.gvsig.annotation.app.mainplugin</artifactId>
1374
                <version>2.0.239</version>
1375
            </dependency>
1376
            <dependency>
1377
                <groupId>org.gvsig</groupId>
1378
                <artifactId>org.gvsig.centerviewpoint.app.mainplugin</artifactId>
1379
                <version>2.0.239</version>
1380
            </dependency>
1381
            <dependency>
1382
                <groupId>org.gvsig</groupId>
1383
                <artifactId>org.gvsig.coreplugin.app.mainplugin</artifactId>
1384
                <version>2.0.239</version>
1385
            </dependency>
1386
            <dependency>
1387
                <groupId>org.gvsig</groupId>
1388
                <artifactId>org.gvsig.datalocator.app.mainplugin</artifactId>
1389
                <version>2.0.239</version>
1390
            </dependency>
1391
            <dependency>
1392
                <groupId>org.gvsig</groupId>
1393
                <artifactId>org.gvsig.editing.app.mainplugin</artifactId>
1394
                <version>2.0.112-SNAPSHOT</version>
1395
            </dependency>
1396
            <dependency>
1397
                <groupId>org.gvsig</groupId>
1398
                <artifactId>org.gvsig.exportto.app.mainplugin</artifactId>
1399
                <version>2.0.239</version>
1400
            </dependency>
1401
            <dependency>
1402
                <groupId>org.gvsig</groupId>
1403
                <artifactId>org.gvsig.mkmvnproject.app.mainplugin</artifactId>
1404
                <version>2.0.49-SNAPSHOT</version>
1405
            </dependency>
1406
            <dependency>
1407
                <groupId>org.gvsig</groupId>
1408
                <artifactId>org.gvsig.installer.app.mainplugin</artifactId>
1409
                <version>2.0.239</version>
1410
            </dependency>
1411
            <!--
1412
                      <dependency>
1413
                        <groupId>org.gvsig</groupId>
1414
                        <artifactId>org.gvsig.symbology.app.mainplugin</artifactId>
1415
                        <version>2.0.10-SNAPSHOT</version>
1416
                      </dependency>
1417
            -->
1418
            <dependency>
1419
                <groupId>org.gvsig</groupId>
1420
                <artifactId>org.gvsig.i18n.app.mainplugin</artifactId>
1421
                <version>2.0.239</version>
1422
            </dependency>
1423
            <dependency>
1424
                <groupId>org.gvsig</groupId>
1425
                <artifactId>org.gvsig.selectiontools.app.mainplugin</artifactId>
1426
                <version>2.0.239</version>
1427
            </dependency>
1428
            <dependency>
1429
                <groupId>org.gvsig</groupId>
1430
                <artifactId>org.gvsig.geometrymeasurement.app.mainplugin</artifactId>
1431
                <version>2.0.239</version>
1432
            </dependency>
1433
            <dependency>
1434
                <groupId>org.gvsig</groupId>
1435
                <artifactId>org.gvsig.newlayer.app.mainplugin</artifactId>
1436
                <version>2.0.239</version>
1437
            </dependency>
1438
            <!--
1439
            <dependency>
1440
                <groupId>org.gvsig</groupId>
1441
                <artifactId>org.gvsig.help.app.mainplugin</artifactId>
1442
                <version>2.0.24-SNAPSHOT</version>
1443
            </dependency>
1444
            -->
1445
            <dependency>
1446
                <groupId>org.gvsig</groupId>
1447
                <artifactId>org.gvsig.timesupport.lib.api</artifactId>
1448
                <version>2.0.239</version>
1449
            </dependency>
1450
            <dependency>
1451
                <groupId>org.gvsig</groupId>
1452
                <artifactId>org.gvsig.timesupport.lib.impl</artifactId>
1453
                <version>2.0.239</version>
1454
            </dependency>
1455
            <dependency>
1456
                <groupId>org.gvsig</groupId>
1457
                <artifactId>org.gvsig.timesupport.swing.api</artifactId>
1458
                <version>2.0.239</version>
1459
            </dependency>
1460
            <dependency>
1461
                <groupId>org.gvsig</groupId>
1462
                <artifactId>org.gvsig.timesupport.swing.impl</artifactId>
1463
                <version>2.0.239</version>
1464
            </dependency>
1465
        </dependencies>
1466
    </dependencyManagement>
1467

    
1468
    <dependencies>
1469
        <dependency>
1470
            <groupId>junit</groupId>
1471
            <artifactId>junit</artifactId>
1472
            <scope>test</scope>
1473
        </dependency>
1474
    </dependencies>
1475

    
1476
    <build>
1477
        <extensions>
1478
            <extension>
1479
                <groupId>org.apache.maven.wagon</groupId>
1480
                <artifactId>wagon-webdav-jackrabbit</artifactId>
1481
                <version>2.4</version>
1482
            </extension>
1483
        </extensions>
1484

    
1485
        <pluginManagement>
1486
            <plugins>
1487

    
1488
                <plugin>
1489
                    <groupId>org.apache.maven.plugins</groupId>
1490
                    <artifactId>maven-scm-plugin</artifactId>
1491
                    <version>1.9</version>
1492
                    <configuration>
1493
                        <connectionType>connection</connectionType>
1494
                    </configuration>
1495
                </plugin>
1496

    
1497
                <plugin>
1498
                    <groupId>org.apache.maven.plugins</groupId>
1499
                    <artifactId>maven-compiler-plugin</artifactId>
1500
                    <version>2.3.2</version>
1501
                    <configuration>
1502
                        <source>1.7</source>
1503
                        <target>1.7</target>
1504
                        <encoding>ISO-8859-1</encoding>
1505
                    </configuration>
1506
                </plugin>
1507

    
1508
                <plugin>
1509
                    <groupId>org.apache.maven.plugins</groupId>
1510
                    <artifactId>maven-resources-plugin</artifactId>
1511
                    <version>2.4.3</version>
1512
                    <configuration>
1513
                        <encoding>ISO-8859-1</encoding>
1514
                    </configuration>
1515
                </plugin>
1516

    
1517
                <plugin>
1518
                    <groupId>org.apache.maven.plugins</groupId>
1519
                    <artifactId>maven-eclipse-plugin</artifactId>
1520
                    <configuration>
1521
                        <downloadSources>true</downloadSources>
1522
                        <downloadJavadocs>true</downloadJavadocs>
1523
                        <projectNameTemplate>${project.artifactId}</projectNameTemplate>
1524
                    </configuration>
1525
                </plugin>
1526

    
1527
                <plugin>
1528
                    <groupId>org.apache.maven.plugins</groupId>
1529
                    <artifactId>maven-surefire-plugin</artifactId>
1530
                    <version>2.7.1</version>
1531
                    <configuration>
1532
                        <forkMode>once</forkMode>
1533
                        <environmentVariables>
1534
                            <DYLD_FRAMEWORK_PATH>${user.home}/.depman/Frameworks</DYLD_FRAMEWORK_PATH>
1535
                            <DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH>
1536
                            <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA>
1537
                            <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
1538
                            <PATH>${user.home}/.depman/bin${path.separator}${env.PATH}</PATH>
1539
                            <PROJ_LIB>${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB>
1540
                        </environmentVariables>
1541
                    </configuration>
1542
                </plugin>
1543

    
1544
                <plugin>
1545
                    <groupId>org.apache.maven.plugins</groupId>
1546
                    <artifactId>maven-failsafe-plugin</artifactId>
1547
                    <executions>
1548
                        <execution>
1549
                            <goals>
1550
                                <goal>integration-test</goal>
1551
                                <goal>verify</goal>
1552
                            </goals>
1553
                        </execution>
1554
                    </executions>
1555
                    <configuration>
1556
                        <forkMode>once</forkMode>
1557
                        <environmentVariables>
1558
                            <DYLD_FRAMEWORK_PATH>${user.home}/.depman/Frameworks</DYLD_FRAMEWORK_PATH>
1559
                            <DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH>
1560
                            <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA>
1561
                            <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
1562
                            <PATH>${user.home}/.depman/bin${path.separator}${env.PATH}</PATH>
1563
                            <PROJ_LIB>${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB>
1564
                        </environmentVariables>
1565
                    </configuration>
1566
                </plugin>
1567

    
1568
                <plugin>
1569
                    <groupId>org.apache.maven.plugins</groupId>
1570
                    <artifactId>maven-javadoc-plugin</artifactId>
1571
                    <version>2.10.4</version>
1572
                    <configuration>
1573
                        <failOnError>false</failOnError>
1574
                        <docTitle>${project.name} ${project.version}</docTitle>
1575
                        <encoding>ISO-8859-1</encoding>
1576
                        <footer />
1577
                        <header />
1578
                        <keywords>false</keywords>
1579
                        <!-- Don't include the deprecateds items in the javadoc -->
1580
                        <nodeprecated>true</nodeprecated>
1581
                        <!-- Don't generate javadoc of project with submodules -->
1582
                        <aggregate>false</aggregate>
1583
                        <!-- Removed detection of links due to its high cost -->
1584
                        <detectJavaApiLink>false</detectJavaApiLink>
1585
                        <detectLinks>false</detectLinks>
1586
                        <detectOfflineLinks>false</detectOfflineLinks>
1587
                        <!-- Removed the inclusion of dependencies sources due to their high cost -->
1588
                        <includeDependencySources>false</includeDependencySources>
1589
                        <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
1590
                        <javaApiLinks>
1591
                            <property>
1592
                                <name>api_1.4</name>
1593
                                <value>http://download.oracle.com/javase/1.4.2/docs/api/</value>
1594
                            </property>
1595
                            <property>
1596
                                <name>api_1.5</name>
1597
                                <value>http://download.oracle.com/javase/1.5.0/docs/api/</value>
1598
                            </property>
1599
                            <property>
1600
                                <name>api_1.6</name>
1601
                                <value>http://download.oracle.com/javase/6/docs/api/</value>
1602
                            </property>
1603
                            <property>
1604
                                <name>api_1.7</name>
1605
                                <value>http://download.oracle.com/javase/7/docs/api/</value>
1606
                            </property>
1607
                        </javaApiLinks>
1608
                        <additionalparam>-quiet -Xmaxerrs 10000</additionalparam>
1609
                    </configuration>
1610
                </plugin>
1611

    
1612
                <plugin>
1613
                    <groupId>org.apache.maven.plugins</groupId>
1614
                    <artifactId>maven-site-plugin</artifactId>
1615
                    <version>3.3</version>
1616
                    <configuration>
1617
                        <chmod>true</chmod>
1618
                        <chmodMode>a+rwX</chmodMode>
1619
                    </configuration>
1620
                </plugin>
1621

    
1622
                <plugin>
1623
                    <groupId>org.apache.maven.plugins</groupId>
1624
                    <artifactId>maven-jar-plugin</artifactId>
1625
                    <version>2.3.1</version>
1626
                    <configuration>
1627
                        <archive>
1628
                            <manifestEntries>
1629
                                <Built-By>gvSIG Team</Built-By>
1630
                            </manifestEntries>
1631
                        </archive>
1632
                    </configuration>
1633
                </plugin>
1634

    
1635
                <plugin>
1636
                    <groupId>org.codehaus.mojo</groupId>
1637
                    <artifactId>properties-maven-plugin</artifactId>
1638
                    <version>1.0-alpha-2</version>
1639
                </plugin>
1640

    
1641
                <plugin>
1642
                    <groupId>org.apache.maven.plugins</groupId>
1643
                    <artifactId>maven-antrun-plugin</artifactId>
1644
                    <version>1.7</version>
1645
                </plugin>
1646

    
1647
                <plugin>
1648
                    <groupId>org.codehaus.mojo</groupId>
1649
                    <artifactId>animal-sniffer-maven-plugin</artifactId>
1650
                    <version>1.9</version>
1651
                </plugin>
1652

    
1653
                <plugin>
1654
                    <groupId>org.apache.maven.plugins</groupId>
1655
                    <artifactId>maven-release-plugin</artifactId>
1656
                    <version>2.4.1</version>
1657
                </plugin>
1658

    
1659
                <plugin>
1660
                    <groupId>org.apache.maven.plugins</groupId>
1661
                    <artifactId>maven-deploy-plugin</artifactId>
1662
                    <version>2.6</version>
1663
                </plugin>
1664

    
1665
                <plugin>
1666
                    <artifactId>maven-assembly-plugin</artifactId>
1667
                    <version>2.4</version>
1668
                    <executions>
1669
                        <execution>
1670
                            <id>gvsig-plugin-package</id>
1671
                            <phase>package</phase>
1672
                            <configuration>
1673
                                <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
1674
                                <appendAssemblyId>false</appendAssemblyId>
1675
                                <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>
1676
                                <descriptors>
1677
                                    <descriptor>src/main/assembly/gvsig-plugin-package.xml</descriptor>
1678
                                </descriptors>
1679
                            </configuration>
1680
                        </execution>
1681
                    </executions>
1682
                </plugin>
1683

    
1684
                <plugin>
1685
                    <groupId>org.apache.maven.plugins</groupId>
1686
                    <artifactId>maven-clean-plugin</artifactId>
1687
                    <version>2.4.1</version>
1688
                </plugin>
1689

    
1690
                <plugin>
1691
                    <groupId>org.codehaus.mojo</groupId>
1692
                    <artifactId>exec-maven-plugin</artifactId>
1693
                    <version>1.2</version>
1694
                </plugin>
1695

    
1696
                <plugin>
1697
                    <!-- invoke as "mvn license:format" to fix the header -->
1698
                    <!-- invoke as "mvn license:check" to check the header -->
1699
                    <!-- See http://code.google.com/p/maven-license-plugin/wiki/Configuration -->
1700
                    <groupId>com.mycila.maven-license-plugin</groupId>
1701
                    <artifactId>maven-license-plugin</artifactId>
1702
                    <version>1.10.b1</version>
1703
                    <configuration>
1704
                        <header>header.txt</header>
1705
                        <failIfMissing>false</failIfMissing>
1706
                        <aggregate>false</aggregate>
1707
                        <strictCheck>true</strictCheck>
1708
                        <encoding>ISO-8859-1</encoding>
1709
                        <quiet>false</quiet>
1710
                        <excludes>
1711
                            <exclude>**/*.properties</exclude>
1712
                            <exclude>**/*.txt</exclude>
1713
                            <exclude>**/*.jpg</exclude>
1714
                            <exclude>**/*.jpeg</exclude>
1715
                            <exclude>**/*.svg</exclude>
1716
                            <exclude>**/*.png</exclude>
1717
                            <exclude>**/*.gvssym</exclude>
1718
                            <exclude>**/*.def</exclude>
1719
                            <exclude>**/*.msg</exclude>
1720
                        </excludes>
1721
                    </configuration>
1722
                    <dependencies>
1723
                        <dependency>
1724
                            <groupId>org.gvsig</groupId>
1725
                            <artifactId>org.gvsig.desktop.buildtools</artifactId>
1726
                            <version>1.0.0</version>
1727
                        </dependency>
1728
                    </dependencies>
1729
                </plugin>
1730

    
1731
                <!-- Habria que ver si es posible sustituir el plugin -->
1732
                <!-- com.mycila.maven-license-plugin:maven-license-plugin por este -->
1733
                <!-- Ver http://mojo.codehaus.org/license-maven-plugin/index.html -->
1734
                <!--
1735
                <plugin>
1736
                    <groupId>org.codehaus.mojo</groupId>
1737
                    <artifactId>license-maven-plugin</artifactId>
1738
                    <version>1.5</version>
1739
                </plugin>
1740
                -->
1741

    
1742
                <plugin>
1743
                    <groupId>org.apache.maven.plugins</groupId>
1744
                    <artifactId>maven-checkstyle-plugin</artifactId>
1745
                    <version>2.10</version>
1746
                </plugin>
1747

    
1748
                <plugin>
1749
                    <groupId>org.apache.maven.plugins</groupId>
1750
                    <artifactId>maven-source-plugin</artifactId>
1751
                    <version>2.2.1</version>
1752
                </plugin>
1753

    
1754
                <plugin>
1755
                    <groupId>org.codehaus.gmaven</groupId>
1756
                    <artifactId>gmaven-plugin</artifactId>
1757
                    <version>1.5</version>
1758
                    <configuration>
1759
                        <providerSelection>2.0</providerSelection>
1760
                    </configuration>
1761
                    <dependencies>
1762
                        <dependency>
1763
                            <groupId>com.github.lookfirst</groupId>
1764
                            <artifactId>sardine</artifactId>
1765
                            <version>5.0.1</version>
1766
                        </dependency>
1767
                        <dependency>
1768
                          <groupId>org.apache.ant</groupId>
1769
                          <artifactId>ant</artifactId>
1770
                          <version>1.8.2</version>
1771
                        </dependency>
1772
                    </dependencies>
1773
                    <executions>
1774

    
1775
                        <execution>
1776
                            <id>increase-build-number</id>
1777
                            <phase>process-sources</phase>
1778
                            <configuration>
1779
                                <source><![CDATA[
1780
                    // use "mvn -Dincrease-build-number process-sources"
1781
                    if( project.properties["increase-build-number"] == null ) {
1782
                      log.info("Don't increment build number use flag '-Dincrease-build-number' to increment it.")
1783
                    } else {
1784
                      File file = new File(project.basedir,"buildNumber.properties")
1785
                      if( ! file.exists() ) {
1786
                          log.info("Skip increment build number (buildNumber.property not present).")
1787
                        } else {
1788
                        Properties props = new Properties()
1789

    
1790
                        props.load(file.newDataInputStream())
1791
                        value = (props.getProperty("buildNumber") as int) + 1
1792
                        props.setProperty("buildNumber",value as String)
1793
                        props.store(file.newWriter(), null)
1794
                        log.info("Setting build number to " + value)
1795
                      }
1796
                    }
1797
                  ]]></source>
1798
                            </configuration>
1799
                        </execution>
1800

    
1801
                        <execution>
1802
                            <id>build-package-info</id>
1803
                            <phase>prepare-package</phase>
1804
                            <configuration>
1805
                                <source><![CDATA[
1806
    if( project.properties["buildNumber"] == null) {
1807
      log.info("Skip build package.info (buildNumber.property not present).")
1808
      log.info("Skip build package.info index (buildNumber.property not present).")
1809
    } else {
1810
      poolURL = project.properties["gvsig.package.info.poolURL"];
1811
      if( poolURL[-1] != "/" ) {
1812
              poolURL = poolURL + "/";
1813
      }
1814
      package_info_file  = new File(project.basedir, "target/package.info")
1815
      log.info("Building package.info : " + package_info_file.getAbsolutePath())
1816
      Properties props = new Properties()
1817
      props.setProperty('code', project.properties["gvsig.package.info.code"])
1818
      props.setProperty('code-alias', project.properties["gvsig.package.info.codealias"])
1819
      props.setProperty('name', project.properties["gvsig.package.info.name"])
1820
      props.setProperty('version', project.properties["gvsig.package.info.version"])
1821
      props.setProperty('description', project.properties["gvsig.package.info.description"])
1822
      props.setProperty('owner', project.properties["gvsig.package.info.owner"])
1823
      props.setProperty('java-version', project.properties["gvsig.package.info.javaVM"])
1824
      props.setProperty('official', project.properties["gvsig.package.info.official"])
1825
      props.setProperty('type', "plugin")
1826
      props.setProperty('state', project.properties["gvsig.package.info.state"])
1827
      props.setProperty('operating-system', project.properties["gvsig.package.info.operatingSystem"])
1828
      props.setProperty('dependencies', project.properties["gvsig.package.info.dependencies"])
1829
      props.setProperty('sources-url', project.properties["gvsig.package.info.sourcesURL"].replace("scm:svn:",""))
1830
      props.setProperty('web-url', project.properties["gvsig.package.info.webURL"])
1831
      props.setProperty('architecture', project.properties["gvsig.package.info.architecture"])
1832
      props.setProperty('model-version', '1.0.1')
1833
      props.setProperty('categories', project.properties["gvsig.package.info.categories"])
1834
      props.setProperty('buildNumber', project.properties["buildNumber"])
1835
      props.setProperty('gvSIG-version', project.properties["gvsig.package.info.gvSIGVersion"])
1836

    
1837
      props.store(package_info_file.newWriter(), null)
1838

    
1839
      pkgname = "gvSIG-desktop-" +
1840
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1841
        project.properties["gvsig.package.info.code"] + "-" +
1842
        project.properties["gvsig.package.info.version"] + "-" +
1843
        project.properties["buildNumber"] + "-" +
1844
        project.properties["gvsig.package.info.state"] + "-" +
1845
        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1846
        project.properties["gvsig.package.info.architecture"] + "-" +
1847
        project.properties["gvsig.package.info.javaVM"]
1848
      package_info_file  = new File(project.basedir, "target/gvspki/"+project.properties["gvsig.package.info.code"]+"/package.info")
1849
      log.info("Building package.info index " + package_info_file.getAbsolutePath())
1850
      package_info_file.getParentFile().mkdirs()
1851
      props.setProperty('download-url',
1852
        poolURL +
1853
        project.properties["gvsig.package.info.code"] + "/" +
1854
        pkgname + ".gvspkg"
1855
      )
1856
      props.store(package_info_file.newWriter(), null)
1857
    }
1858
                  ]]></source>
1859
                            </configuration>
1860
                        </execution>
1861

    
1862
                        <execution>
1863
                            <id>build-package-index</id>
1864
                            <phase>package</phase>
1865
                            <configuration>
1866
                                <source><![CDATA[
1867
    ant = new AntBuilder()
1868
    if( project.properties["buildNumber"] == null) {
1869
      log.info("Skip building package index (buildNumber.property not present).")
1870
    } else {
1871
      pkgname = "gvSIG-desktop-" +
1872
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1873
        project.properties["gvsig.package.info.code"] + "-" +
1874
        project.properties["gvsig.package.info.version"] + "-" +
1875
        project.properties["buildNumber"] + "-" +
1876
        project.properties["gvsig.package.info.state"] + "-" +
1877
        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1878
        project.properties["gvsig.package.info.architecture"] + "-" +
1879
        project.properties["gvsig.package.info.javaVM"]
1880

    
1881
      log.info("Building package index " + pkgname + ".gvspki")
1882
      package_index_source  = project.basedir.getAbsolutePath() + "/target/gvspki"
1883
      package_index_target  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1884
      ant.zip(destfile: package_index_target, basedir: package_index_source)
1885
    }
1886
                  ]]></source>
1887
                            </configuration>
1888
                        </execution>
1889

    
1890
                        <execution>
1891
                            <id>install-plugin</id>
1892
                            <phase>install</phase>
1893
                            <configuration>
1894
                                <source><![CDATA[            
1895
    
1896

    
1897
    def executeAntFile(File applicationDirectory, File pluginsDirectory, File file) {
1898
        log.info("Running install script '" + file.getAbsolutePath() + "'.");
1899
        def p = new org.apache.tools.ant.Project();
1900
        p.setUserProperty("ant.file", file.getAbsolutePath());
1901
        p.setUserProperty("gvsig_dir", applicationDirectory.getAbsolutePath());
1902
        p.setUserProperty("extensions_dir", pluginsDirectory.getAbsolutePath());
1903
        p.setBaseDir(file.getParentFile());
1904
        p.init();
1905
        helper = org.apache.tools.ant.ProjectHelper.getProjectHelper();
1906
        p.addReference("ant.projectHelper", helper);
1907
        helper.parse(p, file);
1908
        p.executeTarget(p.getDefaultTarget());
1909
    }
1910
                                    
1911
    
1912
    if( project.properties["buildNumber"] == null) {
1913
        log.info("Skip install package (buildNumber.property not present).")
1914
    } else {
1915
        ant = new AntBuilder()
1916
        pkgname = "gvSIG-desktop-" +
1917
          project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1918
          project.properties["gvsig.package.info.code"] + "-" +
1919
          project.properties["gvsig.package.info.version"] + "-" +
1920
          project.properties["buildNumber"] + "-" +
1921
          project.properties["gvsig.package.info.state"] + "-" +
1922
          project.properties["gvsig.package.info.operatingSystem"] + "-" +
1923
          project.properties["gvsig.package.info.architecture"] + "-" +
1924
          project.properties["gvsig.package.info.javaVM"]
1925

    
1926
        log.debug("gvsig.install.plugin=" + project.properties["gvsig.install.plugin"])
1927
        log.debug("gvsig.install.plugin.package=" + project.properties["gvsig.install.plugin.package"])
1928
        if( project.properties["gvsig.install.plugin"]=="true" ) {
1929
          source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1930
          target = project.properties["gvsig.product.folder.path"] + "/gvSIG/extensiones/"
1931

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

    
1935
          log.info("Install plugin to " + target)
1936
          ant.unzip(src: source, dest: target)
1937
          def install_xml = new File(target + "/" + project.properties["gvsig.package.info.code"] + "/install/install.xml")
1938
          if( install_xml.exists() ) {
1939
            executeAntFile(
1940
                new File(project.properties["gvsig.product.folder.path"]),
1941
                new File(target),
1942
                install_xml
1943
            )
1944
          }
1945
        } else {
1946
            log.info("Skip plugin install.")
1947
        }
1948
        if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1949
          source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1950
          target = new File(project.properties["gvsig.product.folder.path"] +
1951
            "/install/" +
1952
            project.properties["gvsig.package.info.code"] + "/" +
1953
            pkgname + ".gvspkg")
1954
          target.getParentFile().mkdirs()
1955

    
1956
          log.info("Copy plugin package from " + source + " to " + target)
1957
          ant.copy(file:source, tofile:target.getAbsolutePath())
1958

    
1959
          source  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1960
          target = project.properties["gvsig.product.folder.path"] +
1961
            "/install/" +
1962
            project.properties["gvsig.package.info.code"] + "/" +
1963
            pkgname + ".gvspki"
1964
          log.info("Copy plugin package index from " + source + " to " + target)
1965
          ant.copy(file:source, tofile:target)
1966
        } else {
1967
            log.info("Skip plugin package install.")
1968
        }
1969
    }
1970
                  ]]></source>
1971
                            </configuration>
1972
                        </execution>
1973

    
1974
                        <execution>
1975
                            <id>deploy-package</id>
1976
                            <phase>install</phase>
1977
                            <configuration>
1978
                                <source><![CDATA[
1979

    
1980
// To deploy package use:
1981
//    mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
1982
//
1983
if( project.properties["deploy-package"] != null ) {
1984
    if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1985
        poolURL = project.properties["gvsig.package.info.poolURL"];
1986
        if( poolURL[-1] != "/" ) {
1987
            poolURL = poolURL + "/";
1988
        }
1989
        targetPath = poolURL + project.properties["gvsig.package.info.code"];
1990
        log.info("Deploy plugin package to '"+targetPath+"'.");
1991

    
1992
        pkgname = "gvSIG-desktop-" +
1993
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1994
        project.properties["gvsig.package.info.code"] + "-" +
1995
        project.properties["gvsig.package.info.version"] + "-" +
1996
        project.properties["buildNumber"] + "-" +
1997
        project.properties["gvsig.package.info.state"] + "-" +
1998
        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1999
        project.properties["gvsig.package.info.architecture"] + "-" +
2000
        project.properties["gvsig.package.info.javaVM"];
2001

    
2002
        source = project.basedir.getAbsolutePath() + "/target/" + pkgname
2003
        targetPath = poolURL + project.properties["gvsig.package.info.code"]
2004

    
2005
        log.info("Creating addon-request.txt in target folder");
2006
        new File(project.basedir.getAbsolutePath() + "/target/addon-request.txt").withWriter { out ->
2007
            out.println("");
2008
            out.println("# "+pkgname);
2009
            out.println("");
2010
            out.println(targetPath+"/" + pkgname + ".gvspki");
2011
            out.println("");
2012
        }
2013

    
2014
        if( project.properties["username"] == null ) {
2015
            print("Enter user name: ");
2016
            user = System.console().readLine().toString()
2017
            if( user != "" ) {
2018
                project.properties.setProperty("username",user);
2019
            }
2020
        }
2021
        if( project.properties["password"] == null ) {
2022
            print("Enter password for user '" + project.properties["username"] + "': ");
2023
            password = System.console().readPassword().toString()
2024
            if( password != "" ) {
2025
                project.properties.setProperty("password",password);
2026
            }
2027
        }
2028
        WebDAVClient session = new WebDAVClient(log);
2029
        if( project.properties["username"] == null || project.properties["password"] == null ) {
2030
            log.info("[WEBDAV] creating non authenticated session.");
2031
            log.info("[WEBDAV] Use -Duser=USER -Dpassword=PASSWORD to create a authenticated session.");
2032
            session.login();
2033
        } else {
2034
            session.login(project.properties["username"], project.properties["password"]);
2035
        }
2036
        session.makedirs(targetPath);
2037
        session.put(source + ".gvspkg.zip", targetPath+"/"+pkgname+ ".gvspkg");
2038
        session.put(source + ".gvspki", targetPath+"/"+pkgname+ ".gvspki");
2039

    
2040
    } else {
2041
        log.info("Skip plugin package deploy. It not be installed by default.");
2042
    }
2043
} else {
2044
    log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
2045
}
2046

    
2047
public class WebDAVClient {
2048

    
2049
    def log;
2050

    
2051
    private String user;
2052
    private String password;
2053
    private Object sardine;
2054

    
2055
    public WebDAVClient(log) {
2056
        disableCertificateValidation();
2057
            this.log = log;
2058
    }
2059

    
2060
    public void login(String user, String password) {
2061
        log.info("[WEBDAV] login as '"+user+"'.");
2062
        def SardineFactory
2063
        try {
2064
            SardineFactory = "com.github.sardine.SardineFactory" as Class
2065
        } catch (Exception ex) {
2066
            log.error("[WEBDAV] can't get SardineFactory.",ex);
2067
        }
2068
        this.user = user;
2069
        this.password = password;
2070
        this.sardine = SardineFactory.begin(this.user,this.password);
2071
    }
2072

    
2073
    public void login() {
2074
        log.info("[WEBDAV] login as guest");
2075
        this.sardine = SardineFactory.begin();
2076
    }
2077

    
2078
    public boolean exists(String url) throws Exception {
2079
        return sardine.exists(url);
2080
    }
2081

    
2082
    public void put(String source, String target) throws Exception {
2083
        log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
2084
        InputStream fis = new FileInputStream(new File(source));
2085
        sardine.put(target, fis);
2086
        log.info("[WEBDAV] put ok.");
2087
    }
2088

    
2089
    public void mkdir(String url) throws Exception {
2090
        if( ! exists(url) ) {
2091
            log.info("[WEBDAV] mkdir '"+url+"'.");
2092
            sardine.createDirectory(url);
2093
        }
2094
    }
2095

    
2096
    public List list(String url) throws Exception {
2097
        List resources = sardine.list(url);
2098
        return resources;
2099
    }
2100

    
2101
    void disableCertificateValidation() {
2102
    /*
2103
        javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
2104
        trustAllCerts[0] = new javax.net.ssl.X509TrustManager() {
2105
                public java.security.cert.X509Certificate[] getAcceptedIssuers() {
2106
                    return new java.security.cert.X509Certificate[0];
2107
                }
2108

    
2109
                public void checkClientTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2110
                }
2111

    
2112
                public void checkServerTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2113
                }
2114
            };
2115

    
2116
        // Ignore differences between given hostname and certificate hostname
2117
        javax.net.ssl.HostnameVerifier hv = new javax.net.ssl.HostnameVerifier() {
2118
            public boolean verify(String hostname, javax.net.ssl.SSLSession session) {
2119
                return true;
2120
            }
2121
        };
2122

    
2123
        // Install the all-trusting trust manager
2124
        try {
2125
            javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
2126
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
2127
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
2128
            javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
2129
        } catch (Exception e) {
2130
        }
2131
        */
2132
    }
2133

    
2134
    public void makedirs(String url) throws Exception {
2135
        log.info("[WEBDAV] makedirs '"+url+"'.");
2136
        URL u = new URL(url);
2137
        String[] x = u.getPath().split("/");
2138
        String path = "";
2139
        for (int i=1; i<x.length; i++) { path = path + "/" + x[i]; URL t = new URL(u,path); mkdir(t.toString()); } }
2140
} ]]></source>
2141
                            </configuration>
2142
                        </execution>
2143

    
2144
                    </executions>
2145
                </plugin>
2146

    
2147
            </plugins>
2148
        </pluginManagement>
2149

    
2150
        <plugins>
2151
            <plugin>
2152
                <groupId>org.apache.maven.plugins</groupId>
2153
                <artifactId>maven-scm-plugin</artifactId>
2154
            </plugin>
2155

    
2156
            <plugin>
2157
                <artifactId>maven-clean-plugin</artifactId>
2158
                <configuration>
2159
                    <filesets>
2160
                        <fileset>
2161
                            <directory>${user.home}/.depman/</directory>
2162
                            <includes>
2163
                                <include>**</include>
2164
                            </includes>
2165
                        </fileset>
2166
                    </filesets>
2167
                    <followSymLinks>true</followSymLinks>
2168
                </configuration>
2169
            </plugin>
2170

    
2171
            <plugin>
2172
                <groupId>org.apache.maven.plugins</groupId>
2173
                <artifactId>maven-release-plugin</artifactId>
2174
                <configuration>
2175
                    <!-- The property svn.tags.folder is used in external projects   -->
2176
                    <!-- to override configuraction of tagBase -->
2177
                    <tagBase>${svn.tags.folder}</tagBase>
2178
                    <!-- This is a 2.0 beta 6 bug. By default the goals are 'clean verify', so the modules
2179
                    are not installed, so the dependencies between modules are not met. With this configuration
2180
                    we force the module installation. -->
2181
                    <preparationGoals>clean install</preparationGoals>
2182
                    <autoVersionSubmodules>true</autoVersionSubmodules>
2183
                    <!-- Dont make site-deploy -->
2184
                    <!-- You need to run it after in folder target/checkout -->
2185
                    <goals>deploy</goals>
2186
                </configuration>
2187
            </plugin>
2188

    
2189
            <plugin>
2190
                <!-- load ".gvsig-devel.properties" -->
2191
                <groupId>org.codehaus.mojo</groupId>
2192
                <artifactId>properties-maven-plugin</artifactId>
2193
                <configuration>
2194
                    <files>
2195
                        <!-- Define gvsig.product.folder.path in this property -->
2196
                        <file>${user.home}/.gvsig-devel.properties</file>
2197
                        <file>${env.HOME}/.gvsig-devel.properties</file>
2198
                        <file>${project.basedir}/gvsig-devel.properties</file>
2199
                        <file>buildNumber.properties</file>
2200
                    </files>
2201
                    <quiet>true</quiet>
2202
                </configuration>
2203
                <executions>
2204
                    <execution>
2205
                        <id>default</id>
2206
                        <phase>prepare-package</phase>
2207
                        <goals>
2208
                            <goal>read-project-properties</goal>
2209
                        </goals>
2210
                    </execution>
2211
                    <execution>
2212
                        <id>default-clean</id>
2213
                        <phase>pre-clean</phase>
2214
                        <goals>
2215
                            <goal>read-project-properties</goal>
2216
                        </goals>
2217
                    </execution>
2218
                </executions>
2219
            </plugin>
2220

    
2221
<!--
2222
            <plugin>
2223
                <groupId>org.codehaus.mojo</groupId>
2224
                <artifactId>animal-sniffer-maven-plugin</artifactId>
2225
                <executions>
2226
                    <execution>
2227
                        <id>check-java-api</id>
2228
                        <phase>package</phase>
2229
                        <goals>
2230
                            <goal>check</goal>
2231
                        </goals>
2232
                        <configuration>
2233
                            <skip>false</skip>
2234
                            <signature>
2235
                                <groupId>org.codehaus.mojo.signature</groupId>
2236
                                <artifactId>java18</artifactId>
2237
                                <version>1.0</version>
2238
                            </signature>
2239
                            <ignores>
2240
                                <ignore>net.sourceforge.cobertura.coveragedata.TouchCollector</ignore>
2241
                                <ignore>java.nio.ByteBuffer</ignore>
2242
                                <ignore>java.nio.MappedByteBuffer</ignore>
2243
                            </ignores>
2244
                        </configuration>
2245
                    </execution>
2246
                </executions>
2247
            </plugin>
2248
-->
2249
            <plugin>
2250
                <groupId>org.apache.maven.plugins</groupId>
2251
                <artifactId>maven-javadoc-plugin</artifactId>
2252
                <executions>
2253
                    <execution>
2254
                        <id>attach-javadocs</id>
2255
                        <goals>
2256
                            <goal>jar</goal>
2257
                        </goals>
2258
                    </execution>
2259
                </executions>
2260
            </plugin>
2261

    
2262
            <plugin>
2263
                <groupId>org.apache.maven.plugins</groupId>
2264
                <artifactId>maven-source-plugin</artifactId>
2265
                <configuration>
2266
                    <skipSource>false</skipSource> <!-- User property is: source.skip. -->
2267
                </configuration>
2268
                <executions>
2269
                    <execution>
2270
                        <id>attach-sources</id>
2271
                        <phase>verify</phase>
2272
                        <goals>
2273
                            <goal>jar-no-fork</goal>
2274
                        </goals>
2275
                    </execution>
2276
                    <execution>
2277
                        <id>attach-test-sources</id>
2278
                        <phase>verify</phase>
2279
                        <goals>
2280
                            <goal>test-jar-no-fork</goal>
2281
                        </goals>
2282
                    </execution>
2283
                </executions>
2284
            </plugin>
2285

    
2286
            <plugin>
2287
                <groupId>org.apache.maven.plugins</groupId>
2288
                <artifactId>maven-checkstyle-plugin</artifactId>
2289
                <!-- invoke as "mvn checkstyle:checkstyle"  or "mvn site" -->
2290
                <configuration>
2291
                    <skip>false</skip> <!-- User property is: checkstyle.skip. -->
2292
                    <enableRulesSummary>true</enableRulesSummary>
2293
                    <failsOnError>false</failsOnError>
2294
                    <configLocation>gvsig/checkstyle.xml</configLocation>
2295
                    <headerLocation>gvsig/LICENSE.txt</headerLocation>
2296
                </configuration>
2297
                <dependencies>
2298
                    <dependency>
2299
                        <groupId>org.gvsig</groupId>
2300
                        <artifactId>org.gvsig.desktop.buildtools</artifactId>
2301
                        <version>1.0.0</version>
2302
                    </dependency>
2303
                </dependencies>
2304
            </plugin>
2305

    
2306
            <plugin>
2307
                <!-- to continue building  when test fail -->
2308
                <groupId>org.apache.maven.plugins</groupId>
2309
                <artifactId>maven-surefire-plugin</artifactId>
2310
                <configuration>
2311
                    <testFailureIgnore>true</testFailureIgnore>
2312
                </configuration>
2313
            </plugin>
2314

    
2315
        </plugins>
2316
    </build>
2317

    
2318

    
2319
    <reporting>
2320
        <excludeDefaults>true</excludeDefaults>
2321
        <plugins>
2322
            <plugin>
2323
                <groupId>org.apache.maven.plugins</groupId>
2324
                <artifactId>maven-project-info-reports-plugin</artifactId>
2325
                <version>2.7</version>
2326
                <reportSets>
2327
                    <reportSet>
2328
                        <reports>
2329
                            <report>index</report>
2330
                            <report>summary</report>
2331
                            <report>scm</report>
2332
                            <report>license</report>
2333
                            <report>project-team</report>
2334
                            <report>issue-tracking</report>
2335
                            <report>mailing-list</report>
2336
                            <report>modules</report>
2337

    
2338
                            <report>dependency-info</report>
2339
                            <!-- Removed due to its high cost
2340
                            <report>dependency-management</report>
2341
                            <report>dependencies</report>
2342
                            -->
2343
                            <report>dependency-convergence</report>
2344

    
2345
                            <!--
2346
                            <report>plugins</report>
2347
                            <report>plugin-management</report>
2348
                            <report>distribution-management</report>
2349
                            -->
2350

    
2351
                            <!-- gvSIG does not have Continuous Integration System
2352
                            <report>cim</report>
2353
                            -->
2354
                        </reports>
2355
                    </reportSet>
2356
                </reportSets>
2357
            </plugin>
2358
            <plugin>
2359
                <groupId>org.apache.maven.plugins</groupId>
2360
                <artifactId>maven-javadoc-plugin</artifactId>
2361
                <!-- Do not use the version 2.9, does not manage properly the submodules -->
2362
                <version>2.9.1</version>
2363
                <configuration>
2364
                    <!-- Don't include the deprecateds items in the javadoc -->
2365
                    <nodeprecated>true</nodeprecated>
2366
                    <!-- Don't generate javadoc of project with submodules -->
2367
                    <aggregate>false</aggregate>
2368
                    <!-- Removed detection of links due to its high cost -->
2369
                    <detectJavaApiLink>false</detectJavaApiLink>
2370
                    <detectLinks>false</detectLinks>
2371
                    <detectOfflineLinks>false</detectOfflineLinks>
2372
                    <!-- Removed the inclusion of dependencies sources due to their high cost -->
2373
                    <includeDependencySources>false</includeDependencySources>
2374
                    <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
2375
                </configuration>
2376
                <reportSets>
2377
                    <reportSet>
2378
                        <id>html</id>
2379
                        <reports>
2380
                            <report>javadoc</report>
2381
                            <!-- removed javadocs of tests -->
2382
                        </reports>
2383
                    </reportSet>
2384
                </reportSets>
2385
            </plugin>
2386
            <plugin>
2387
                <groupId>org.apache.maven.plugins</groupId>
2388
                <artifactId>maven-jxr-plugin</artifactId>
2389
                <version>2.3</version>
2390
                <configuration>
2391
                    <linkJavadoc>true</linkJavadoc>
2392
                    <aggregate>false</aggregate>
2393
                </configuration>
2394
            </plugin>
2395
            <plugin>
2396
                <groupId>org.codehaus.mojo</groupId>
2397
                <artifactId>findbugs-maven-plugin</artifactId>
2398
                <version>2.5.2</version>
2399
            </plugin>
2400

    
2401
        </plugins>
2402
    </reporting>
2403

    
2404

    
2405
    <profiles>
2406

    
2407
        <profile>
2408
            <!-- This profile is used to initialize and install the root folder of gvSIG -->
2409
            <id>gvsig-root</id>
2410
            <activation>
2411
                <file>
2412
                    <exists>src/main/assembly/gvsig-root-folder-package.xml</exists>
2413
                </file>
2414
            </activation>
2415
            <build>
2416
                <plugins>
2417

    
2418
                    <plugin>
2419
                        <!-- Check if exists ".gvsig-devel.properties" and create if not exists -->
2420
                        <groupId>org.codehaus.gmaven</groupId>
2421
                        <artifactId>gmaven-plugin</artifactId>
2422
                        <executions>
2423
                            <execution>
2424
                                <id>initialize-gvsig-product-folder-path</id>
2425
                                <phase>generate-sources</phase>
2426
                                <goals>
2427
                                    <goal>execute</goal>
2428
                                </goals>
2429
                                <configuration>
2430
                                    <source><![CDATA[
2431
                    if( project.artifactId != "org.gvsig.desktop" ) {
2432
                            log.warn("Skip initialization of gvsig-devel.properties.")
2433
                    } else {
2434
                      home = System.getenv('HOME')
2435
                      if( home == null ) {
2436
                        home = System.properties['user.home']
2437
                      }
2438
                      Properties props = new Properties()
2439
                      File propsFile = new File(home + "/.gvsig-devel.properties")
2440
                      if( project.properties["reset-gvsig.product.folder.path"] != null ) {
2441
                            gvsigProductFolderPath= new File(project.basedir, "target/product").getAbsolutePath()
2442
                            log.info("Force gvsig.product.folder.path to '"+gvsigProductFolderPath+"'.")
2443
                            props.load(propsFile.newDataInputStream())
2444
                            props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2445
                            props.store(propsFile.newWriter(), null)
2446
                      } else {
2447
                        gvsigProductFolderPathDefault = project.properties["gvsig.product.folder.path"]
2448
                        // println "Default gvsig.product.folder.path = " + gvsigProductFolderPathDefault
2449
                        try {
2450
                          props.load(propsFile.newDataInputStream())
2451
                          gvsigProductFolderPath = props.getProperty('gvsig.product.folder.path')
2452
                          if( gvsigProductFolderPath == null ) {
2453
                            gvsigProductFolderPath = gvsigProductFolderPathDefault
2454
                            props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2455
                            props.store(propsFile.newWriter(), null)
2456
                          }
2457
                        } catch(java.io.FileNotFoundException e){
2458
                          gvsigProductFolderPath = gvsigProductFolderPathDefault
2459
                          props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2460
                          props.store(propsFile.newWriter(), null)
2461
                        }
2462
                        if( gvsigProductFolderPathDefault != gvsigProductFolderPath ) {
2463
                          f = new File(gvsigProductFolderPathDefault)
2464
                          f.mkdirs();
2465
                                                  new File(f,"WARNING.txt").withWriter { out ->
2466
                                                          out.println();
2467
                                                          out.println("The product folder used is set to:");
2468
                                                          out.println();
2469
                                                          out.println(gvsigProductFolderPath);
2470
                                                          out.println();
2471
                                                          out.println("See the HOME/.gvsig-devel.properties to change it.");
2472
                                                          out.println();
2473
                                                  }
2474
                        }
2475
                      }
2476
                      log.info("Current gvsig.product.folder.path = " + gvsigProductFolderPath)
2477
                    }
2478
                  ]]></source>
2479
                                </configuration>
2480
                            </execution>
2481

    
2482
                        </executions>
2483
                    </plugin>
2484

    
2485
                </plugins>
2486
            </build>
2487
        </profile>
2488

    
2489

    
2490

    
2491
        <profile>
2492
            <!-- This profile is used to packege and install the gvSIG plugins -->
2493
            <id>gvsig-plugin</id>
2494
            <activation>
2495
                <file>
2496
                    <exists>buildNumber.properties</exists>
2497
                </file>
2498
            </activation>
2499
            <build>
2500
                <plugins>
2501

    
2502
                    <plugin>
2503
                        <artifactId>maven-assembly-plugin</artifactId>
2504
                        <executions>
2505
                            <execution>
2506
                                <id>gvsig-plugin-package</id>
2507
                                <phase>package</phase>
2508
                                <goals>
2509
                                    <goal>single</goal>
2510
                                </goals>
2511
                            </execution>
2512
                        </executions>
2513
                    </plugin>
2514

    
2515
                    <plugin>
2516
                        <artifactId>maven-clean-plugin</artifactId>
2517
                        <configuration>
2518
                            <skip>false</skip>
2519
                            <failOnError>true</failOnError>
2520
                            <filesets>
2521
                                <fileset>
2522
                                    <directory>${gvsig.product.folder.path}/gvSIG/extensiones/${project.artifactId}</directory>
2523
                                </fileset>
2524
                            </filesets>
2525
                        </configuration>
2526
                        <executions>
2527
                            <execution>
2528
                                <id>default-clean</id>
2529
                                <phase>clean</phase>
2530
                            </execution>
2531
                        </executions>
2532
                    </plugin>
2533

    
2534
                    <plugin>
2535
                        <groupId>org.codehaus.gmaven</groupId>
2536
                        <artifactId>gmaven-plugin</artifactId>
2537
                        <executions>
2538

    
2539
                            <execution>
2540
                                <id>increase-build-number</id>
2541
                                <phase>process-sources</phase>
2542
                                <goals>
2543
                                    <goal>execute</goal>
2544
                                </goals>
2545
                            </execution>
2546

    
2547
                            <execution>
2548
                                <id>build-package-info</id>
2549
                                <phase>prepare-package</phase>
2550
                                <goals>
2551
                                    <goal>execute</goal>
2552
                                </goals>
2553
                            </execution>
2554

    
2555
                            <execution>
2556
                                <id>build-package-index</id>
2557
                                <phase>package</phase>
2558
                                <goals>
2559
                                    <goal>execute</goal>
2560
                                </goals>
2561
                            </execution>
2562

    
2563
                            <execution>
2564
                                <id>install-plugin</id>
2565
                                <phase>install</phase>
2566
                                <goals>
2567
                                    <goal>execute</goal>
2568
                                </goals>
2569
                            </execution>
2570

    
2571
                            <execution>
2572
                                <id>deploy-package</id>
2573
                                <phase>install</phase>
2574
                                <goals>
2575
                                    <goal>execute</goal>
2576
                                </goals>
2577
                            </execution>
2578

    
2579
                        </executions>
2580
                    </plugin>
2581

    
2582
                </plugins>
2583
            </build>
2584
        </profile>
2585

    
2586
    </profiles>
2587

    
2588
    <properties>
2589
        <!-- General configuration -->
2590
        <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
2591
        <localRepository>${user.home}/.m2/repository</localRepository>
2592
        <site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository>
2593

    
2594
        <!-- The property svn.tags.folder is used in external projects to override  -->
2595
        <!-- configuraction in maven-release-plugin -->
2596
        <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-desktop/tags/</svn.tags.folder>
2597

    
2598
        <!-- Package info property values -->
2599
        <gvsig.version>2.5.0</gvsig.version>
2600
        <gvsig.package.info.codealias />
2601
        <gvsig.package.info.code>${project.artifactId}</gvsig.package.info.code>
2602
        <gvsig.package.info.name>${project.name}</gvsig.package.info.name>
2603
        <gvsig.package.info.description>${project.description}</gvsig.package.info.description>
2604
        <gvsig.package.info.version>${project.version}</gvsig.package.info.version>
2605
        <gvsig.package.info.state>testing</gvsig.package.info.state>
2606
        <gvsig.package.info.official>false</gvsig.package.info.official>
2607
        <gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem>
2608
        <gvsig.package.info.architecture>all</gvsig.package.info.architecture>
2609
        <gvsig.package.info.javaVM>j1_7</gvsig.package.info.javaVM>
2610
        <gvsig.package.info.gvSIGVersion>${gvsig.version}</gvsig.package.info.gvSIGVersion>
2611
        <gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin -ge 2.1.0</gvsig.package.info.dependencies>
2612
        <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
2613
        <gvsig.package.info.sourcesURL>${project.scm.connection}</gvsig.package.info.sourcesURL>
2614
        <gvsig.package.info.webURL>http://www.gvsig.com</gvsig.package.info.webURL>
2615
        <gvsig.package.info.categories />
2616
        <gvsig.package.info.poolURL>http://downloads.gvsig.org/download/gvsig-desktop/pool</gvsig.package.info.poolURL>
2617

    
2618
        <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
2619
        <gvsig.install.plugin>true</gvsig.install.plugin>
2620
        <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
2621
        <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
2622

    
2623
        <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
2624

    
2625
        <!-- artifactID implementations libraries for use in runtime and test dependencies -->
2626
        <org.gvsig.about.impl>org.gvsig.about.impl</org.gvsig.about.impl>
2627
        <org.gvsig.annotation.lib.impl>org.gvsig.annotation.lib.impl</org.gvsig.annotation.lib.impl>
2628
        <org.gvsig.annotation.swing.impl>org.gvsig.annotation.swing.impl</org.gvsig.annotation.swing.impl>
2629
        <org.gvsig.compat.impl>org.gvsig.compat.se</org.gvsig.compat.impl>
2630
        <org.gvsig.exportto.lib.impl>org.gvsig.exportto.lib.impl</org.gvsig.exportto.lib.impl>
2631
        <org.gvsig.exportto.swing.impl>org.gvsig.exportto.swing.impl</org.gvsig.exportto.swing.impl>
2632
        <org.gvsig.fmap.dal.impl>org.gvsig.fmap.dal.impl</org.gvsig.fmap.dal.impl>
2633
        <org.gvsig.fmap.dal.swing.impl>org.gvsig.fmap.dal.swing.impl</org.gvsig.fmap.dal.swing.impl>
2634
        <org.gvsig.fmap.geometry.impl>org.gvsig.fmap.geometry.jts</org.gvsig.fmap.geometry.impl>
2635
        <org.gvsig.fmap.geometry.operation.impl>org.gvsig.fmap.geometry.operation.jts</org.gvsig.fmap.geometry.operation.impl>
2636
        <org.gvsig.fmap.mapcontext.impl>org.gvsig.fmap.mapcontext.impl</org.gvsig.fmap.mapcontext.impl>
2637
        <org.gvsig.fmap.mapcontext.operation.impl>org.gvsig.fmap.mapcontext.operation</org.gvsig.fmap.mapcontext.operation.impl>
2638
        <org.gvsig.installer.lib.impl>org.gvsig.installer.lib.impl</org.gvsig.installer.lib.impl>
2639
        <org.gvsig.installer.swing.impl>org.gvsig.installer.swing.impl</org.gvsig.installer.swing.impl>
2640
        <org.gvsig.metadata.lib.basic.impl>org.gvsig.metadata.lib.basic.impl</org.gvsig.metadata.lib.basic.impl>
2641
        <org.gvsig.metadata.swing.basic.impl>org.gvsig.metadata.swing.basic.impl</org.gvsig.metadata.swing.basic.impl>
2642
        <org.gvsig.newlayer.lib.impl>org.gvsig.newlayer.lib.impl</org.gvsig.newlayer.lib.impl>
2643
        <org.gvsig.personaldb.lib.impl>org.gvsig.personaldb.lib.impl</org.gvsig.personaldb.lib.impl>
2644
        <org.gvsig.projection.impl>org.gvsig.projection.cresques.impl</org.gvsig.projection.impl>
2645
        <!--
2646
        <org.gvsig.projection.impl>org.gvsig.projection.jcrs</org.gvsig.projection.impl>
2647
        -->
2648
        <org.gvsig.proj.lib.impl>org.gvsig.proj.lib.proj4j</org.gvsig.proj.lib.impl>
2649
        <org.gvsig.proj.swing.impl>org.gvsig.proj.swing.impl</org.gvsig.proj.swing.impl>
2650
        <org.gvsig.symbology.lib.impl>org.gvsig.symbology.lib.impl</org.gvsig.symbology.lib.impl>
2651
        <org.gvsig.symbology.swing.impl>org.gvsig.symbology.swing.impl</org.gvsig.symbology.swing.impl>
2652
        <org.gvsig.timesupport.lib.impl>org.gvsig.timesupport.lib.impl</org.gvsig.timesupport.lib.impl>
2653
        <org.gvsig.timesupport.swing.impl>org.gvsig.timesupport.swing.impl</org.gvsig.timesupport.swing.impl>
2654
        <org.gvsig.tools.dynform.impl>org.gvsig.tools.dynform.impl</org.gvsig.tools.dynform.impl>
2655
        <org.gvsig.tools.dynform.services>org.gvsig.tools.dynform.services</org.gvsig.tools.dynform.services>
2656
        <org.gvsig.tools.swing.impl>org.gvsig.tools.swing.impl</org.gvsig.tools.swing.impl>
2657

    
2658
        <jython.artifactId>jython-standalone</jython.artifactId>
2659
        <!-- External project versions -->
2660
        <gvsig.tools.version>3.0.179</gvsig.tools.version>
2661
        <gvsig.proj.version>1.0.4</gvsig.proj.version>
2662
        <gvsig.projection.api.version>2.0.25</gvsig.projection.api.version>
2663

    
2664
    </properties>
2665

    
2666
    <modules>
2667
        <module>org.gvsig.desktop.compat.cdc</module>
2668
        <module>org.gvsig.desktop.library</module>
2669
        <module>org.gvsig.desktop.framework</module>
2670
        <module>org.gvsig.desktop.plugin</module>
2671

    
2672
        <!-- NOTE: Project  org.gvsig.desktop.installer must not be a sub module of this. -->
2673
        <!-- NOTE: Project  org.gvsig.desktop.buildtools must not be a sub module of this. -->
2674

    
2675
    </modules>
2676
</project>
2677