Statistics
| Revision:

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

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.221</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.221</connection>
46
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.221</developerConnection>
47
        <url>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.221</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.solr</groupId>
334
                <artifactId>solr-commons-csv</artifactId>
335
                <version>3.5.0</version>
336
            </dependency>
337
            <dependency>
338
                <groupId>commons-httpclient</groupId>
339
                <artifactId>commons-httpclient</artifactId>
340
                <version>2.0.2</version>
341
            </dependency>
342
            <dependency>
343
                <groupId>commons-cli</groupId>
344
                <artifactId>commons-cli</artifactId>
345
                <version>1.4</version>
346
            </dependency>
347
<!--            <dependency>
348
                <groupId>commons-io</groupId>
349
                <artifactId>commons-io</artifactId>
350
                <version>2.4</version>
351
            </dependency>-->
352
<!--            <dependency>
353
                <groupId>org.apache.commons</groupId>
354
                <artifactId>commons-lang3</artifactId>
355
                <version>3.1</version>
356
            </dependency>-->
357
            <dependency>
358
                <groupId>org.apache.commons</groupId>
359
                <artifactId>commons-math</artifactId>
360
                <version>2.2</version>
361
            </dependency>            
362
            <dependency>
363
                <groupId>commons-configuration</groupId>
364
                <artifactId>commons-configuration</artifactId>
365
                <version>1.10</version>
366
            </dependency>
367
            <dependency>
368
                <groupId>commons-logging</groupId>
369
                <artifactId>commons-logging</artifactId>
370
                <version>1.1.1</version>
371
            </dependency>
372
            <dependency>
373
                <groupId>commons-logging</groupId>
374
                <artifactId>commons-logging</artifactId>
375
                <version>1.1.1</version>
376
                <classifier>api</classifier>
377
            </dependency>
378
            <dependency>
379
                <groupId>commons-pool</groupId>
380
                <artifactId>commons-pool</artifactId>
381
                <version>1.6</version>
382
            </dependency>
383

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

    
827
            <!-- External gvSIG projects -->
828

    
829
            <dependency>
830
                <groupId>org.gvsig</groupId>
831
                <artifactId>org.gvsig.jdk.v1_6</artifactId>
832
                <version>1.0.1</version>
833
            </dependency>
834
            <dependency>
835
                <groupId>org.gvsig</groupId>
836
                <artifactId>org.gvsig.jdk.v1_4</artifactId>
837
                <version>1.0.0</version>
838
            </dependency>
839
<!--            <dependency>
840
                <groupId>org.gvsig</groupId>
841
                <artifactId>org.gvsig.tools.lib</artifactId>
842
                <version>${gvsig.tools.version}</version>
843
            </dependency>
844
            <dependency>
845
                <groupId>org.gvsig</groupId>
846
                <artifactId>org.gvsig.tools.lib</artifactId>
847
                <version>${gvsig.tools.version}</version>
848
                <type>test-jar</type>
849
                <scope>test</test>
850
            </dependency>
851
            <dependency>
852
                <groupId>org.gvsig</groupId>
853
                <artifactId>org.gvsig.tools.swing.api</artifactId>
854
                <version>${gvsig.tools.version}</version>
855
            </dependency>
856
            <dependency>
857
                <groupId>org.gvsig</groupId>
858
                <artifactId>org.gvsig.tools.swing.impl</artifactId>
859
                <version>${gvsig.tools.version}</version>
860
            </dependency>-->
861
<!--
862
            <dependency>
863
                <groupId>org.gvsig</groupId>
864
                <artifactId>org.gvsig.tools.dynform.api</artifactId>
865
                <version>${gvsig.tools.version}</version>
866
            </dependency>
867
            <dependency>
868
                <groupId>org.gvsig</groupId>
869
                <artifactId>org.gvsig.tools.dynform.spi</artifactId>
870
                <version>${gvsig.tools.version}</version>
871
            </dependency>
872
            <dependency>
873
                <groupId>org.gvsig</groupId>
874
                <artifactId>org.gvsig.tools.dynform.services</artifactId>
875
                <version>${gvsig.tools.version}</version>
876
            </dependency>
877
            <dependency>
878
                <groupId>org.gvsig</groupId>
879
                <artifactId>org.gvsig.tools.dynform.impl</artifactId>
880
                <version>${gvsig.tools.version}</version>
881
            </dependency>-->
882

    
883
            <dependency>
884
                <groupId>org.gvsig</groupId>
885
                <artifactId>org.gvsig.catalog</artifactId>
886
                <version>2.0</version>
887
            </dependency>
888
            <dependency>
889
                <groupId>org.gvsig.external</groupId>
890
                <artifactId>org.gvsig.external.jump</artifactId>
891
                <version>1.0.0</version>
892
            </dependency>
893
            <dependency>
894
                <groupId>org.gvsig</groupId>
895
                <artifactId>org.gvsig.proj.lib.api</artifactId>
896
                <version>${gvsig.proj.version}</version>
897
            </dependency>
898
            <dependency>
899
                <groupId>org.gvsig</groupId>
900
                <artifactId>org.gvsig.proj.lib.proj4j</artifactId>
901
                <version>${gvsig.proj.version}</version>
902
            </dependency>
903
            <dependency>
904
                <groupId>org.gvsig</groupId>
905
                <artifactId>org.gvsig.proj.swing.api</artifactId>
906
                <version>${gvsig.proj.version}</version>
907
            </dependency>
908
            <dependency>
909
                <groupId>org.gvsig</groupId>
910
                <artifactId>org.gvsig.proj.swing.impl</artifactId>
911
                <version>${gvsig.proj.version}</version>
912
            </dependency>
913
            <dependency>
914
                <groupId>org.gvsig</groupId>
915
                <artifactId>org.gvsig.projection.api</artifactId>
916
                <version>${gvsig.projection.api.version}</version>
917
            </dependency>
918

    
919
            <!-- Childs projects -->
920

    
921
            <dependency>
922
                <groupId>org.gvsig</groupId>
923
                <artifactId>org.gvsig.about.api</artifactId>
924
                <version>2.0.221</version>
925
            </dependency>
926
            <dependency>
927
                <groupId>org.gvsig</groupId>
928
                <artifactId>org.gvsig.about.impl</artifactId>
929
                <version>2.0.221</version>
930
            </dependency>
931
            <dependency>
932
                <groupId>org.gvsig</groupId>
933
                <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
934
                <version>2.0.221</version>
935
            </dependency>
936
            <dependency>
937
                <groupId>org.gvsig</groupId>
938
                <artifactId>org.gvsig.metadata.lib.basic.impl</artifactId>
939
                <version>2.0.221</version>
940
            </dependency>
941
            <dependency>
942
                <groupId>org.gvsig</groupId>
943
                <artifactId>org.gvsig.metadata.swing.basic.api</artifactId>
944
                <version>2.0.221</version>
945
            </dependency>
946
            <dependency>
947
                <groupId>org.gvsig</groupId>
948
                <artifactId>org.gvsig.metadata.swing.basic.impl</artifactId>
949
                <version>2.0.221</version>
950
            </dependency>
951
            <dependency>
952
                <groupId>org.gvsig</groupId>
953
                <artifactId>org.gvsig.projection.cresques.impl</artifactId>
954
                <version>2.0.221</version>
955
            </dependency>
956
            <dependency>
957
                <groupId>org.gvsig</groupId>
958
                <artifactId>org.gvsig.projection.cresques.ui</artifactId>
959
                <version>2.0.221</version>
960
            </dependency>
961
            <dependency>
962
                <groupId>org.gvsig</groupId>
963
                <artifactId>org.gvsig.andami</artifactId>
964
                <version>2.0.221</version>
965
            </dependency>
966
            <dependency>
967
                <groupId>org.gvsig</groupId>
968
                <artifactId>org.gvsig.app</artifactId>
969
                <version>2.0.221</version>
970
            </dependency>
971
            <dependency>
972
                <groupId>org.gvsig</groupId>
973
                <artifactId>org.gvsig.ui</artifactId>
974
                <version>2.0.221</version>
975
            </dependency>
976
            <dependency>
977
                <groupId>org.gvsig</groupId>
978
                <artifactId>org.gvsig.fmap.control</artifactId>
979
                <version>2.0.221</version>
980
            </dependency>
981
            <dependency>
982
                <groupId>org.gvsig</groupId>
983
                <artifactId>org.gvsig.fmap.mapcontext.api</artifactId>
984
                <version>2.0.221</version>
985
            </dependency>
986
            <dependency>
987
                <groupId>org.gvsig</groupId>
988
                <artifactId>org.gvsig.fmap.mapcontext.impl</artifactId>
989
                <version>2.0.221</version>
990
            </dependency>            
991
            <dependency>
992
                <!-- 
993
                Eliminado el proyecto asi que le pongo una version "chunga" 
994
                para que falle al resolverla si alguien lo usa
995
                -->
996
                <groupId>org.gvsig</groupId>
997
                <artifactId>org.gvsig.fmap.mapcontext.operation</artifactId>
998
                <version>ERROR</version> 
999
            </dependency>
1000
            <dependency>
1001
                <groupId>org.gvsig</groupId>
1002
                <artifactId>org.gvsig.fmap.dal.api</artifactId>
1003
                <version>2.0.221</version>
1004
            </dependency>
1005
            <dependency>
1006
                <groupId>org.gvsig</groupId>
1007
                <artifactId>org.gvsig.fmap.dal.spi</artifactId>
1008
                <version>2.0.221</version>
1009
            </dependency>
1010
            <dependency>
1011
                <groupId>org.gvsig</groupId>
1012
                <artifactId>org.gvsig.fmap.dal.impl</artifactId>
1013
                <version>2.0.221</version>
1014
            </dependency>
1015
            <dependency>
1016
                <groupId>org.gvsig</groupId>
1017
                <artifactId>org.gvsig.fmap.dal.impl</artifactId>
1018
                <version>2.0.221</version>
1019
                <type>test-jar</type>
1020
                <scope>test</scope>
1021
            </dependency>
1022
            <dependency>
1023
                <groupId>org.gvsig</groupId>
1024
                <artifactId>org.gvsig.fmap.dal.api</artifactId>
1025
                <version>2.0.221</version>
1026
                <type>test-jar</type>
1027
                <scope>test</scope>
1028
            </dependency>            <dependency>
1029
                <groupId>org.gvsig</groupId>
1030
                <artifactId>org.gvsig.fmap.dal.db.lib</artifactId>
1031
                <version>2.0.221</version>
1032
            </dependency>
1033
            <dependency>
1034
                <groupId>org.gvsig</groupId>
1035
                <artifactId>org.gvsig.fmap.dal.db.jdbc</artifactId>
1036
                <version>2.0.221</version>
1037
            </dependency>
1038
            <dependency>
1039
                <groupId>org.gvsig</groupId>
1040
                <artifactId>org.gvsig.fmap.dal.db.h2</artifactId>
1041
                <version>2.0.221</version>
1042
            </dependency>
1043

    
1044
            <dependency>
1045
                <groupId>org.gvsig</groupId>
1046
                <artifactId>org.gvsig.fmap.dal.file.lib</artifactId>
1047
                <version>2.0.221</version>
1048
            </dependency>
1049
            <dependency>
1050
                <groupId>org.gvsig</groupId>
1051
                <artifactId>org.gvsig.fmap.dal.file.dbf</artifactId>
1052
                <version>2.0.221</version>
1053
            </dependency>
1054
            <dependency>
1055
                <groupId>org.gvsig</groupId>
1056
                <artifactId>org.gvsig.fmap.dal.file.csv</artifactId>
1057
                <version>2.0.221</version>
1058
            </dependency>
1059
            <dependency>
1060
                <groupId>org.gvsig</groupId>
1061
                <artifactId>org.gvsig.fmap.dal.file.shp</artifactId>
1062
                <version>2.0.221</version>
1063
            </dependency>
1064
            <dependency>
1065
              <groupId>org.gvsig</groupId>
1066
              <artifactId>org.gvsig.fmap.dal.swing.api</artifactId>
1067
              <version>2.0.221</version>
1068
            </dependency>
1069
                <dependency>
1070
              <groupId>org.gvsig</groupId>
1071
              <artifactId>org.gvsig.fmap.dal.swing.impl</artifactId>
1072
               <version>2.0.221</version>
1073
            </dependency>
1074
            <dependency>
1075
                <groupId>org.gvsig</groupId>
1076
                <artifactId>org.gvsig.newlayer.lib.api</artifactId>
1077
                <version>2.0.221</version>
1078
            </dependency>
1079
            <dependency>
1080
                <groupId>org.gvsig</groupId>
1081
                <artifactId>org.gvsig.newlayer.lib.api</artifactId>
1082
                <version>2.0.221</version>
1083
                <type>test-jar</type>
1084
                <scope>test</scope>
1085
            </dependency>
1086
            <dependency>
1087
                <groupId>org.gvsig</groupId>
1088
                <artifactId>org.gvsig.newlayer.lib.impl</artifactId>
1089
                <version>2.0.221</version>
1090
            </dependency>
1091
            <dependency>
1092
                <groupId>org.gvsig</groupId>
1093
                <artifactId>org.gvsig.newlayer.prov.generic</artifactId>
1094
                <version>2.0.46-SNAPSHOT</version>
1095
            </dependency>
1096
            <dependency>
1097
                <groupId>org.gvsig</groupId>
1098
                <artifactId>org.gvsig.newlayer.prov.file</artifactId>
1099
                <version>2.0.221</version>
1100
            </dependency>
1101
            <dependency>
1102
                <groupId>org.gvsig</groupId>
1103
                <artifactId>org.gvsig.newlayer.prov.shape</artifactId>
1104
                <version>2.0.221</version>
1105
            </dependency>
1106
            <dependency>
1107
                <groupId>org.gvsig</groupId>
1108
                <artifactId>org.gvsig.symbology.lib.api</artifactId>
1109
                <version>2.0.221</version>
1110
            </dependency>
1111
            <dependency>
1112
                <groupId>org.gvsig</groupId>
1113
                <artifactId>org.gvsig.symbology.lib.impl</artifactId>
1114
                <version>2.0.221</version>
1115
            </dependency>
1116
            <dependency>
1117
                <groupId>org.gvsig</groupId>
1118
                <artifactId>org.gvsig.symbology.swing.api</artifactId>
1119
                <version>2.0.221</version>
1120
            </dependency>
1121
            <dependency>
1122
                <groupId>org.gvsig</groupId>
1123
                <artifactId>org.gvsig.symbology.swing.impl</artifactId>
1124
                <version>2.0.221</version>
1125
            </dependency>
1126
            <dependency>
1127
                <groupId>org.gvsig</groupId>
1128
                <artifactId>org.gvsig.fmap.geometry.api</artifactId>
1129
                <version>2.0.221</version>
1130
            </dependency>
1131
            <!--
1132
            <dependency>
1133
                <groupId>org.gvsig</groupId>
1134
                <artifactId>org.gvsig.fmap.geometry.generalpath</artifactId>
1135
                <version>2.0.103-SNAPSHOT</version>
1136
            </dependency>
1137
            <dependency>
1138
                <groupId>org.gvsig</groupId>
1139
                <artifactId>org.gvsig.fmap.geometry.operation</artifactId>
1140
                <version>2.0.103-SNAPSHOT</version>
1141
            </dependency>
1142
            -->
1143
            <dependency>
1144
                <groupId>org.gvsig</groupId>
1145
                <artifactId>org.gvsig.fmap.geometry.jts</artifactId>
1146
                <version>2.0.221</version>
1147
            </dependency>
1148
            <dependency>
1149
                <groupId>org.gvsig</groupId>
1150
                <artifactId>org.gvsig.fmap.geometry.operation.jts</artifactId>
1151
                <version>2.0.221</version>
1152
            </dependency>
1153

    
1154

    
1155
            <dependency>
1156
                <groupId>org.gvsig</groupId>
1157
                <artifactId>org.gvsig.tools.evaluator.sqljep</artifactId>
1158
                <version>2.0.221</version>
1159
            </dependency>
1160
            <dependency>
1161
                <groupId>org.gvsig</groupId>
1162
                <artifactId>org.gvsig.compat.api</artifactId>
1163
                <version>2.0.221</version>
1164
            </dependency>
1165
            <dependency>
1166
                <groupId>org.gvsig</groupId>
1167
                <artifactId>org.gvsig.compat.se</artifactId>
1168
                <version>2.0.221</version>
1169
            </dependency>
1170
            <dependency>
1171
                <groupId>org.gvsig</groupId>
1172
                <artifactId>org.gvsig.remoteclient</artifactId>
1173
                <version>2.0.221</version>
1174
            </dependency>
1175
            <dependency>
1176
                <groupId>org.gvsig</groupId>
1177
                <artifactId>org.gvsig.i18n</artifactId>
1178
                <version>2.0.221</version>
1179
            </dependency>
1180
            <dependency>
1181
                <groupId>org.gvsig</groupId>
1182
                <artifactId>org.gvsig.utils</artifactId>
1183
                <version>2.0.221</version>
1184
            </dependency>
1185
            <dependency>
1186
                <groupId>org.gvsig</groupId>
1187
                <artifactId>org.gvsig.annotation.lib.api</artifactId>
1188
                <version>2.0.221</version>
1189
            </dependency>
1190
            <dependency>
1191
                <groupId>org.gvsig</groupId>
1192
                <artifactId>org.gvsig.annotation.lib.impl</artifactId>
1193
                <version>2.0.221</version>
1194
            </dependency>
1195
            <dependency>
1196
                <groupId>org.gvsig</groupId>
1197
                <artifactId>org.gvsig.annotation.swing.api</artifactId>
1198
                <version>2.0.221</version>
1199
            </dependency>
1200
            <dependency>
1201
                <groupId>org.gvsig</groupId>
1202
                <artifactId>org.gvsig.annotation.swing.impl</artifactId>
1203
                <version>2.0.221</version>
1204
            </dependency>
1205
            <dependency>
1206
                <groupId>org.gvsig</groupId>
1207
                <artifactId>org.gvsig.expressionevaluator.lib.api</artifactId>
1208
                <version>2.0.221</version>
1209
            </dependency>
1210
            <dependency>
1211
                <groupId>org.gvsig</groupId>
1212
                <artifactId>org.gvsig.expressionevaluator.lib.impl</artifactId>
1213
                <version>2.0.221</version>
1214
            </dependency>
1215
            <dependency>
1216
                <groupId>org.gvsig</groupId>
1217
                <artifactId>org.gvsig.temporarystorage.lib.api</artifactId>
1218
                <version>2.0.221</version>
1219
            </dependency>
1220
            <dependency>
1221
                <groupId>org.gvsig</groupId>
1222
                <artifactId>org.gvsig.temporarystorage.lib.impl</artifactId>
1223
                <version>2.0.221</version>
1224
            </dependency>
1225
            <dependency>
1226
                <groupId>org.gvsig</groupId>
1227
                <artifactId>org.gvsig.exportto.lib.api</artifactId>
1228
                <version>2.0.221</version>
1229
            </dependency>
1230
            <dependency>
1231
                <groupId>org.gvsig</groupId>
1232
                <artifactId>org.gvsig.exportto.lib.api</artifactId>
1233
                <version>2.0.221</version>
1234
                <type>test-jar</type>
1235
                <scope>test</scope>
1236
            </dependency>
1237
            <dependency>
1238
                <groupId>org.gvsig</groupId>
1239
                <artifactId>org.gvsig.exportto.lib.impl</artifactId>
1240
                <version>2.0.221</version>
1241
            </dependency>
1242
            <dependency>
1243
                <groupId>org.gvsig</groupId>
1244
                <artifactId>org.gvsig.exportto.swing.api</artifactId>
1245
                <version>2.0.221</version>
1246
            </dependency>
1247
            <dependency>
1248
                <groupId>org.gvsig</groupId>
1249
                <artifactId>org.gvsig.exportto.swing.spi</artifactId>
1250
                <version>2.0.221</version>
1251
            </dependency>
1252
            <dependency>
1253
                <groupId>org.gvsig</groupId>
1254
                <artifactId>org.gvsig.exportto.swing.impl</artifactId>
1255
                <version>2.0.221</version>
1256
            </dependency>
1257
            <dependency>
1258
                <groupId>org.gvsig</groupId>
1259
                <artifactId>org.gvsig.exportto.swing.prov.generic</artifactId>
1260
                <version>2.0.46-SNAPSHOT</version>
1261
            </dependency>
1262
            <dependency>
1263
                <groupId>org.gvsig</groupId>
1264
                <artifactId>org.gvsig.exportto.swing.prov.file</artifactId>
1265
                <version>2.0.221</version>
1266
            </dependency>
1267
            <dependency>
1268
                <groupId>org.gvsig</groupId>
1269
                <artifactId>org.gvsig.exportto.swing.prov.jdbc</artifactId>
1270
                <version>2.0.221</version>
1271
            </dependency>
1272
            <dependency>
1273
                <groupId>org.gvsig</groupId>
1274
                <artifactId>org.gvsig.exportto.swing.prov.shape</artifactId>
1275
                <version>2.0.221</version>
1276
            </dependency>
1277
            <dependency>
1278
                <groupId>org.gvsig</groupId>
1279
                <artifactId>org.gvsig.exportto.swing.prov.dxf</artifactId>
1280
                <version>2.0.196-SNAPSHOT</version>
1281
            </dependency>
1282
            <dependency>
1283
                <groupId>org.gvsig</groupId>
1284
                <artifactId>org.gvsig.exportto.swing.prov.dbf</artifactId>
1285
                <version>2.0.221</version>
1286
            </dependency>
1287
            <dependency>
1288
                <groupId>org.gvsig</groupId>
1289
                <artifactId>org.gvsig.installer.swing.api</artifactId>
1290
                <version>2.0.221</version>
1291
            </dependency>
1292
            <dependency>
1293
                <groupId>org.gvsig</groupId>
1294
                <artifactId>org.gvsig.installer.swing.impl</artifactId>
1295
                <version>2.0.221</version>
1296
            </dependency>
1297
            <dependency>
1298
                <groupId>org.gvsig</groupId>
1299
                <artifactId>org.gvsig.installer.lib.api</artifactId>
1300
                <version>2.0.221</version>
1301
            </dependency>
1302
            <dependency>
1303
                <groupId>org.gvsig</groupId>
1304
                <artifactId>org.gvsig.installer.lib.spi</artifactId>
1305
                <version>2.0.221</version>
1306
            </dependency>
1307
            <dependency>
1308
                <groupId>org.gvsig</groupId>
1309
                <artifactId>org.gvsig.installer.lib.impl</artifactId>
1310
                <version>2.0.221</version>
1311
            </dependency>
1312
            <dependency>
1313
                <groupId>org.gvsig</groupId>
1314
                <artifactId>org.gvsig.installer.prov.plugin</artifactId>
1315
                <version>2.0.221</version>
1316
            </dependency>
1317
            <dependency>
1318
                <groupId>org.gvsig</groupId>
1319
                <artifactId>org.gvsig.geodb.app.mainplugin</artifactId>
1320
                <version>2.0.221</version>
1321
            </dependency>
1322

    
1323
            <dependency>
1324
                <groupId>org.gvsig</groupId>
1325
                <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
1326
                <version>2.0.221</version>
1327
            </dependency>
1328
            <dependency>
1329
                <groupId>org.gvsig</groupId>
1330
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1331
                <version>2.0.221</version>
1332
            </dependency>
1333
            <dependency>
1334
                <groupId>org.gvsig</groupId>
1335
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1336
                <version>2.0.221</version>
1337
                <type>test-jar</type>
1338
                <scope>test</scope>
1339
            </dependency>
1340
            <dependency>
1341
                <groupId>org.gvsig</groupId>
1342
                <artifactId>org.gvsig.daltransform.app.join</artifactId>
1343
                <version>2.0.221</version>
1344
            </dependency>
1345
            <dependency>
1346
                <groupId>org.gvsig</groupId>
1347
                <artifactId>org.gvsig.daltransform.app.eventtheme</artifactId>
1348
                <version>2.0.221</version>
1349
            </dependency>
1350

    
1351
            <dependency>
1352
                <groupId>org.gvsig</groupId>
1353
                <artifactId>org.gvsig.app.mainplugin</artifactId>
1354
                <version>2.0.221</version>
1355
            </dependency>
1356
            <dependency>
1357
                <groupId>org.gvsig</groupId>
1358
                <artifactId>org.gvsig.annotation.app.mainplugin</artifactId>
1359
                <version>2.0.221</version>
1360
            </dependency>
1361
            <dependency>
1362
                <groupId>org.gvsig</groupId>
1363
                <artifactId>org.gvsig.centerviewpoint.app.mainplugin</artifactId>
1364
                <version>2.0.221</version>
1365
            </dependency>
1366
            <dependency>
1367
                <groupId>org.gvsig</groupId>
1368
                <artifactId>org.gvsig.coreplugin.app.mainplugin</artifactId>
1369
                <version>2.0.221</version>
1370
            </dependency>
1371
            <dependency>
1372
                <groupId>org.gvsig</groupId>
1373
                <artifactId>org.gvsig.datalocator.app.mainplugin</artifactId>
1374
                <version>2.0.221</version>
1375
            </dependency>
1376
            <dependency>
1377
                <groupId>org.gvsig</groupId>
1378
                <artifactId>org.gvsig.editing.app.mainplugin</artifactId>
1379
                <version>2.0.112-SNAPSHOT</version>
1380
            </dependency>
1381
            <dependency>
1382
                <groupId>org.gvsig</groupId>
1383
                <artifactId>org.gvsig.exportto.app.mainplugin</artifactId>
1384
                <version>2.0.221</version>
1385
            </dependency>
1386
            <dependency>
1387
                <groupId>org.gvsig</groupId>
1388
                <artifactId>org.gvsig.mkmvnproject.app.mainplugin</artifactId>
1389
                <version>2.0.49-SNAPSHOT</version>
1390
            </dependency>
1391
            <dependency>
1392
                <groupId>org.gvsig</groupId>
1393
                <artifactId>org.gvsig.installer.app.mainplugin</artifactId>
1394
                <version>2.0.221</version>
1395
            </dependency>
1396
            <!--
1397
                      <dependency>
1398
                        <groupId>org.gvsig</groupId>
1399
                        <artifactId>org.gvsig.symbology.app.mainplugin</artifactId>
1400
                        <version>2.0.10-SNAPSHOT</version>
1401
                      </dependency>
1402
            -->
1403
            <dependency>
1404
                <groupId>org.gvsig</groupId>
1405
                <artifactId>org.gvsig.i18n.app.mainplugin</artifactId>
1406
                <version>2.0.221</version>
1407
            </dependency>
1408
            <dependency>
1409
                <groupId>org.gvsig</groupId>
1410
                <artifactId>org.gvsig.selectiontools.app.mainplugin</artifactId>
1411
                <version>2.0.221</version>
1412
            </dependency>
1413
            <dependency>
1414
                <groupId>org.gvsig</groupId>
1415
                <artifactId>org.gvsig.geometrymeasurement.app.mainplugin</artifactId>
1416
                <version>2.0.221</version>
1417
            </dependency>
1418
            <dependency>
1419
                <groupId>org.gvsig</groupId>
1420
                <artifactId>org.gvsig.newlayer.app.mainplugin</artifactId>
1421
                <version>2.0.221</version>
1422
            </dependency>
1423
            <!--
1424
            <dependency>
1425
                <groupId>org.gvsig</groupId>
1426
                <artifactId>org.gvsig.help.app.mainplugin</artifactId>
1427
                <version>2.0.24-SNAPSHOT</version>
1428
            </dependency>
1429
            -->
1430
            <dependency>
1431
                <groupId>org.gvsig</groupId>
1432
                <artifactId>org.gvsig.timesupport.lib.api</artifactId>
1433
                <version>2.0.221</version>
1434
            </dependency>
1435
            <dependency>
1436
                <groupId>org.gvsig</groupId>
1437
                <artifactId>org.gvsig.timesupport.lib.impl</artifactId>
1438
                <version>2.0.221</version>
1439
            </dependency>
1440
            <dependency>
1441
                <groupId>org.gvsig</groupId>
1442
                <artifactId>org.gvsig.timesupport.swing.api</artifactId>
1443
                <version>2.0.221</version>
1444
            </dependency>
1445
            <dependency>
1446
                <groupId>org.gvsig</groupId>
1447
                <artifactId>org.gvsig.timesupport.swing.impl</artifactId>
1448
                <version>2.0.221</version>
1449
            </dependency>
1450
        </dependencies>
1451
    </dependencyManagement>
1452

    
1453
    <dependencies>
1454
        <dependency>
1455
            <groupId>junit</groupId>
1456
            <artifactId>junit</artifactId>
1457
            <scope>test</scope>
1458
        </dependency>
1459
    </dependencies>
1460

    
1461
    <build>
1462
        <extensions>
1463
            <extension>
1464
                <groupId>org.apache.maven.wagon</groupId>
1465
                <artifactId>wagon-webdav-jackrabbit</artifactId>
1466
                <version>2.4</version>
1467
            </extension>
1468
        </extensions>
1469

    
1470
        <pluginManagement>
1471
            <plugins>
1472

    
1473
                <plugin>
1474
                    <groupId>org.apache.maven.plugins</groupId>
1475
                    <artifactId>maven-scm-plugin</artifactId>
1476
                    <version>1.9</version>
1477
                    <configuration>
1478
                        <connectionType>connection</connectionType>
1479
                    </configuration>
1480
                </plugin>
1481

    
1482
                <plugin>
1483
                    <groupId>org.apache.maven.plugins</groupId>
1484
                    <artifactId>maven-compiler-plugin</artifactId>
1485
                    <version>2.3.2</version>
1486
                    <configuration>
1487
                        <source>1.7</source>
1488
                        <target>1.7</target>
1489
                        <encoding>ISO-8859-1</encoding>
1490
                    </configuration>
1491
                </plugin>
1492

    
1493
                <plugin>
1494
                    <groupId>org.apache.maven.plugins</groupId>
1495
                    <artifactId>maven-resources-plugin</artifactId>
1496
                    <version>2.4.3</version>
1497
                    <configuration>
1498
                        <encoding>ISO-8859-1</encoding>
1499
                    </configuration>
1500
                </plugin>
1501

    
1502
                <plugin>
1503
                    <groupId>org.apache.maven.plugins</groupId>
1504
                    <artifactId>maven-eclipse-plugin</artifactId>
1505
                    <configuration>
1506
                        <downloadSources>true</downloadSources>
1507
                        <downloadJavadocs>true</downloadJavadocs>
1508
                        <projectNameTemplate>${project.artifactId}</projectNameTemplate>
1509
                    </configuration>
1510
                </plugin>
1511

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

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

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

    
1597
                <plugin>
1598
                    <groupId>org.apache.maven.plugins</groupId>
1599
                    <artifactId>maven-site-plugin</artifactId>
1600
                    <version>3.3</version>
1601
                    <configuration>
1602
                        <chmod>true</chmod>
1603
                        <chmodMode>a+rwX</chmodMode>
1604
                    </configuration>
1605
                </plugin>
1606

    
1607
                <plugin>
1608
                    <groupId>org.apache.maven.plugins</groupId>
1609
                    <artifactId>maven-jar-plugin</artifactId>
1610
                    <version>2.3.1</version>
1611
                    <configuration>
1612
                        <archive>
1613
                            <manifestEntries>
1614
                                <Built-By>gvSIG Team</Built-By>
1615
                            </manifestEntries>
1616
                        </archive>
1617
                    </configuration>
1618
                </plugin>
1619

    
1620
                <plugin>
1621
                    <groupId>org.codehaus.mojo</groupId>
1622
                    <artifactId>properties-maven-plugin</artifactId>
1623
                    <version>1.0-alpha-2</version>
1624
                </plugin>
1625

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

    
1632
                <plugin>
1633
                    <groupId>org.codehaus.mojo</groupId>
1634
                    <artifactId>animal-sniffer-maven-plugin</artifactId>
1635
                    <version>1.9</version>
1636
                </plugin>
1637

    
1638
                <plugin>
1639
                    <groupId>org.apache.maven.plugins</groupId>
1640
                    <artifactId>maven-release-plugin</artifactId>
1641
                    <version>2.4.1</version>
1642
                </plugin>
1643

    
1644
                <plugin>
1645
                    <groupId>org.apache.maven.plugins</groupId>
1646
                    <artifactId>maven-deploy-plugin</artifactId>
1647
                    <version>2.6</version>
1648
                </plugin>
1649

    
1650
                <plugin>
1651
                    <artifactId>maven-assembly-plugin</artifactId>
1652
                    <version>2.4</version>
1653
                    <executions>
1654
                        <execution>
1655
                            <id>gvsig-plugin-package</id>
1656
                            <phase>package</phase>
1657
                            <configuration>
1658
                                <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
1659
                                <appendAssemblyId>false</appendAssemblyId>
1660
                                <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>
1661
                                <descriptors>
1662
                                    <descriptor>src/main/assembly/gvsig-plugin-package.xml</descriptor>
1663
                                </descriptors>
1664
                            </configuration>
1665
                        </execution>
1666
                    </executions>
1667
                </plugin>
1668

    
1669
                <plugin>
1670
                    <groupId>org.apache.maven.plugins</groupId>
1671
                    <artifactId>maven-clean-plugin</artifactId>
1672
                    <version>2.4.1</version>
1673
                </plugin>
1674

    
1675
                <plugin>
1676
                    <groupId>org.codehaus.mojo</groupId>
1677
                    <artifactId>exec-maven-plugin</artifactId>
1678
                    <version>1.2</version>
1679
                </plugin>
1680

    
1681
                <plugin>
1682
                    <!-- invoke as "mvn license:format" to fix the header -->
1683
                    <!-- invoke as "mvn license:check" to check the header -->
1684
                    <!-- See http://code.google.com/p/maven-license-plugin/wiki/Configuration -->
1685
                    <groupId>com.mycila.maven-license-plugin</groupId>
1686
                    <artifactId>maven-license-plugin</artifactId>
1687
                    <version>1.10.b1</version>
1688
                    <configuration>
1689
                        <header>header.txt</header>
1690
                        <failIfMissing>false</failIfMissing>
1691
                        <aggregate>false</aggregate>
1692
                        <strictCheck>true</strictCheck>
1693
                        <encoding>ISO-8859-1</encoding>
1694
                        <quiet>false</quiet>
1695
                        <excludes>
1696
                            <exclude>**/*.properties</exclude>
1697
                            <exclude>**/*.txt</exclude>
1698
                            <exclude>**/*.jpg</exclude>
1699
                            <exclude>**/*.jpeg</exclude>
1700
                            <exclude>**/*.svg</exclude>
1701
                            <exclude>**/*.png</exclude>
1702
                            <exclude>**/*.gvssym</exclude>
1703
                            <exclude>**/*.def</exclude>
1704
                            <exclude>**/*.msg</exclude>
1705
                        </excludes>
1706
                    </configuration>
1707
                    <dependencies>
1708
                        <dependency>
1709
                            <groupId>org.gvsig</groupId>
1710
                            <artifactId>org.gvsig.desktop.buildtools</artifactId>
1711
                            <version>1.0.0</version>
1712
                        </dependency>
1713
                    </dependencies>
1714
                </plugin>
1715

    
1716
                <!-- Habria que ver si es posible sustituir el plugin -->
1717
                <!-- com.mycila.maven-license-plugin:maven-license-plugin por este -->
1718
                <!-- Ver http://mojo.codehaus.org/license-maven-plugin/index.html -->
1719
                <!--
1720
                <plugin>
1721
                    <groupId>org.codehaus.mojo</groupId>
1722
                    <artifactId>license-maven-plugin</artifactId>
1723
                    <version>1.5</version>
1724
                </plugin>
1725
                -->
1726

    
1727
                <plugin>
1728
                    <groupId>org.apache.maven.plugins</groupId>
1729
                    <artifactId>maven-checkstyle-plugin</artifactId>
1730
                    <version>2.10</version>
1731
                </plugin>
1732

    
1733
                <plugin>
1734
                    <groupId>org.apache.maven.plugins</groupId>
1735
                    <artifactId>maven-source-plugin</artifactId>
1736
                    <version>2.2.1</version>
1737
                </plugin>
1738

    
1739
                <plugin>
1740
                    <groupId>org.codehaus.gmaven</groupId>
1741
                    <artifactId>gmaven-plugin</artifactId>
1742
                    <version>1.5</version>
1743
                    <configuration>
1744
                        <providerSelection>2.0</providerSelection>
1745
                    </configuration>
1746
                    <dependencies>
1747
                        <dependency>
1748
                            <groupId>com.github.lookfirst</groupId>
1749
                            <artifactId>sardine</artifactId>
1750
                            <version>5.0.1</version>
1751
                        </dependency>
1752
                    </dependencies>
1753
                    <executions>
1754

    
1755
                        <execution>
1756
                            <id>increase-build-number</id>
1757
                            <phase>process-sources</phase>
1758
                            <configuration>
1759
                                <source><![CDATA[
1760
                    // use "mvn -Dincrease-build-number process-sources"
1761
                    if( project.properties["increase-build-number"] == null ) {
1762
                      log.info("Don't increment build number use flag '-Dincrease-build-number' to increment it.")
1763
                    } else {
1764
                      File file = new File(project.basedir,"buildNumber.properties")
1765
                      if( ! file.exists() ) {
1766
                          log.info("Skip increment build number (buildNumber.property not present).")
1767
                        } else {
1768
                        Properties props = new Properties()
1769

    
1770
                        props.load(file.newDataInputStream())
1771
                        value = (props.getProperty("buildNumber") as int) + 1
1772
                        props.setProperty("buildNumber",value as String)
1773
                        props.store(file.newWriter(), null)
1774
                        log.info("Setting build number to " + value)
1775
                      }
1776
                    }
1777
                  ]]></source>
1778
                            </configuration>
1779
                        </execution>
1780

    
1781
                        <execution>
1782
                            <id>build-package-info</id>
1783
                            <phase>prepare-package</phase>
1784
                            <configuration>
1785
                                <source><![CDATA[
1786
                      if( project.properties["buildNumber"] == null) {
1787
                        log.info("Skip build package.info (buildNumber.property not present).")
1788
                        log.info("Skip build package.info index (buildNumber.property not present).")
1789
                      } else {
1790
                                                poolURL = project.properties["gvsig.package.info.poolURL"];
1791
                                                if( poolURL[-1] != "/" ) {
1792
                                                        poolURL = poolURL + "/";
1793
                                                }
1794
                        package_info_file  = new File(project.basedir, "target/package.info")
1795
                        log.info("Building package.info : " + package_info_file.getAbsolutePath())
1796
                        Properties props = new Properties()
1797
                        props.setProperty('code', project.properties["gvsig.package.info.code"])
1798
                        props.setProperty('code-alias', project.properties["gvsig.package.info.codealias"])
1799
                        props.setProperty('name', project.properties["gvsig.package.info.name"])
1800
                        props.setProperty('version', project.properties["gvsig.package.info.version"])
1801
                        props.setProperty('description', project.properties["gvsig.package.info.description"])
1802
                        props.setProperty('owner', project.properties["gvsig.package.info.owner"])
1803
                        props.setProperty('java-version', project.properties["gvsig.package.info.javaVM"])
1804
                        props.setProperty('official', project.properties["gvsig.package.info.official"])
1805
                        props.setProperty('type', "plugin")
1806
                        props.setProperty('state', project.properties["gvsig.package.info.state"])
1807
                        props.setProperty('operating-system', project.properties["gvsig.package.info.operatingSystem"])
1808
                        props.setProperty('dependencies', project.properties["gvsig.package.info.dependencies"])
1809
                        props.setProperty('sources-url', project.properties["gvsig.package.info.sourcesURL"].replace("scm:svn:",""))
1810
                        props.setProperty('web-url', project.properties["gvsig.package.info.webURL"])
1811
                        props.setProperty('architecture', project.properties["gvsig.package.info.architecture"])
1812
                        props.setProperty('model-version', '1.0.1')
1813
                        props.setProperty('categories', project.properties["gvsig.package.info.categories"])
1814
                        props.setProperty('buildNumber', project.properties["buildNumber"])
1815
                        props.setProperty('gvSIG-version', project.properties["gvsig.package.info.gvSIGVersion"])
1816

    
1817
                        props.store(package_info_file.newWriter(), null)
1818

    
1819
                        pkgname = "gvSIG-desktop-" +
1820
                          project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1821
                          project.properties["gvsig.package.info.code"] + "-" +
1822
                          project.properties["gvsig.package.info.version"] + "-" +
1823
                          project.properties["buildNumber"] + "-" +
1824
                          project.properties["gvsig.package.info.state"] + "-" +
1825
                          project.properties["gvsig.package.info.operatingSystem"] + "-" +
1826
                          project.properties["gvsig.package.info.architecture"] + "-" +
1827
                          project.properties["gvsig.package.info.javaVM"]
1828
                        package_info_file  = new File(project.basedir, "target/gvspki/"+project.properties["gvsig.package.info.code"]+"/package.info")
1829
                        log.info("Building package.info index " + package_info_file.getAbsolutePath())
1830
                        package_info_file.getParentFile().mkdirs()
1831
                        props.setProperty('download-url',
1832
                          poolURL +
1833
                          project.properties["gvsig.package.info.code"] + "/" +
1834
                          pkgname + ".gvspkg"
1835
                        )
1836
                        props.store(package_info_file.newWriter(), null)
1837
                      }
1838
                  ]]></source>
1839
                            </configuration>
1840
                        </execution>
1841

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

    
1861
                      log.info("Building package index " + pkgname + ".gvspki")
1862
                      package_index_source  = project.basedir.getAbsolutePath() + "/target/gvspki"
1863
                      package_index_target  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1864
                      ant.zip(destfile: package_index_target, basedir: package_index_source)
1865
                    }
1866
                  ]]></source>
1867
                            </configuration>
1868
                        </execution>
1869

    
1870
                        <execution>
1871
                            <id>install-plugin</id>
1872
                            <phase>install</phase>
1873
                            <configuration>
1874
                                <source><![CDATA[
1875
                    if( project.properties["buildNumber"] == null) {
1876
                      log.info("Skip install package (buildNumber.property not present).")
1877
                    } else {
1878
                      ant = new AntBuilder()
1879
                      pkgname = "gvSIG-desktop-" +
1880
                        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1881
                        project.properties["gvsig.package.info.code"] + "-" +
1882
                        project.properties["gvsig.package.info.version"] + "-" +
1883
                        project.properties["buildNumber"] + "-" +
1884
                        project.properties["gvsig.package.info.state"] + "-" +
1885
                        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1886
                        project.properties["gvsig.package.info.architecture"] + "-" +
1887
                        project.properties["gvsig.package.info.javaVM"]
1888

    
1889
                      log.debug("gvsig.install.plugin=" + project.properties["gvsig.install.plugin"])
1890
                      log.debug("gvsig.install.plugin.package=" + project.properties["gvsig.install.plugin.package"])
1891
                                          if( project.properties["gvsig.install.plugin"]=="true" ) {
1892
                              source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1893
                              target = project.properties["gvsig.product.folder.path"] + "/gvSIG/extensiones/"
1894

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

    
1898
                        target + "/" + project.properties["gvsig.package.info.code"]
1899

    
1900
                              log.info("Install plugin to " + target)
1901
                              ant.unzip(src: source, dest: target)
1902
                      } else {
1903
                          log.info("Skip plugin install.")
1904
                      }
1905
                      if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1906
                          source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1907
                              target = new File(project.properties["gvsig.product.folder.path"] +
1908
                                "/install/" +
1909
                                project.properties["gvsig.package.info.code"] + "/" +
1910
                                pkgname + ".gvspkg")
1911
                              target.getParentFile().mkdirs()
1912

    
1913
                              log.info("Copy plugin package from " + source + " to " + target)
1914
                              ant.copy(file:source, tofile:target.getAbsolutePath())
1915

    
1916
                              source  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1917
                              target = project.properties["gvsig.product.folder.path"] +
1918
                                "/install/" +
1919
                                project.properties["gvsig.package.info.code"] + "/" +
1920
                                pkgname + ".gvspki"
1921
                              log.info("Copy plugin package index from " + source + " to " + target)
1922
                              ant.copy(file:source, tofile:target)
1923
                      } else {
1924
                          log.info("Skip plugin package install.")
1925
                                          }
1926
                    }
1927
                  ]]></source>
1928
                            </configuration>
1929
                        </execution>
1930

    
1931
                        <execution>
1932
                            <id>deploy-package</id>
1933
                            <phase>install</phase>
1934
                            <configuration>
1935
                                <source><![CDATA[
1936

    
1937
// To deploy package use:
1938
//    mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
1939
//
1940
if( project.properties["deploy-package"] != null ) {
1941
    if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1942
        poolURL = project.properties["gvsig.package.info.poolURL"];
1943
        if( poolURL[-1] != "/" ) {
1944
            poolURL = poolURL + "/";
1945
        }
1946
        targetPath = poolURL + project.properties["gvsig.package.info.code"];
1947
        log.info("Deploy plugin package to '"+targetPath+"'.");
1948

    
1949
        pkgname = "gvSIG-desktop-" +
1950
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1951
        project.properties["gvsig.package.info.code"] + "-" +
1952
        project.properties["gvsig.package.info.version"] + "-" +
1953
        project.properties["buildNumber"] + "-" +
1954
        project.properties["gvsig.package.info.state"] + "-" +
1955
        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1956
        project.properties["gvsig.package.info.architecture"] + "-" +
1957
        project.properties["gvsig.package.info.javaVM"];
1958

    
1959
        source = project.basedir.getAbsolutePath() + "/target/" + pkgname
1960
        targetPath = poolURL + project.properties["gvsig.package.info.code"]
1961

    
1962
        log.info("Creating addon-request.txt in target folder");
1963
        new File(project.basedir.getAbsolutePath() + "/target/addon-request.txt").withWriter { out ->
1964
            out.println("");
1965
            out.println("# "+pkgname);
1966
            out.println("");
1967
            out.println(targetPath+"/" + pkgname + ".gvspki");
1968
            out.println("");
1969
        }
1970

    
1971
        if( project.properties["username"] == null ) {
1972
            print("Enter user name: ");
1973
            user = System.console().readLine().toString()
1974
            if( user != "" ) {
1975
                project.properties.setProperty("username",user);
1976
            }
1977
        }
1978
        if( project.properties["password"] == null ) {
1979
            print("Enter password for user '" + project.properties["username"] + "': ");
1980
            password = System.console().readPassword().toString()
1981
            if( password != "" ) {
1982
                project.properties.setProperty("password",password);
1983
            }
1984
        }
1985
        WebDAVClient session = new WebDAVClient(log);
1986
        if( project.properties["username"] == null || project.properties["password"] == null ) {
1987
            log.info("[WEBDAV] creating non authenticated session.");
1988
            log.info("[WEBDAV] Use -Duser=USER -Dpassword=PASSWORD to create a authenticated session.");
1989
            session.login();
1990
        } else {
1991
            session.login(project.properties["username"], project.properties["password"]);
1992
        }
1993
        session.makedirs(targetPath);
1994
        session.put(source + ".gvspkg.zip", targetPath+"/"+pkgname+ ".gvspkg");
1995
        session.put(source + ".gvspki", targetPath+"/"+pkgname+ ".gvspki");
1996

    
1997
    } else {
1998
        log.info("Skip plugin package deploy. It not be installed by default.");
1999
    }
2000
} else {
2001
    log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
2002
}
2003

    
2004
public class WebDAVClient {
2005

    
2006
    def log;
2007

    
2008
    private String user;
2009
    private String password;
2010
    private Object sardine;
2011

    
2012
    public WebDAVClient(log) {
2013
        disableCertificateValidation();
2014
            this.log = log;
2015
    }
2016

    
2017
    public void login(String user, String password) {
2018
        log.info("[WEBDAV] login as '"+user+"'.");
2019
        def SardineFactory
2020
        try {
2021
            SardineFactory = "com.github.sardine.SardineFactory" as Class
2022
        } catch (Exception ex) {
2023
            log.error("[WEBDAV] can't get SardineFactory.",ex);
2024
        }
2025
        this.user = user;
2026
        this.password = password;
2027
        this.sardine = SardineFactory.begin(this.user,this.password);
2028
    }
2029

    
2030
    public void login() {
2031
        log.info("[WEBDAV] login as guest");
2032
        this.sardine = SardineFactory.begin();
2033
    }
2034

    
2035
    public boolean exists(String url) throws Exception {
2036
        return sardine.exists(url);
2037
    }
2038

    
2039
    public void put(String source, String target) throws Exception {
2040
        log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
2041
        InputStream fis = new FileInputStream(new File(source));
2042
        sardine.put(target, fis);
2043
        log.info("[WEBDAV] put ok.");
2044
    }
2045

    
2046
    public void mkdir(String url) throws Exception {
2047
        if( ! exists(url) ) {
2048
            log.info("[WEBDAV] mkdir '"+url+"'.");
2049
            sardine.createDirectory(url);
2050
        }
2051
    }
2052

    
2053
    public List list(String url) throws Exception {
2054
        List resources = sardine.list(url);
2055
        return resources;
2056
    }
2057

    
2058
    void disableCertificateValidation() {
2059
    /*
2060
        javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
2061
        trustAllCerts[0] = new javax.net.ssl.X509TrustManager() {
2062
                public java.security.cert.X509Certificate[] getAcceptedIssuers() {
2063
                    return new java.security.cert.X509Certificate[0];
2064
                }
2065

    
2066
                public void checkClientTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2067
                }
2068

    
2069
                public void checkServerTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2070
                }
2071
            };
2072

    
2073
        // Ignore differences between given hostname and certificate hostname
2074
        javax.net.ssl.HostnameVerifier hv = new javax.net.ssl.HostnameVerifier() {
2075
            public boolean verify(String hostname, javax.net.ssl.SSLSession session) {
2076
                return true;
2077
            }
2078
        };
2079

    
2080
        // Install the all-trusting trust manager
2081
        try {
2082
            javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
2083
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
2084
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
2085
            javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
2086
        } catch (Exception e) {
2087
        }
2088
        */
2089
    }
2090

    
2091
    public void makedirs(String url) throws Exception {
2092
        log.info("[WEBDAV] makedirs '"+url+"'.");
2093
        URL u = new URL(url);
2094
        String[] x = u.getPath().split("/");
2095
        String path = "";
2096
        for (int i=1; i<x.length; i++) { path = path + "/" + x[i]; URL t = new URL(u,path); mkdir(t.toString()); } }
2097
} ]]></source>
2098
                            </configuration>
2099
                        </execution>
2100

    
2101
                    </executions>
2102
                </plugin>
2103

    
2104
            </plugins>
2105
        </pluginManagement>
2106

    
2107
        <plugins>
2108
            <plugin>
2109
                <groupId>org.apache.maven.plugins</groupId>
2110
                <artifactId>maven-scm-plugin</artifactId>
2111
            </plugin>
2112

    
2113
            <plugin>
2114
                <artifactId>maven-clean-plugin</artifactId>
2115
                <configuration>
2116
                    <filesets>
2117
                        <fileset>
2118
                            <directory>${user.home}/.depman/</directory>
2119
                            <includes>
2120
                                <include>**</include>
2121
                            </includes>
2122
                        </fileset>
2123
                    </filesets>
2124
                    <followSymLinks>true</followSymLinks>
2125
                </configuration>
2126
            </plugin>
2127

    
2128
            <plugin>
2129
                <groupId>org.apache.maven.plugins</groupId>
2130
                <artifactId>maven-release-plugin</artifactId>
2131
                <configuration>
2132
                    <!-- The property svn.tags.folder is used in external projects   -->
2133
                    <!-- to override configuraction of tagBase -->
2134
                    <tagBase>${svn.tags.folder}</tagBase>
2135
                    <!-- This is a 2.0 beta 6 bug. By default the goals are 'clean verify', so the modules
2136
                    are not installed, so the dependencies between modules are not met. With this configuration
2137
                    we force the module installation. -->
2138
                    <preparationGoals>clean install</preparationGoals>
2139
                    <autoVersionSubmodules>true</autoVersionSubmodules>
2140
                    <!-- Dont make site-deploy -->
2141
                    <!-- You need to run it after in folder target/checkout -->
2142
                    <goals>deploy</goals>
2143
                </configuration>
2144
            </plugin>
2145

    
2146
            <plugin>
2147
                <!-- load ".gvsig-devel.properties" -->
2148
                <groupId>org.codehaus.mojo</groupId>
2149
                <artifactId>properties-maven-plugin</artifactId>
2150
                <configuration>
2151
                    <files>
2152
                        <!-- Define gvsig.product.folder.path in this property -->
2153
                        <file>${user.home}/.gvsig-devel.properties</file>
2154
                        <file>${env.HOME}/.gvsig-devel.properties</file>
2155
                        <file>${project.basedir}/gvsig-devel.properties</file>
2156
                        <file>buildNumber.properties</file>
2157
                    </files>
2158
                    <quiet>true</quiet>
2159
                </configuration>
2160
                <executions>
2161
                    <execution>
2162
                        <id>default</id>
2163
                        <phase>prepare-package</phase>
2164
                        <goals>
2165
                            <goal>read-project-properties</goal>
2166
                        </goals>
2167
                    </execution>
2168
                    <execution>
2169
                        <id>default-clean</id>
2170
                        <phase>pre-clean</phase>
2171
                        <goals>
2172
                            <goal>read-project-properties</goal>
2173
                        </goals>
2174
                    </execution>
2175
                </executions>
2176
            </plugin>
2177

    
2178
<!--
2179
            <plugin>
2180
                <groupId>org.codehaus.mojo</groupId>
2181
                <artifactId>animal-sniffer-maven-plugin</artifactId>
2182
                <executions>
2183
                    <execution>
2184
                        <id>check-java-api</id>
2185
                        <phase>package</phase>
2186
                        <goals>
2187
                            <goal>check</goal>
2188
                        </goals>
2189
                        <configuration>
2190
                            <skip>false</skip>
2191
                            <signature>
2192
                                <groupId>org.codehaus.mojo.signature</groupId>
2193
                                <artifactId>java18</artifactId>
2194
                                <version>1.0</version>
2195
                            </signature>
2196
                            <ignores>
2197
                                <ignore>net.sourceforge.cobertura.coveragedata.TouchCollector</ignore>
2198
                                <ignore>java.nio.ByteBuffer</ignore>
2199
                                <ignore>java.nio.MappedByteBuffer</ignore>
2200
                            </ignores>
2201
                        </configuration>
2202
                    </execution>
2203
                </executions>
2204
            </plugin>
2205
-->
2206
            <plugin>
2207
                <groupId>org.apache.maven.plugins</groupId>
2208
                <artifactId>maven-javadoc-plugin</artifactId>
2209
                <executions>
2210
                    <execution>
2211
                        <id>attach-javadocs</id>
2212
                        <goals>
2213
                            <goal>jar</goal>
2214
                        </goals>
2215
                    </execution>
2216
                </executions>
2217
            </plugin>
2218

    
2219
            <plugin>
2220
                <groupId>org.apache.maven.plugins</groupId>
2221
                <artifactId>maven-source-plugin</artifactId>
2222
                <configuration>
2223
                    <skipSource>false</skipSource> <!-- User property is: source.skip. -->
2224
                </configuration>
2225
                <executions>
2226
                    <execution>
2227
                        <id>attach-sources</id>
2228
                        <phase>verify</phase>
2229
                        <goals>
2230
                            <goal>jar-no-fork</goal>
2231
                        </goals>
2232
                    </execution>
2233
                    <execution>
2234
                        <id>attach-test-sources</id>
2235
                        <phase>verify</phase>
2236
                        <goals>
2237
                            <goal>test-jar-no-fork</goal>
2238
                        </goals>
2239
                    </execution>
2240
                </executions>
2241
            </plugin>
2242

    
2243
            <plugin>
2244
                <groupId>org.apache.maven.plugins</groupId>
2245
                <artifactId>maven-checkstyle-plugin</artifactId>
2246
                <!-- invoke as "mvn checkstyle:checkstyle"  or "mvn site" -->
2247
                <configuration>
2248
                    <skip>false</skip> <!-- User property is: checkstyle.skip. -->
2249
                    <enableRulesSummary>true</enableRulesSummary>
2250
                    <failsOnError>false</failsOnError>
2251
                    <configLocation>gvsig/checkstyle.xml</configLocation>
2252
                    <headerLocation>gvsig/LICENSE.txt</headerLocation>
2253
                </configuration>
2254
                <dependencies>
2255
                    <dependency>
2256
                        <groupId>org.gvsig</groupId>
2257
                        <artifactId>org.gvsig.desktop.buildtools</artifactId>
2258
                        <version>1.0.0</version>
2259
                    </dependency>
2260
                </dependencies>
2261
            </plugin>
2262

    
2263
            <plugin>
2264
                <!-- to continue building  when test fail -->
2265
                <groupId>org.apache.maven.plugins</groupId>
2266
                <artifactId>maven-surefire-plugin</artifactId>
2267
                <configuration>
2268
                    <testFailureIgnore>true</testFailureIgnore>
2269
                </configuration>
2270
            </plugin>
2271

    
2272
        </plugins>
2273
    </build>
2274

    
2275

    
2276
    <reporting>
2277
        <excludeDefaults>true</excludeDefaults>
2278
        <plugins>
2279
            <plugin>
2280
                <groupId>org.apache.maven.plugins</groupId>
2281
                <artifactId>maven-project-info-reports-plugin</artifactId>
2282
                <version>2.7</version>
2283
                <reportSets>
2284
                    <reportSet>
2285
                        <reports>
2286
                            <report>index</report>
2287
                            <report>summary</report>
2288
                            <report>scm</report>
2289
                            <report>license</report>
2290
                            <report>project-team</report>
2291
                            <report>issue-tracking</report>
2292
                            <report>mailing-list</report>
2293
                            <report>modules</report>
2294

    
2295
                            <report>dependency-info</report>
2296
                            <!-- Removed due to its high cost
2297
                            <report>dependency-management</report>
2298
                            <report>dependencies</report>
2299
                            -->
2300
                            <report>dependency-convergence</report>
2301

    
2302
                            <!--
2303
                            <report>plugins</report>
2304
                            <report>plugin-management</report>
2305
                            <report>distribution-management</report>
2306
                            -->
2307

    
2308
                            <!-- gvSIG does not have Continuous Integration System
2309
                            <report>cim</report>
2310
                            -->
2311
                        </reports>
2312
                    </reportSet>
2313
                </reportSets>
2314
            </plugin>
2315
            <plugin>
2316
                <groupId>org.apache.maven.plugins</groupId>
2317
                <artifactId>maven-javadoc-plugin</artifactId>
2318
                <!-- Do not use the version 2.9, does not manage properly the submodules -->
2319
                <version>2.9.1</version>
2320
                <configuration>
2321
                    <!-- Don't include the deprecateds items in the javadoc -->
2322
                    <nodeprecated>true</nodeprecated>
2323
                    <!-- Don't generate javadoc of project with submodules -->
2324
                    <aggregate>false</aggregate>
2325
                    <!-- Removed detection of links due to its high cost -->
2326
                    <detectJavaApiLink>false</detectJavaApiLink>
2327
                    <detectLinks>false</detectLinks>
2328
                    <detectOfflineLinks>false</detectOfflineLinks>
2329
                    <!-- Removed the inclusion of dependencies sources due to their high cost -->
2330
                    <includeDependencySources>false</includeDependencySources>
2331
                    <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
2332
                </configuration>
2333
                <reportSets>
2334
                    <reportSet>
2335
                        <id>html</id>
2336
                        <reports>
2337
                            <report>javadoc</report>
2338
                            <!-- removed javadocs of tests -->
2339
                        </reports>
2340
                    </reportSet>
2341
                </reportSets>
2342
            </plugin>
2343
            <plugin>
2344
                <groupId>org.apache.maven.plugins</groupId>
2345
                <artifactId>maven-jxr-plugin</artifactId>
2346
                <version>2.3</version>
2347
                <configuration>
2348
                    <linkJavadoc>true</linkJavadoc>
2349
                    <aggregate>false</aggregate>
2350
                </configuration>
2351
            </plugin>
2352
            <plugin>
2353
                <groupId>org.codehaus.mojo</groupId>
2354
                <artifactId>findbugs-maven-plugin</artifactId>
2355
                <version>2.5.2</version>
2356
            </plugin>
2357

    
2358
        </plugins>
2359
    </reporting>
2360

    
2361

    
2362
    <profiles>
2363

    
2364
        <profile>
2365
            <!-- This profile is used to initialize and install the root folder of gvSIG -->
2366
            <id>gvsig-root</id>
2367
            <activation>
2368
                <file>
2369
                    <exists>src/main/assembly/gvsig-root-folder-package.xml</exists>
2370
                </file>
2371
            </activation>
2372
            <build>
2373
                <plugins>
2374

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

    
2439
                        </executions>
2440
                    </plugin>
2441

    
2442
                </plugins>
2443
            </build>
2444
        </profile>
2445

    
2446

    
2447

    
2448
        <profile>
2449
            <!-- This profile is used to packege and install the gvSIG plugins -->
2450
            <id>gvsig-plugin</id>
2451
            <activation>
2452
                <file>
2453
                    <exists>buildNumber.properties</exists>
2454
                </file>
2455
            </activation>
2456
            <build>
2457
                <plugins>
2458

    
2459
                    <plugin>
2460
                        <artifactId>maven-assembly-plugin</artifactId>
2461
                        <executions>
2462
                            <execution>
2463
                                <id>gvsig-plugin-package</id>
2464
                                <phase>package</phase>
2465
                                <goals>
2466
                                    <goal>single</goal>
2467
                                </goals>
2468
                            </execution>
2469
                        </executions>
2470
                    </plugin>
2471

    
2472
                    <plugin>
2473
                        <artifactId>maven-clean-plugin</artifactId>
2474
                        <configuration>
2475
                            <skip>false</skip>
2476
                            <failOnError>true</failOnError>
2477
                            <filesets>
2478
                                <fileset>
2479
                                    <directory>${gvsig.product.folder.path}/gvSIG/extensiones/${project.artifactId}</directory>
2480
                                </fileset>
2481
                            </filesets>
2482
                        </configuration>
2483
                        <executions>
2484
                            <execution>
2485
                                <id>default-clean</id>
2486
                                <phase>clean</phase>
2487
                            </execution>
2488
                        </executions>
2489
                    </plugin>
2490

    
2491
                    <plugin>
2492
                        <groupId>org.codehaus.gmaven</groupId>
2493
                        <artifactId>gmaven-plugin</artifactId>
2494
                        <executions>
2495

    
2496
                            <execution>
2497
                                <id>increase-build-number</id>
2498
                                <phase>process-sources</phase>
2499
                                <goals>
2500
                                    <goal>execute</goal>
2501
                                </goals>
2502
                            </execution>
2503

    
2504
                            <execution>
2505
                                <id>build-package-info</id>
2506
                                <phase>prepare-package</phase>
2507
                                <goals>
2508
                                    <goal>execute</goal>
2509
                                </goals>
2510
                            </execution>
2511

    
2512
                            <execution>
2513
                                <id>build-package-index</id>
2514
                                <phase>package</phase>
2515
                                <goals>
2516
                                    <goal>execute</goal>
2517
                                </goals>
2518
                            </execution>
2519

    
2520
                            <execution>
2521
                                <id>install-plugin</id>
2522
                                <phase>install</phase>
2523
                                <goals>
2524
                                    <goal>execute</goal>
2525
                                </goals>
2526
                            </execution>
2527

    
2528
                            <execution>
2529
                                <id>deploy-package</id>
2530
                                <phase>install</phase>
2531
                                <goals>
2532
                                    <goal>execute</goal>
2533
                                </goals>
2534
                            </execution>
2535

    
2536
                        </executions>
2537
                    </plugin>
2538

    
2539
                </plugins>
2540
            </build>
2541
        </profile>
2542

    
2543
    </profiles>
2544

    
2545
    <properties>
2546
        <!-- General configuration -->
2547
        <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
2548
        <localRepository>${user.home}/.m2/repository</localRepository>
2549
        <site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository>
2550

    
2551
        <!-- The property svn.tags.folder is used in external projects to override  -->
2552
        <!-- configuraction in maven-release-plugin -->
2553
        <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-desktop/tags/</svn.tags.folder>
2554

    
2555
        <!-- Package info property values -->
2556
        <gvsig.version>2.4.1</gvsig.version>
2557
        <gvsig.package.info.codealias />
2558
        <gvsig.package.info.code>${project.artifactId}</gvsig.package.info.code>
2559
        <gvsig.package.info.name>${project.name}</gvsig.package.info.name>
2560
        <gvsig.package.info.description>${project.description}</gvsig.package.info.description>
2561
        <gvsig.package.info.version>${project.version}</gvsig.package.info.version>
2562
        <gvsig.package.info.state>testing</gvsig.package.info.state>
2563
        <gvsig.package.info.official>false</gvsig.package.info.official>
2564
        <gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem>
2565
        <gvsig.package.info.architecture>all</gvsig.package.info.architecture>
2566
        <gvsig.package.info.javaVM>j1_7</gvsig.package.info.javaVM>
2567
        <gvsig.package.info.gvSIGVersion>${gvsig.version}</gvsig.package.info.gvSIGVersion>
2568
        <gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin -ge 2.1.0</gvsig.package.info.dependencies>
2569
        <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
2570
        <gvsig.package.info.sourcesURL>${project.scm.connection}</gvsig.package.info.sourcesURL>
2571
        <gvsig.package.info.webURL>http://www.gvsig.com</gvsig.package.info.webURL>
2572
        <gvsig.package.info.categories />
2573
        <gvsig.package.info.poolURL>http://downloads.gvsig.org/download/gvsig-desktop/pool</gvsig.package.info.poolURL>
2574

    
2575
        <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
2576
        <gvsig.install.plugin>true</gvsig.install.plugin>
2577
        <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
2578
        <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
2579

    
2580
        <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
2581

    
2582
        <!-- artifactID implementations libraries for use in runtime and test dependencies -->
2583
        <org.gvsig.about.impl>org.gvsig.about.impl</org.gvsig.about.impl>
2584
        <org.gvsig.annotation.lib.impl>org.gvsig.annotation.lib.impl</org.gvsig.annotation.lib.impl>
2585
        <org.gvsig.annotation.swing.impl>org.gvsig.annotation.swing.impl</org.gvsig.annotation.swing.impl>
2586
        <org.gvsig.compat.impl>org.gvsig.compat.se</org.gvsig.compat.impl>
2587
        <org.gvsig.exportto.lib.impl>org.gvsig.exportto.lib.impl</org.gvsig.exportto.lib.impl>
2588
        <org.gvsig.exportto.swing.impl>org.gvsig.exportto.swing.impl</org.gvsig.exportto.swing.impl>
2589
        <org.gvsig.fmap.dal.impl>org.gvsig.fmap.dal.impl</org.gvsig.fmap.dal.impl>
2590
        <org.gvsig.fmap.dal.swing.impl>org.gvsig.fmap.dal.swing.impl</org.gvsig.fmap.dal.swing.impl>
2591
        <org.gvsig.fmap.geometry.impl>org.gvsig.fmap.geometry.jts</org.gvsig.fmap.geometry.impl>
2592
        <org.gvsig.fmap.geometry.operation.impl>org.gvsig.fmap.geometry.operation.jts</org.gvsig.fmap.geometry.operation.impl>
2593
        <org.gvsig.fmap.mapcontext.impl>org.gvsig.fmap.mapcontext.impl</org.gvsig.fmap.mapcontext.impl>
2594
        <org.gvsig.fmap.mapcontext.operation.impl>org.gvsig.fmap.mapcontext.operation</org.gvsig.fmap.mapcontext.operation.impl>
2595
        <org.gvsig.installer.lib.impl>org.gvsig.installer.lib.impl</org.gvsig.installer.lib.impl>
2596
        <org.gvsig.installer.swing.impl>org.gvsig.installer.swing.impl</org.gvsig.installer.swing.impl>
2597
        <org.gvsig.metadata.lib.basic.impl>org.gvsig.metadata.lib.basic.impl</org.gvsig.metadata.lib.basic.impl>
2598
        <org.gvsig.metadata.swing.basic.impl>org.gvsig.metadata.swing.basic.impl</org.gvsig.metadata.swing.basic.impl>
2599
        <org.gvsig.newlayer.lib.impl>org.gvsig.newlayer.lib.impl</org.gvsig.newlayer.lib.impl>
2600
        <org.gvsig.personaldb.lib.impl>org.gvsig.personaldb.lib.impl</org.gvsig.personaldb.lib.impl>
2601
        <org.gvsig.projection.impl>org.gvsig.projection.cresques.impl</org.gvsig.projection.impl>
2602
        <!--
2603
        <org.gvsig.projection.impl>org.gvsig.projection.jcrs</org.gvsig.projection.impl>
2604
        -->
2605
        <org.gvsig.proj.lib.impl>org.gvsig.proj.lib.proj4j</org.gvsig.proj.lib.impl>
2606
        <org.gvsig.proj.swing.impl>org.gvsig.proj.swing.impl</org.gvsig.proj.swing.impl>
2607
        <org.gvsig.symbology.lib.impl>org.gvsig.symbology.lib.impl</org.gvsig.symbology.lib.impl>
2608
        <org.gvsig.symbology.swing.impl>org.gvsig.symbology.swing.impl</org.gvsig.symbology.swing.impl>
2609
        <org.gvsig.timesupport.lib.impl>org.gvsig.timesupport.lib.impl</org.gvsig.timesupport.lib.impl>
2610
        <org.gvsig.timesupport.swing.impl>org.gvsig.timesupport.swing.impl</org.gvsig.timesupport.swing.impl>
2611
        <org.gvsig.tools.dynform.impl>org.gvsig.tools.dynform.impl</org.gvsig.tools.dynform.impl>
2612
        <org.gvsig.tools.dynform.services>org.gvsig.tools.dynform.services</org.gvsig.tools.dynform.services>
2613
        <org.gvsig.tools.swing.impl>org.gvsig.tools.swing.impl</org.gvsig.tools.swing.impl>
2614

    
2615
        <jython.artifactId>jython-standalone</jython.artifactId>
2616
        <!-- External project versions -->
2617
        <gvsig.tools.version>3.0.148</gvsig.tools.version>
2618
        <gvsig.proj.version>1.0.4</gvsig.proj.version>
2619
        <gvsig.projection.api.version>2.0.25</gvsig.projection.api.version>
2620

    
2621
    </properties>
2622

    
2623
    <modules>
2624
        <module>org.gvsig.desktop.compat.cdc</module>
2625
        <module>org.gvsig.desktop.library</module>
2626
        <module>org.gvsig.desktop.framework</module>
2627
        <module>org.gvsig.desktop.plugin</module>
2628

    
2629
        <!-- NOTE: Project  org.gvsig.desktop.installer must not be a sub module of this. -->
2630
        <!-- NOTE: Project  org.gvsig.desktop.buildtools must not be a sub module of this. -->
2631

    
2632
    </modules>
2633
</project>
2634