Statistics
| Revision:

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

History | View | Annotate | Download (111 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.90-SNAPSHOT</version>
10

    
11
    <name>${project.artifactId}</name>
12
    <description>
13
        This is part of the sources of "gSIG desktop" application.
14

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

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

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

    
44
    <scm>
45
        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/trunk/org.gvsig.desktop/</connection>
46
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/trunk/org.gvsig.desktop/</developerConnection>
47
        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/trunk//org.gvsig.desktop/</url>
48
    </scm>
49

    
50
    <repositories>
51
        <repository>
52
            <id>gvsig-public-http-repository</id>
53
            <name>gvSIG maven public HTTP repository</name>
54
            <url>http://devel.gvsig.org/m2repo/j2se</url>
55
            <releases>
56
                <enabled>true</enabled>
57
                <updatePolicy>daily</updatePolicy>
58
                <checksumPolicy>warn</checksumPolicy>
59
            </releases>
60
            <snapshots>
61
                <enabled>true</enabled>
62
                <updatePolicy>daily</updatePolicy>
63
                <checksumPolicy>warn</checksumPolicy>
64
            </snapshots>
65
        </repository>
66
    </repositories>
67

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

    
87
    <issueManagement>
88
        <system>redmine</system>
89
        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop</url>
90
    </issueManagement>
91

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

    
128
    <dependencyManagement>
129
        <dependencies>
130

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

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

    
293
            <dependency>
294
                <groupId>commons-beanutils</groupId>
295
                <artifactId>commons-beanutils</artifactId>
296
                <version>1.6</version>
297
            </dependency>
298
            <dependency>
299
                <groupId>commons-dbcp</groupId>
300
                <artifactId>commons-dbcp</artifactId>
301
                <version>1.2.2</version>
302
            </dependency>
303
            <dependency>
304
                <groupId>commons-codec</groupId>
305
                <artifactId>commons-codec</artifactId>
306
                <version>1.6</version>
307
            </dependency>
308
            <dependency>
309
                <groupId>commons-collections</groupId>
310
                <artifactId>commons-collections</artifactId>
311
                <version>3.2.1</version>
312
            </dependency>
313
            <dependency>
314
                <groupId>org.apache.solr</groupId>
315
                <artifactId>solr-commons-csv</artifactId>
316
                <version>3.5.0</version>
317
            </dependency>
318
            <dependency>
319
                <groupId>commons-httpclient</groupId>
320
                <artifactId>commons-httpclient</artifactId>
321
                <version>2.0.2</version>
322
            </dependency>
323
            <dependency>
324
                <groupId>commons-cli</groupId>
325
                <artifactId>commons-cli</artifactId>
326
                <version>1.2</version>
327
            </dependency>
328
            <dependency>
329
                <groupId>commons-io</groupId>
330
                <artifactId>commons-io</artifactId>
331
                <version>2.4</version>
332
            </dependency>
333
            <dependency>
334
                <groupId>org.apache.commons</groupId>
335
                <artifactId>commons-lang3</artifactId>
336
                <version>3.1</version>
337
            </dependency>
338
            <dependency>
339
                <groupId>commons-configuration</groupId>
340
                <artifactId>commons-configuration</artifactId>
341
                <version>1.10</version>
342
            </dependency>
343
            <dependency>
344
                <groupId>commons-logging</groupId>
345
                <artifactId>commons-logging</artifactId>
346
                <version>1.1.1</version>
347
            </dependency>
348
            <dependency>
349
                <groupId>commons-logging</groupId>
350
                <artifactId>commons-logging</artifactId>
351
                <version>1.1.1</version>
352
                <classifier>api</classifier>
353
            </dependency>
354
            <dependency>
355
                <groupId>commons-pool</groupId>
356
                <artifactId>commons-pool</artifactId>
357
                <version>1.6</version>
358
            </dependency>
359

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

    
773
            <!-- External gvSIG projects -->
774

    
775
            <dependency>
776
                <groupId>org.gvsig</groupId>
777
                <artifactId>org.gvsig.jdk.v1_6</artifactId>
778
                <version>1.0.1</version>
779
            </dependency>
780
            <dependency>
781
                <groupId>org.gvsig</groupId>
782
                <artifactId>org.gvsig.jdk.v1_4</artifactId>
783
                <version>1.0.0</version>
784
            </dependency>
785
            <dependency>
786
                <groupId>org.gvsig</groupId>
787
                <artifactId>org.gvsig.tools.lib</artifactId>
788
                <version>${gvsig.tools.version}</version>
789
            </dependency>
790
            <dependency>
791
                <groupId>org.gvsig</groupId>
792
                <artifactId>org.gvsig.tools.lib</artifactId>
793
                <version>${gvsig.tools.version}</version>
794
                <type>test-jar</type>
795
            </dependency>
796
            <dependency>
797
                <groupId>org.gvsig</groupId>
798
                <artifactId>org.gvsig.tools.swing.api</artifactId>
799
                <version>${gvsig.tools.version}</version>
800
            </dependency>
801
            <dependency>
802
                <groupId>org.gvsig</groupId>
803
                <artifactId>org.gvsig.tools.swing.impl</artifactId>
804
                <version>${gvsig.tools.version}</version>
805
            </dependency>
806

    
807
            <dependency>
808
                <groupId>org.gvsig</groupId>
809
                <artifactId>org.gvsig.tools.dynform.api</artifactId>
810
                <version>${gvsig.tools.version}</version>
811
            </dependency>
812
            <dependency>
813
                <groupId>org.gvsig</groupId>
814
                <artifactId>org.gvsig.tools.dynform.spi</artifactId>
815
                <version>${gvsig.tools.version}</version>
816
            </dependency>
817
            <dependency>
818
                <groupId>org.gvsig</groupId>
819
                <artifactId>org.gvsig.tools.dynform.services</artifactId>
820
                <version>${gvsig.tools.version}</version>
821
            </dependency>
822
            <dependency>
823
                <groupId>org.gvsig</groupId>
824
                <artifactId>org.gvsig.tools.dynform.impl</artifactId>
825
                <version>${gvsig.tools.version}</version>
826
            </dependency>
827

    
828
            <dependency>
829
                <groupId>org.gvsig</groupId>
830
                <artifactId>org.gvsig.catalog</artifactId>
831
                <version>2.0</version>
832
            </dependency>
833
            <dependency>
834
                <groupId>org.gvsig.external</groupId>
835
                <artifactId>org.gvsig.external.jump</artifactId>
836
                <version>1.0.0</version>
837
            </dependency>
838
            <dependency>
839
                <groupId>org.gvsig</groupId>
840
                <artifactId>org.gvsig.proj.lib.api</artifactId>
841
                <version>${gvsig.proj.version}</version>
842
            </dependency>
843
            <dependency>
844
                <groupId>org.gvsig</groupId>
845
                <artifactId>org.gvsig.proj.lib.proj4j</artifactId>
846
                <version>${gvsig.proj.version}</version>
847
            </dependency>
848
            <dependency>
849
                <groupId>org.gvsig</groupId>
850
                <artifactId>org.gvsig.proj.swing.api</artifactId>
851
                <version>${gvsig.proj.version}</version>
852
            </dependency>
853
            <dependency>
854
                <groupId>org.gvsig</groupId>
855
                <artifactId>org.gvsig.proj.swing.impl</artifactId>
856
                <version>${gvsig.proj.version}</version>
857
            </dependency>
858
            <dependency>
859
                <groupId>org.gvsig</groupId>
860
                <artifactId>org.gvsig.projection.api</artifactId>
861
                <version>${gvsig.projection.api.version}</version>
862
            </dependency>
863

    
864
            <!-- Childs projects -->
865

    
866
            <dependency>
867
                <groupId>org.gvsig</groupId>
868
                <artifactId>org.gvsig.about.api</artifactId>
869
                <version>2.0.90-SNAPSHOT</version>
870
            </dependency>
871
            <dependency>
872
                <groupId>org.gvsig</groupId>
873
                <artifactId>org.gvsig.about.impl</artifactId>
874
                <version>2.0.90-SNAPSHOT</version>
875
            </dependency>
876
            <dependency>
877
                <groupId>org.gvsig</groupId>
878
                <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
879
                <version>2.0.90-SNAPSHOT</version>
880
            </dependency>
881
            <dependency>
882
                <groupId>org.gvsig</groupId>
883
                <artifactId>org.gvsig.metadata.lib.basic.impl</artifactId>
884
                <version>2.0.90-SNAPSHOT</version>
885
            </dependency>
886
            <dependency>
887
                <groupId>org.gvsig</groupId>
888
                <artifactId>org.gvsig.metadata.swing.basic.api</artifactId>
889
                <version>2.0.90-SNAPSHOT</version>
890
            </dependency>
891
            <dependency>
892
                <groupId>org.gvsig</groupId>
893
                <artifactId>org.gvsig.metadata.swing.basic.impl</artifactId>
894
                <version>2.0.90-SNAPSHOT</version>
895
            </dependency>
896
            <dependency>
897
                <groupId>org.gvsig</groupId>
898
                <artifactId>org.gvsig.projection.cresques.impl</artifactId>
899
                <version>2.0.90-SNAPSHOT</version>
900
            </dependency>
901
            <dependency>
902
                <groupId>org.gvsig</groupId>
903
                <artifactId>org.gvsig.projection.cresques.ui</artifactId>
904
                <version>2.0.90-SNAPSHOT</version>
905
            </dependency>
906
            <dependency>
907
                <groupId>org.gvsig</groupId>
908
                <artifactId>org.gvsig.andami</artifactId>
909
                <version>2.0.90-SNAPSHOT</version>
910
            </dependency>
911
            <dependency>
912
                <groupId>org.gvsig</groupId>
913
                <artifactId>org.gvsig.app</artifactId>
914
                <version>2.0.90-SNAPSHOT</version>
915
            </dependency>
916
            <dependency>
917
                <groupId>org.gvsig</groupId>
918
                <artifactId>org.gvsig.ui</artifactId>
919
                <version>2.0.90-SNAPSHOT</version>
920
            </dependency>
921
            <dependency>
922
                <groupId>org.gvsig</groupId>
923
                <artifactId>org.gvsig.fmap.control</artifactId>
924
                <version>2.0.90-SNAPSHOT</version>
925
            </dependency>
926
            <dependency>
927
                <groupId>org.gvsig</groupId>
928
                <artifactId>org.gvsig.fmap.mapcontext.api</artifactId>
929
                <version>2.0.90-SNAPSHOT</version>
930
            </dependency>
931
            <dependency>
932
                <groupId>org.gvsig</groupId>
933
                <artifactId>org.gvsig.fmap.mapcontext.impl</artifactId>
934
                <version>2.0.90-SNAPSHOT</version>
935
            </dependency>
936
            <dependency>
937
                <groupId>org.gvsig</groupId>
938
                <artifactId>org.gvsig.fmap.mapcontext.operation</artifactId>
939
                <version>2.0.90-SNAPSHOT</version>
940
            </dependency>
941
            <dependency>
942
                <groupId>org.gvsig</groupId>
943
                <artifactId>org.gvsig.fmap.dal.api</artifactId>
944
                <version>2.0.90-SNAPSHOT</version>
945
            </dependency>
946
            <dependency>
947
                <groupId>org.gvsig</groupId>
948
                <artifactId>org.gvsig.fmap.dal.spi</artifactId>
949
                <version>2.0.90-SNAPSHOT</version>
950
            </dependency>
951
            <dependency>
952
                <groupId>org.gvsig</groupId>
953
                <artifactId>org.gvsig.fmap.dal.impl</artifactId>
954
                <version>2.0.90-SNAPSHOT</version>
955
            </dependency>
956
            <dependency>
957
                <groupId>org.gvsig</groupId>
958
                <artifactId>org.gvsig.fmap.dal.impl</artifactId>
959
                <version>2.0.90-SNAPSHOT</version>
960
                <type>test-jar</type>
961
                <scope>test</scope>
962
            </dependency>
963
            <dependency>
964
                <groupId>org.gvsig</groupId>
965
                <artifactId>org.gvsig.fmap.dal.db.lib</artifactId>
966
                <version>2.0.90-SNAPSHOT</version>
967
            </dependency>
968
            <dependency>
969
                <groupId>org.gvsig</groupId>
970
                <artifactId>org.gvsig.fmap.dal.db.jdbc</artifactId>
971
                <version>2.0.90-SNAPSHOT</version>
972
            </dependency>
973
            <dependency>
974
                <groupId>org.gvsig</groupId>
975
                <artifactId>org.gvsig.fmap.dal.db.h2</artifactId>
976
                <version>2.0.90-SNAPSHOT</version>
977
            </dependency>
978

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

    
1239
            <dependency>
1240
                <groupId>org.gvsig</groupId>
1241
                <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
1242
                <version>2.0.90-SNAPSHOT</version>
1243
            </dependency>
1244
            <dependency>
1245
                <groupId>org.gvsig</groupId>
1246
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1247
                <version>2.0.90-SNAPSHOT</version>
1248
            </dependency>
1249
            <dependency>
1250
                <groupId>org.gvsig</groupId>
1251
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1252
                <version>2.0.90-SNAPSHOT</version>
1253
                <type>test-jar</type>
1254
                <scope>test</scope>
1255
            </dependency>
1256
            <dependency>
1257
                <groupId>org.gvsig</groupId>
1258
                <artifactId>org.gvsig.daltransform.app.join</artifactId>
1259
                <version>2.0.90-SNAPSHOT</version>
1260
            </dependency>
1261
            <dependency>
1262
                <groupId>org.gvsig</groupId>
1263
                <artifactId>org.gvsig.daltransform.app.eventtheme</artifactId>
1264
                <version>2.0.90-SNAPSHOT</version>
1265
            </dependency>
1266

    
1267
            <dependency>
1268
                <groupId>org.gvsig</groupId>
1269
                <artifactId>org.gvsig.app.mainplugin</artifactId>
1270
                <version>2.0.90-SNAPSHOT</version>
1271
            </dependency>
1272
            <dependency>
1273
                <groupId>org.gvsig</groupId>
1274
                <artifactId>org.gvsig.annotation.app.mainplugin</artifactId>
1275
                <version>2.0.90-SNAPSHOT</version>
1276
            </dependency>
1277
            <dependency>
1278
                <groupId>org.gvsig</groupId>
1279
                <artifactId>org.gvsig.centerviewpoint.app.mainplugin</artifactId>
1280
                <version>2.0.90-SNAPSHOT</version>
1281
            </dependency>
1282
            <dependency>
1283
                <groupId>org.gvsig</groupId>
1284
                <artifactId>org.gvsig.coreplugin.app.mainplugin</artifactId>
1285
                <version>2.0.90-SNAPSHOT</version>
1286
            </dependency>
1287
            <dependency>
1288
                <groupId>org.gvsig</groupId>
1289
                <artifactId>org.gvsig.datalocator.app.mainplugin</artifactId>
1290
                <version>2.0.90-SNAPSHOT</version>
1291
            </dependency>
1292
            <dependency>
1293
                <groupId>org.gvsig</groupId>
1294
                <artifactId>org.gvsig.editing.app.mainplugin</artifactId>
1295
                <version>2.0.90-SNAPSHOT</version>
1296
            </dependency>
1297
            <dependency>
1298
                <groupId>org.gvsig</groupId>
1299
                <artifactId>org.gvsig.exportto.app.mainplugin</artifactId>
1300
                <version>2.0.90-SNAPSHOT</version>
1301
            </dependency>
1302
            <dependency>
1303
                <groupId>org.gvsig</groupId>
1304
                <artifactId>org.gvsig.mkmvnproject.app.mainplugin</artifactId>
1305
                <version>2.0.49-SNAPSHOT</version>
1306
            </dependency>
1307
            <dependency>
1308
                <groupId>org.gvsig</groupId>
1309
                <artifactId>org.gvsig.installer.app.mainplugin</artifactId>
1310
                <version>2.0.90-SNAPSHOT</version>
1311
            </dependency>
1312
            <!--
1313
                      <dependency>
1314
                        <groupId>org.gvsig</groupId>
1315
                        <artifactId>org.gvsig.symbology.app.mainplugin</artifactId>
1316
                        <version>2.0.10-SNAPSHOT</version>
1317
                      </dependency>
1318
            -->
1319
            <dependency>
1320
                <groupId>org.gvsig</groupId>
1321
                <artifactId>org.gvsig.i18n.app.mainplugin</artifactId>
1322
                <version>2.0.90-SNAPSHOT</version>
1323
            </dependency>
1324
            <dependency>
1325
                <groupId>org.gvsig</groupId>
1326
                <artifactId>org.gvsig.selectiontools.app.mainplugin</artifactId>
1327
                <version>2.0.90-SNAPSHOT</version>
1328
            </dependency>
1329
            <dependency>
1330
                <groupId>org.gvsig</groupId>
1331
                <artifactId>org.gvsig.geometrymeasurement.app.mainplugin</artifactId>
1332
                <version>2.0.90-SNAPSHOT</version>
1333
            </dependency>
1334
            <dependency>
1335
                <groupId>org.gvsig</groupId>
1336
                <artifactId>org.gvsig.newlayer.app.mainplugin</artifactId>
1337
                <version>2.0.90-SNAPSHOT</version>
1338
            </dependency>
1339
            <!--
1340
            <dependency>
1341
                <groupId>org.gvsig</groupId>
1342
                <artifactId>org.gvsig.help.app.mainplugin</artifactId>
1343
                <version>2.0.24-SNAPSHOT</version>
1344
            </dependency>
1345
            -->
1346
            <dependency>
1347
                <groupId>org.gvsig</groupId>
1348
                <artifactId>org.gvsig.timesupport.lib.api</artifactId>
1349
                <version>2.0.90-SNAPSHOT</version>
1350
            </dependency>
1351
            <dependency>
1352
                <groupId>org.gvsig</groupId>
1353
                <artifactId>org.gvsig.timesupport.lib.impl</artifactId>
1354
                <version>2.0.90-SNAPSHOT</version>
1355
            </dependency>
1356
            <dependency>
1357
                <groupId>org.gvsig</groupId>
1358
                <artifactId>org.gvsig.timesupport.swing.api</artifactId>
1359
                <version>2.0.90-SNAPSHOT</version>
1360
            </dependency>
1361
            <dependency>
1362
                <groupId>org.gvsig</groupId>
1363
                <artifactId>org.gvsig.timesupport.swing.impl</artifactId>
1364
                <version>2.0.90-SNAPSHOT</version>
1365
            </dependency>
1366

    
1367
        </dependencies>
1368
    </dependencyManagement>
1369

    
1370
    <dependencies>
1371
        <dependency>
1372
            <groupId>junit</groupId>
1373
            <artifactId>junit</artifactId>
1374
            <scope>test</scope>
1375
        </dependency>
1376
    </dependencies>
1377

    
1378
    <build>
1379
        <extensions>
1380
            <extension>
1381
                <groupId>org.apache.maven.wagon</groupId>
1382
                <artifactId>wagon-webdav-jackrabbit</artifactId>
1383
                <version>2.4</version>
1384
            </extension>
1385
        </extensions>
1386

    
1387
        <pluginManagement>
1388
            <plugins>
1389

    
1390
                <plugin>
1391
                    <groupId>org.apache.maven.plugins</groupId>
1392
                    <artifactId>maven-scm-plugin</artifactId>
1393
                    <version>1.9</version>
1394
                    <configuration>
1395
                        <connectionType>connection</connectionType>
1396
                    </configuration>
1397
                </plugin>
1398

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

    
1468
                <plugin>
1469
                    <groupId>org.apache.maven.plugins</groupId>
1470
                    <artifactId>maven-compiler-plugin</artifactId>
1471
                    <version>2.3.2</version>
1472
                    <configuration>
1473
                        <source>1.5</source>
1474
                        <target>1.5</target>
1475
                        <encoding>ISO-8859-1</encoding>
1476
                    </configuration>
1477
                </plugin>
1478

    
1479
                <plugin>
1480
                    <groupId>org.apache.maven.plugins</groupId>
1481
                    <artifactId>maven-resources-plugin</artifactId>
1482
                    <version>2.4.3</version>
1483
                    <configuration>
1484
                        <encoding>ISO-8859-1</encoding>
1485
                    </configuration>
1486
                </plugin>
1487

    
1488
                <plugin>
1489
                    <groupId>org.apache.maven.plugins</groupId>
1490
                    <artifactId>maven-eclipse-plugin</artifactId>
1491
                    <configuration>
1492
                        <downloadSources>true</downloadSources>
1493
                        <downloadJavadocs>true</downloadJavadocs>
1494
                        <projectNameTemplate>${project.artifactId}</projectNameTemplate>
1495
                    </configuration>
1496
                </plugin>
1497

    
1498
                <plugin>
1499
                    <groupId>org.apache.maven.plugins</groupId>
1500
                    <artifactId>maven-surefire-plugin</artifactId>
1501
                    <version>2.7.1</version>
1502
                    <configuration>
1503
                        <forkMode>once</forkMode>
1504
                        <environmentVariables>
1505
                            <DYLD_FRAMEWORK_PATH>${user.home}/.depman/Frameworks</DYLD_FRAMEWORK_PATH>
1506
                            <DYLD_LIBRARY_PATH>${user.home}/.depman/lib</DYLD_LIBRARY_PATH>
1507
                            <GDAL_DATA>${user.home}/.depman/data/gdal</GDAL_DATA>
1508
                            <LD_LIBRARY_PATH>${user.home}/.depman/lib</LD_LIBRARY_PATH>
1509
                            <PATH>${user.home}/.depman/bin${path.separator}${env.PATH}</PATH>
1510
                            <PROJ_LIB>${gvsig.product.folder.path}/gvSIG/extensiones/org.gvsig.crs.extension/data</PROJ_LIB>
1511
                        </environmentVariables>
1512
                    </configuration>
1513
                </plugin>
1514

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

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

    
1577
                <plugin>
1578
                    <groupId>org.apache.maven.plugins</groupId>
1579
                    <artifactId>maven-site-plugin</artifactId>
1580
                    <version>3.3</version>
1581
                    <configuration>
1582
                        <chmod>true</chmod>
1583
                        <chmodMode>a+rwX</chmodMode>
1584
                    </configuration>
1585
                </plugin>
1586

    
1587
                <plugin>
1588
                    <groupId>org.apache.maven.plugins</groupId>
1589
                    <artifactId>maven-jar-plugin</artifactId>
1590
                    <version>2.3.1</version>
1591
                    <configuration>
1592
                        <archive>
1593
                            <manifestEntries>
1594
                                <Built-By>gvSIG Team</Built-By>
1595
                            </manifestEntries>
1596
                        </archive>
1597
                    </configuration>
1598
                </plugin>
1599

    
1600
                <plugin>
1601
                    <groupId>org.codehaus.mojo</groupId>
1602
                    <artifactId>properties-maven-plugin</artifactId>
1603
                    <version>1.0-alpha-2</version>
1604
                </plugin>
1605

    
1606
                <plugin>
1607
                    <groupId>org.apache.maven.plugins</groupId>
1608
                    <artifactId>maven-antrun-plugin</artifactId>
1609
                    <version>1.7</version>
1610
                </plugin>
1611

    
1612
                <plugin>
1613
                    <groupId>org.codehaus.mojo</groupId>
1614
                    <artifactId>animal-sniffer-maven-plugin</artifactId>
1615
                    <version>1.9</version>
1616
                </plugin>
1617

    
1618
                <plugin>
1619
                    <groupId>org.apache.maven.plugins</groupId>
1620
                    <artifactId>maven-release-plugin</artifactId>
1621
                    <version>2.4.1</version>
1622
                </plugin>
1623

    
1624
                <plugin>
1625
                    <groupId>org.apache.maven.plugins</groupId>
1626
                    <artifactId>maven-deploy-plugin</artifactId>
1627
                    <version>2.6</version>
1628
                </plugin>
1629

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

    
1649
                <plugin>
1650
                    <groupId>org.apache.maven.plugins</groupId>
1651
                    <artifactId>maven-clean-plugin</artifactId>
1652
                    <version>2.4.1</version>
1653
                </plugin>
1654

    
1655
                <plugin>
1656
                    <groupId>org.codehaus.mojo</groupId>
1657
                    <artifactId>exec-maven-plugin</artifactId>
1658
                    <version>1.2</version>
1659
                </plugin>
1660

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

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

    
1707
                <plugin>
1708
                    <groupId>org.apache.maven.plugins</groupId>
1709
                    <artifactId>maven-checkstyle-plugin</artifactId>
1710
                    <version>2.10</version>
1711
                </plugin>
1712

    
1713
                <plugin>
1714
                    <groupId>org.apache.maven.plugins</groupId>
1715
                    <artifactId>maven-source-plugin</artifactId>
1716
                    <version>2.2.1</version>
1717
                </plugin>
1718

    
1719
                <plugin>
1720
                    <groupId>org.codehaus.gmaven</groupId>
1721
                    <artifactId>gmaven-plugin</artifactId>
1722
                    <version>1.4</version>
1723
                    <dependencies>
1724
                        <dependency>
1725
                            <groupId>com.github.lookfirst</groupId>
1726
                            <artifactId>sardine</artifactId>
1727
                            <version>5.0.1</version>
1728
                        </dependency>
1729
                    </dependencies>
1730
                    <executions>
1731

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

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

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

    
1794
                        props.store(package_info_file.newWriter(), null)
1795

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

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

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

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

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

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

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

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

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

    
1909
// To deploy package use:
1910
//    mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
1911
//
1912

    
1913
public class WebDAVClient {
1914

    
1915
    def log;
1916

    
1917
    private String user;
1918
    private String password;
1919
    private Object sardine;
1920

    
1921
    public WebDAVClient(log) {
1922
        disableCertificateValidation();
1923
            this.log = log;
1924
    }
1925

    
1926
    public void login(String user, String password) {
1927
        log.info("[WEBDAV] login as '"+user+"'.");
1928
        def SardineFactory
1929
        try {
1930
            SardineFactory = "com.github.sardine.SardineFactory" as Class
1931
        } catch (Exception ex) {
1932
            log.error("[WEBDAV] can't get SardineFactory.",ex);
1933
        }
1934
        this.user = user;
1935
        this.password = password;
1936
        this.sardine = SardineFactory.begin(this.user,this.password);
1937
    }
1938

    
1939
    public void login() {
1940
        log.info("[WEBDAV] login as guest");
1941
        this.sardine = SardineFactory.begin();
1942
    }
1943

    
1944
    public boolean exists(String url) throws Exception {
1945
        return sardine.exists(url);
1946
    }
1947

    
1948
    public void put(String source, String target) throws Exception {
1949
        log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
1950
        InputStream fis = new FileInputStream(new File(source));
1951
        sardine.put(target, fis);
1952
        log.info("[WEBDAV] put ok.");
1953
    }
1954

    
1955
    public void makedirs(String url) throws Exception {
1956
        log.info("[WEBDAV] makedirs '"+url+"'.");
1957
        URL u = new URL(url);
1958
        String[] x = u.getPath().split("/");
1959
        String path = "";
1960

    
1961
        for( int i=1; i<x.length; i++ ) { path = path + "/" + x[i]; URL t = new URL(u,path) ; mkdir(t.toString()); } 
1962
    } 
1963

    
1964
    public void mkdir(String url) throws Exception {
1965
        if( ! exists(url) ) {
1966
            log.info("[WEBDAV] mkdir '"+url+"'.");
1967
            sardine.createDirectory(url);
1968
        }
1969
    }
1970

    
1971
    public List list(String url) throws Exception {
1972
        List resources = sardine.list(url);
1973
        return resources;
1974
    }
1975

    
1976
    void disableCertificateValidation() {
1977
    /*
1978
        javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
1979
        trustAllCerts[0] = new javax.net.ssl.X509TrustManager() {
1980
                public java.security.cert.X509Certificate[] getAcceptedIssuers() {
1981
                    return new java.security.cert.X509Certificate[0];
1982
                }
1983

    
1984
                public void checkClientTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
1985
                }
1986

    
1987
                public void checkServerTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
1988
                }
1989
            };
1990

    
1991
        // Ignore differences between given hostname and certificate hostname
1992
        javax.net.ssl.HostnameVerifier hv = new javax.net.ssl.HostnameVerifier() {
1993
            public boolean verify(String hostname, javax.net.ssl.SSLSession session) {
1994
                return true;
1995
            }
1996
        };
1997

    
1998
        // Install the all-trusting trust manager
1999
        try {
2000
            javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
2001
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
2002
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
2003
            javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
2004
        } catch (Exception e) {
2005
        }
2006
        */
2007
    }
2008
}
2009

    
2010
if( project.properties["deploy-package"] != null ) {
2011
    if( project.properties["gvsig.install.plugin.package"]=="true" ) {
2012
        poolURL = project.properties["gvsig.package.info.poolURL"];
2013
        if( poolURL[-1] != "/" ) {
2014
            poolURL = poolURL + "/";
2015
        }
2016
        targetPath = poolURL + project.properties["gvsig.package.info.code"];
2017
        log.info("Deploy plugin package to '"+targetPath+"'.");
2018

    
2019
        pkgname = "gvSIG-desktop-" +
2020
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
2021
        project.properties["gvsig.package.info.code"] + "-" +
2022
        project.properties["gvsig.package.info.version"] + "-" +
2023
        project.properties["buildNumber"] + "-" +
2024
        project.properties["gvsig.package.info.state"] + "-" +
2025
        project.properties["gvsig.package.info.operatingSystem"] + "-" +
2026
        project.properties["gvsig.package.info.architecture"] + "-" +
2027
        project.properties["gvsig.package.info.javaVM"];
2028

    
2029
        source = project.basedir.getAbsolutePath() + "/target/" + pkgname
2030
        targetPath = poolURL + project.properties["gvsig.package.info.code"]
2031

    
2032
        log.info("Creating addon-request.txt in target folder");
2033
        new File(project.basedir.getAbsolutePath() + "/target/addon-request.txt").withWriter { out ->
2034
            out.println("#");
2035
            out.println("# "+pkgname);
2036
            out.println("#");
2037
            out.println(targetPath+"/" + pkgname + ".gvspki");
2038
            out.println("#");
2039
        }
2040

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

    
2067
    } else {
2068
        log.info("Skip plugin package deploy. It not be installed by default.");
2069
    }
2070
} else {
2071
    log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
2072
}
2073

    
2074
                  ]]></source>
2075
                            </configuration>
2076
                        </execution>
2077

    
2078
                    </executions>
2079
                </plugin>
2080

    
2081
            </plugins>
2082
        </pluginManagement>
2083

    
2084
        <plugins>
2085
            <plugin>
2086
                <groupId>org.apache.maven.plugins</groupId>
2087
                <artifactId>maven-scm-plugin</artifactId>
2088
            </plugin>
2089

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

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

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

    
2155

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

    
2181
            <plugin>
2182
                <groupId>org.apache.maven.plugins</groupId>
2183
                <artifactId>maven-javadoc-plugin</artifactId>
2184
                <executions>
2185
                    <execution>
2186
                        <id>attach-javadocs</id>
2187
                        <goals>
2188
                            <goal>jar</goal>
2189
                        </goals>
2190
                    </execution>
2191
                </executions>
2192
            </plugin>
2193

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

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

    
2238
            <plugin>
2239
                <!-- to continue building  when test fail -->
2240
                <groupId>org.apache.maven.plugins</groupId>
2241
                <artifactId>maven-surefire-plugin</artifactId>
2242
                <configuration>
2243
                    <testFailureIgnore>true</testFailureIgnore>
2244
                </configuration>
2245
            </plugin>
2246

    
2247
        </plugins>
2248
    </build>
2249

    
2250

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

    
2270
                            <report>dependency-info</report>
2271
                            <!-- Removed due to its high cost
2272
                            <report>dependency-management</report>
2273
                            <report>dependencies</report>
2274
                            -->
2275
                            <report>dependency-convergence</report>
2276

    
2277
                            <!--
2278
                            <report>plugins</report>
2279
                            <report>plugin-management</report>
2280
                            <report>distribution-management</report>
2281
                            -->
2282

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

    
2333
        </plugins>
2334
    </reporting>
2335

    
2336

    
2337
    <profiles>
2338

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

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

    
2414
                        </executions>
2415
                    </plugin>
2416

    
2417
                </plugins>
2418
            </build>
2419
        </profile>
2420

    
2421

    
2422

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

    
2434
                    <plugin>
2435
                        <artifactId>maven-assembly-plugin</artifactId>
2436
                        <executions>
2437
                            <execution>
2438
                                <id>gvsig-plugin-package</id>
2439
                                <phase>package</phase>
2440
                                <goals>
2441
                                    <goal>single</goal>
2442
                                </goals>
2443
                            </execution>
2444
                        </executions>
2445
                    </plugin>
2446

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

    
2466
                    <plugin>
2467
                        <groupId>org.codehaus.gmaven</groupId>
2468
                        <artifactId>gmaven-plugin</artifactId>
2469
                        <executions>
2470

    
2471
                            <execution>
2472
                                <id>increase-build-number</id>
2473
                                <phase>process-sources</phase>
2474
                                <goals>
2475
                                    <goal>execute</goal>
2476
                                </goals>
2477
                            </execution>
2478

    
2479
                            <execution>
2480
                                <id>build-package-info</id>
2481
                                <phase>prepare-package</phase>
2482
                                <goals>
2483
                                    <goal>execute</goal>
2484
                                </goals>
2485
                            </execution>
2486

    
2487
                            <execution>
2488
                                <id>build-package-index</id>
2489
                                <phase>package</phase>
2490
                                <goals>
2491
                                    <goal>execute</goal>
2492
                                </goals>
2493
                            </execution>
2494

    
2495
                            <execution>
2496
                                <id>install-plugin</id>
2497
                                <phase>install</phase>
2498
                                <goals>
2499
                                    <goal>execute</goal>
2500
                                </goals>
2501
                            </execution>
2502

    
2503
                            <execution>
2504
                                <id>deploy-package</id>
2505
                                <phase>install</phase>
2506
                                <goals>
2507
                                    <goal>execute</goal>
2508
                                </goals>
2509
                            </execution>
2510

    
2511
                        </executions>
2512
                    </plugin>
2513

    
2514
                </plugins>
2515
            </build>
2516
        </profile>
2517

    
2518
    </profiles>
2519

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

    
2526
        <!-- The property svn.tags.folder is used in external projects to override  -->
2527
        <!-- configuraction in maven-release-plugin -->
2528
        <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-desktop/tags/</svn.tags.folder>
2529

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

    
2550
        <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
2551
        <gvsig.install.plugin>true</gvsig.install.plugin>
2552
        <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
2553
        <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
2554

    
2555
        <!-- External project versions -->
2556
        <gvsig.tools.version>3.0.56</gvsig.tools.version>
2557
        <gvsig.proj.version>1.0.1</gvsig.proj.version>
2558
        <gvsig.projection.api.version>2.0.16</gvsig.projection.api.version>
2559

    
2560
        <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
2561
    </properties>
2562

    
2563
    <modules>
2564
        <module>org.gvsig.desktop.compat.cdc</module>
2565
        <module>org.gvsig.desktop.library</module>
2566
        <module>org.gvsig.desktop.framework</module>
2567
        <module>org.gvsig.desktop.plugin</module>
2568

    
2569
        <!-- NOTE: Project  org.gvsig.desktop.installer must not be a sub module of this. -->
2570
        <!-- NOTE: Project  org.gvsig.desktop.buildtools must not be a sub module of this. -->
2571

    
2572
    </modules>
2573
</project>
2574