Statistics
| Revision:

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

History | View | Annotate | Download (113 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.177</version>
10

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

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

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

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

    
44
    <scm>
45
        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.177</connection>
46
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.177</developerConnection>
47
        <url>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/org.gvsig.desktop-2.0.177</url>
48
    </scm>
49

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

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

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

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

    
128
    <dependencyManagement>
129
        <dependencies>
130
            <dependency>
131
                <groupId>org.gvsig</groupId>
132
                <artifactId>org.gvsig.tools</artifactId>
133
                <version>${gvsig.tools.version}</version>
134
                <type>pom</type>
135
                <scope>import</scope>
136
            </dependency>
137

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

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

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

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

    
812
            <!-- External gvSIG projects -->
813

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

    
868
            <dependency>
869
                <groupId>org.gvsig</groupId>
870
                <artifactId>org.gvsig.catalog</artifactId>
871
                <version>2.0</version>
872
            </dependency>
873
            <dependency>
874
                <groupId>org.gvsig.external</groupId>
875
                <artifactId>org.gvsig.external.jump</artifactId>
876
                <version>1.0.0</version>
877
            </dependency>
878
            <dependency>
879
                <groupId>org.gvsig</groupId>
880
                <artifactId>org.gvsig.proj.lib.api</artifactId>
881
                <version>${gvsig.proj.version}</version>
882
            </dependency>
883
            <dependency>
884
                <groupId>org.gvsig</groupId>
885
                <artifactId>org.gvsig.proj.lib.proj4j</artifactId>
886
                <version>${gvsig.proj.version}</version>
887
            </dependency>
888
            <dependency>
889
                <groupId>org.gvsig</groupId>
890
                <artifactId>org.gvsig.proj.swing.api</artifactId>
891
                <version>${gvsig.proj.version}</version>
892
            </dependency>
893
            <dependency>
894
                <groupId>org.gvsig</groupId>
895
                <artifactId>org.gvsig.proj.swing.impl</artifactId>
896
                <version>${gvsig.proj.version}</version>
897
            </dependency>
898
            <dependency>
899
                <groupId>org.gvsig</groupId>
900
                <artifactId>org.gvsig.projection.api</artifactId>
901
                <version>${gvsig.projection.api.version}</version>
902
            </dependency>
903

    
904
            <!-- Childs projects -->
905

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

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

    
1135

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

    
1311
            <dependency>
1312
                <groupId>org.gvsig</groupId>
1313
                <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
1314
                <version>2.0.177</version>
1315
            </dependency>
1316
            <dependency>
1317
                <groupId>org.gvsig</groupId>
1318
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1319
                <version>2.0.177</version>
1320
            </dependency>
1321
            <dependency>
1322
                <groupId>org.gvsig</groupId>
1323
                <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1324
                <version>2.0.177</version>
1325
                <type>test-jar</type>
1326
                <scope>test</scope>
1327
            </dependency>
1328
            <dependency>
1329
                <groupId>org.gvsig</groupId>
1330
                <artifactId>org.gvsig.daltransform.app.join</artifactId>
1331
                <version>2.0.177</version>
1332
            </dependency>
1333
            <dependency>
1334
                <groupId>org.gvsig</groupId>
1335
                <artifactId>org.gvsig.daltransform.app.eventtheme</artifactId>
1336
                <version>2.0.177</version>
1337
            </dependency>
1338

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

    
1439
        </dependencies>
1440
    </dependencyManagement>
1441

    
1442
    <dependencies>
1443
        <dependency>
1444
            <groupId>junit</groupId>
1445
            <artifactId>junit</artifactId>
1446
            <scope>test</scope>
1447
        </dependency>
1448
    </dependencies>
1449

    
1450
    <build>
1451
        <extensions>
1452
            <extension>
1453
                <groupId>org.apache.maven.wagon</groupId>
1454
                <artifactId>wagon-webdav-jackrabbit</artifactId>
1455
                <version>2.4</version>
1456
            </extension>
1457
        </extensions>
1458

    
1459
        <pluginManagement>
1460
            <plugins>
1461

    
1462
                <plugin>
1463
                    <groupId>org.apache.maven.plugins</groupId>
1464
                    <artifactId>maven-scm-plugin</artifactId>
1465
                    <version>1.9</version>
1466
                    <configuration>
1467
                        <connectionType>connection</connectionType>
1468
                    </configuration>
1469
                </plugin>
1470

    
1471
                <plugin>
1472
                    <groupId>org.apache.maven.plugins</groupId>
1473
                    <artifactId>maven-compiler-plugin</artifactId>
1474
                    <version>2.3.2</version>
1475
                    <configuration>
1476
                        <source>1.7</source>
1477
                        <target>1.7</target>
1478
                        <encoding>ISO-8859-1</encoding>
1479
                    </configuration>
1480
                </plugin>
1481

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

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

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

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

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

    
1586
                <plugin>
1587
                    <groupId>org.apache.maven.plugins</groupId>
1588
                    <artifactId>maven-site-plugin</artifactId>
1589
                    <version>3.3</version>
1590
                    <configuration>
1591
                        <chmod>true</chmod>
1592
                        <chmodMode>a+rwX</chmodMode>
1593
                    </configuration>
1594
                </plugin>
1595

    
1596
                <plugin>
1597
                    <groupId>org.apache.maven.plugins</groupId>
1598
                    <artifactId>maven-jar-plugin</artifactId>
1599
                    <version>2.3.1</version>
1600
                    <configuration>
1601
                        <archive>
1602
                            <manifestEntries>
1603
                                <Built-By>gvSIG Team</Built-By>
1604
                            </manifestEntries>
1605
                        </archive>
1606
                    </configuration>
1607
                </plugin>
1608

    
1609
                <plugin>
1610
                    <groupId>org.codehaus.mojo</groupId>
1611
                    <artifactId>properties-maven-plugin</artifactId>
1612
                    <version>1.0-alpha-2</version>
1613
                </plugin>
1614

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

    
1621
                <plugin>
1622
                    <groupId>org.codehaus.mojo</groupId>
1623
                    <artifactId>animal-sniffer-maven-plugin</artifactId>
1624
                    <version>1.9</version>
1625
                </plugin>
1626

    
1627
                <plugin>
1628
                    <groupId>org.apache.maven.plugins</groupId>
1629
                    <artifactId>maven-release-plugin</artifactId>
1630
                    <version>2.4.1</version>
1631
                </plugin>
1632

    
1633
                <plugin>
1634
                    <groupId>org.apache.maven.plugins</groupId>
1635
                    <artifactId>maven-deploy-plugin</artifactId>
1636
                    <version>2.6</version>
1637
                </plugin>
1638

    
1639
                <plugin>
1640
                    <artifactId>maven-assembly-plugin</artifactId>
1641
                    <version>2.4</version>
1642
                    <executions>
1643
                        <execution>
1644
                            <id>gvsig-plugin-package</id>
1645
                            <phase>package</phase>
1646
                            <configuration>
1647
                                <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
1648
                                <appendAssemblyId>false</appendAssemblyId>
1649
                                <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>
1650
                                <descriptors>
1651
                                    <descriptor>src/main/assembly/gvsig-plugin-package.xml</descriptor>
1652
                                </descriptors>
1653
                            </configuration>
1654
                        </execution>
1655
                    </executions>
1656
                </plugin>
1657

    
1658
                <plugin>
1659
                    <groupId>org.apache.maven.plugins</groupId>
1660
                    <artifactId>maven-clean-plugin</artifactId>
1661
                    <version>2.4.1</version>
1662
                </plugin>
1663

    
1664
                <plugin>
1665
                    <groupId>org.codehaus.mojo</groupId>
1666
                    <artifactId>exec-maven-plugin</artifactId>
1667
                    <version>1.2</version>
1668
                </plugin>
1669

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

    
1705
                <!-- Habria que ver si es posible sustituir el plugin -->
1706
                <!-- com.mycila.maven-license-plugin:maven-license-plugin por este -->
1707
                <!-- Ver http://mojo.codehaus.org/license-maven-plugin/index.html -->
1708
                <!--
1709
                <plugin>
1710
                    <groupId>org.codehaus.mojo</groupId>
1711
                    <artifactId>license-maven-plugin</artifactId>
1712
                    <version>1.5</version>
1713
                </plugin>
1714
                -->
1715

    
1716
                <plugin>
1717
                    <groupId>org.apache.maven.plugins</groupId>
1718
                    <artifactId>maven-checkstyle-plugin</artifactId>
1719
                    <version>2.10</version>
1720
                </plugin>
1721

    
1722
                <plugin>
1723
                    <groupId>org.apache.maven.plugins</groupId>
1724
                    <artifactId>maven-source-plugin</artifactId>
1725
                    <version>2.2.1</version>
1726
                </plugin>
1727

    
1728
                <plugin>
1729
                    <groupId>org.codehaus.gmaven</groupId>
1730
                    <artifactId>gmaven-plugin</artifactId>
1731
                    <version>1.5</version>
1732
                    <configuration>
1733
                        <providerSelection>2.0</providerSelection>
1734
                    </configuration>
1735
                    <dependencies>
1736
                        <dependency>
1737
                            <groupId>com.github.lookfirst</groupId>
1738
                            <artifactId>sardine</artifactId>
1739
                            <version>5.0.1</version>
1740
                        </dependency>
1741
                    </dependencies>
1742
                    <executions>
1743

    
1744
                        <execution>
1745
                            <id>increase-build-number</id>
1746
                            <phase>process-sources</phase>
1747
                            <configuration>
1748
                                <source><![CDATA[
1749
                    // use "mvn -Dincrease-build-number process-sources"
1750
                    if( project.properties["increase-build-number"] == null ) {
1751
                      log.info("Don't increment build number use flag '-Dincrease-build-number' to increment it.")
1752
                    } else {
1753
                      File file = new File(project.basedir,"buildNumber.properties")
1754
                      if( ! file.exists() ) {
1755
                          log.info("Skip increment build number (buildNumber.property not present).")
1756
                        } else {
1757
                        Properties props = new Properties()
1758

    
1759
                        props.load(file.newDataInputStream())
1760
                        value = (props.getProperty("buildNumber") as int) + 1
1761
                        props.setProperty("buildNumber",value as String)
1762
                        props.store(file.newWriter(), null)
1763
                        log.info("Setting build number to " + value)
1764
                      }
1765
                    }
1766
                  ]]></source>
1767
                            </configuration>
1768
                        </execution>
1769

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

    
1806
                        props.store(package_info_file.newWriter(), null)
1807

    
1808
                        pkgname = "gvSIG-desktop-" +
1809
                          project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1810
                          project.properties["gvsig.package.info.code"] + "-" +
1811
                          project.properties["gvsig.package.info.version"] + "-" +
1812
                          project.properties["buildNumber"] + "-" +
1813
                          project.properties["gvsig.package.info.state"] + "-" +
1814
                          project.properties["gvsig.package.info.operatingSystem"] + "-" +
1815
                          project.properties["gvsig.package.info.architecture"] + "-" +
1816
                          project.properties["gvsig.package.info.javaVM"]
1817
                        package_info_file  = new File(project.basedir, "target/gvspki/"+project.properties["gvsig.package.info.code"]+"/package.info")
1818
                        log.info("Building package.info index " + package_info_file.getAbsolutePath())
1819
                        package_info_file.getParentFile().mkdirs()
1820
                        props.setProperty('download-url',
1821
                          poolURL +
1822
                          project.properties["gvsig.package.info.code"] + "/" +
1823
                          pkgname + ".gvspkg"
1824
                        )
1825
                        props.store(package_info_file.newWriter(), null)
1826
                      }
1827
                  ]]></source>
1828
                            </configuration>
1829
                        </execution>
1830

    
1831
                        <execution>
1832
                            <id>build-package-index</id>
1833
                            <phase>package</phase>
1834
                            <configuration>
1835
                                <source><![CDATA[
1836
                    ant = new AntBuilder()
1837
                    if( project.properties["buildNumber"] == null) {
1838
                      log.info("Skip building package index (buildNumber.property not present).")
1839
                    } else {
1840
                      pkgname = "gvSIG-desktop-" +
1841
                        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1842
                        project.properties["gvsig.package.info.code"] + "-" +
1843
                        project.properties["gvsig.package.info.version"] + "-" +
1844
                        project.properties["buildNumber"] + "-" +
1845
                        project.properties["gvsig.package.info.state"] + "-" +
1846
                        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1847
                        project.properties["gvsig.package.info.architecture"] + "-" +
1848
                        project.properties["gvsig.package.info.javaVM"]
1849

    
1850
                      log.info("Building package index " + pkgname + ".gvspki")
1851
                      package_index_source  = project.basedir.getAbsolutePath() + "/target/gvspki"
1852
                      package_index_target  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1853
                      ant.zip(destfile: package_index_target, basedir: package_index_source)
1854
                    }
1855
                  ]]></source>
1856
                            </configuration>
1857
                        </execution>
1858

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

    
1878
                      log.debug("gvsig.install.plugin=" + project.properties["gvsig.install.plugin"])
1879
                      log.debug("gvsig.install.plugin.package=" + project.properties["gvsig.install.plugin.package"])
1880
                                          if( project.properties["gvsig.install.plugin"]=="true" ) {
1881
                              source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1882
                              target = project.properties["gvsig.product.folder.path"] + "/gvSIG/extensiones/"
1883

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

    
1887
                        target + "/" + project.properties["gvsig.package.info.code"]
1888

    
1889
                              log.info("Install plugin to " + target)
1890
                              ant.unzip(src: source, dest: target)
1891
                      } else {
1892
                          log.info("Skip plugin install.")
1893
                      }
1894
                      if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1895
                          source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1896
                              target = new File(project.properties["gvsig.product.folder.path"] +
1897
                                "/install/" +
1898
                                project.properties["gvsig.package.info.code"] + "/" +
1899
                                pkgname + ".gvspkg")
1900
                              target.getParentFile().mkdirs()
1901

    
1902
                              log.info("Copy plugin package from " + source + " to " + target)
1903
                              ant.copy(file:source, tofile:target.getAbsolutePath())
1904

    
1905
                              source  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1906
                              target = project.properties["gvsig.product.folder.path"] +
1907
                                "/install/" +
1908
                                project.properties["gvsig.package.info.code"] + "/" +
1909
                                pkgname + ".gvspki"
1910
                              log.info("Copy plugin package index from " + source + " to " + target)
1911
                              ant.copy(file:source, tofile:target)
1912
                      } else {
1913
                          log.info("Skip plugin package install.")
1914
                                          }
1915
                    }
1916
                  ]]></source>
1917
                            </configuration>
1918
                        </execution>
1919

    
1920
                        <execution>
1921
                            <id>deploy-package</id>
1922
                            <phase>install</phase>
1923
                            <configuration>
1924
                                <source><![CDATA[
1925

    
1926
// To deploy package use:
1927
//    mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
1928
//
1929
if( project.properties["deploy-package"] != null ) {
1930
    if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1931
        poolURL = project.properties["gvsig.package.info.poolURL"];
1932
        if( poolURL[-1] != "/" ) {
1933
            poolURL = poolURL + "/";
1934
        }
1935
        targetPath = poolURL + project.properties["gvsig.package.info.code"];
1936
        log.info("Deploy plugin package to '"+targetPath+"'.");
1937

    
1938
        pkgname = "gvSIG-desktop-" +
1939
        project.properties["gvsig.package.info.gvSIGVersion"] + "-" +
1940
        project.properties["gvsig.package.info.code"] + "-" +
1941
        project.properties["gvsig.package.info.version"] + "-" +
1942
        project.properties["buildNumber"] + "-" +
1943
        project.properties["gvsig.package.info.state"] + "-" +
1944
        project.properties["gvsig.package.info.operatingSystem"] + "-" +
1945
        project.properties["gvsig.package.info.architecture"] + "-" +
1946
        project.properties["gvsig.package.info.javaVM"];
1947

    
1948
        source = project.basedir.getAbsolutePath() + "/target/" + pkgname
1949
        targetPath = poolURL + project.properties["gvsig.package.info.code"]
1950

    
1951
        log.info("Creating addon-request.txt in target folder");
1952
        new File(project.basedir.getAbsolutePath() + "/target/addon-request.txt").withWriter { out ->
1953
            out.println("");
1954
            out.println("# "+pkgname);
1955
            out.println("");
1956
            out.println(targetPath+"/" + pkgname + ".gvspki");
1957
            out.println("");
1958
        }
1959

    
1960
        if( project.properties["username"] == null ) {
1961
            print("Enter user name: ");
1962
            user = System.console().readLine().toString()
1963
            if( user != "" ) {
1964
                project.properties.setProperty("username",user);
1965
            }
1966
        }
1967
        if( project.properties["password"] == null ) {
1968
            print("Enter password for user '" + project.properties["username"] + "': ");
1969
            password = System.console().readPassword().toString()
1970
            if( password != "" ) {
1971
                project.properties.setProperty("password",password);
1972
            }
1973
        }
1974
        WebDAVClient session = new WebDAVClient(log);
1975
        if( project.properties["username"] == null || project.properties["password"] == null ) {
1976
            log.info("[WEBDAV] creating non authenticated session.");
1977
            log.info("[WEBDAV] Use -Duser=USER -Dpassword=PASSWORD to create a authenticated session.");
1978
            session.login();
1979
        } else {
1980
            session.login(project.properties["username"], project.properties["password"]);
1981
        }
1982
        session.makedirs(targetPath);
1983
        session.put(source + ".gvspkg.zip", targetPath+"/"+pkgname+ ".gvspkg");
1984
        session.put(source + ".gvspki", targetPath+"/"+pkgname+ ".gvspki");
1985

    
1986
    } else {
1987
        log.info("Skip plugin package deploy. It not be installed by default.");
1988
    }
1989
} else {
1990
    log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
1991
}
1992

    
1993
public class WebDAVClient {
1994

    
1995
    def log;
1996

    
1997
    private String user;
1998
    private String password;
1999
    private Object sardine;
2000

    
2001
    public WebDAVClient(log) {
2002
        disableCertificateValidation();
2003
            this.log = log;
2004
    }
2005

    
2006
    public void login(String user, String password) {
2007
        log.info("[WEBDAV] login as '"+user+"'.");
2008
        def SardineFactory
2009
        try {
2010
            SardineFactory = "com.github.sardine.SardineFactory" as Class
2011
        } catch (Exception ex) {
2012
            log.error("[WEBDAV] can't get SardineFactory.",ex);
2013
        }
2014
        this.user = user;
2015
        this.password = password;
2016
        this.sardine = SardineFactory.begin(this.user,this.password);
2017
    }
2018

    
2019
    public void login() {
2020
        log.info("[WEBDAV] login as guest");
2021
        this.sardine = SardineFactory.begin();
2022
    }
2023

    
2024
    public boolean exists(String url) throws Exception {
2025
        return sardine.exists(url);
2026
    }
2027

    
2028
    public void put(String source, String target) throws Exception {
2029
        log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
2030
        InputStream fis = new FileInputStream(new File(source));
2031
        sardine.put(target, fis);
2032
        log.info("[WEBDAV] put ok.");
2033
    }
2034

    
2035
    public void mkdir(String url) throws Exception {
2036
        if( ! exists(url) ) {
2037
            log.info("[WEBDAV] mkdir '"+url+"'.");
2038
            sardine.createDirectory(url);
2039
        }
2040
    }
2041

    
2042
    public List list(String url) throws Exception {
2043
        List resources = sardine.list(url);
2044
        return resources;
2045
    }
2046

    
2047
    void disableCertificateValidation() {
2048
    /*
2049
        javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
2050
        trustAllCerts[0] = new javax.net.ssl.X509TrustManager() {
2051
                public java.security.cert.X509Certificate[] getAcceptedIssuers() {
2052
                    return new java.security.cert.X509Certificate[0];
2053
                }
2054

    
2055
                public void checkClientTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2056
                }
2057

    
2058
                public void checkServerTrusted(java.security.cert.X509Certificate[] xcs, String string) throws java.security.cert.CertificateException {
2059
                }
2060
            };
2061

    
2062
        // Ignore differences between given hostname and certificate hostname
2063
        javax.net.ssl.HostnameVerifier hv = new javax.net.ssl.HostnameVerifier() {
2064
            public boolean verify(String hostname, javax.net.ssl.SSLSession session) {
2065
                return true;
2066
            }
2067
        };
2068

    
2069
        // Install the all-trusting trust manager
2070
        try {
2071
            javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
2072
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
2073
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
2074
            javax.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
2075
        } catch (Exception e) {
2076
        }
2077
        */
2078
    }
2079

    
2080
    public void makedirs(String url) throws Exception {
2081
        log.info("[WEBDAV] makedirs '"+url+"'.");
2082
        URL u = new URL(url);
2083
        String[] x = u.getPath().split("/");
2084
        String path = "";
2085
        for (int i=1; i<x.length; i++) { path = path + "/" + x[i]; URL t = new URL(u,path); mkdir(t.toString()); } }
2086
} ]]></source>
2087
                            </configuration>
2088
                        </execution>
2089

    
2090
                    </executions>
2091
                </plugin>
2092

    
2093
            </plugins>
2094
        </pluginManagement>
2095

    
2096
        <plugins>
2097
            <plugin>
2098
                <groupId>org.apache.maven.plugins</groupId>
2099
                <artifactId>maven-scm-plugin</artifactId>
2100
            </plugin>
2101

    
2102
            <plugin>
2103
                <artifactId>maven-clean-plugin</artifactId>
2104
                <configuration>
2105
                    <filesets>
2106
                        <fileset>
2107
                            <directory>${user.home}/.depman/</directory>
2108
                            <includes>
2109
                                <include>**</include>
2110
                            </includes>
2111
                        </fileset>
2112
                    </filesets>
2113
                    <followSymLinks>true</followSymLinks>
2114
                </configuration>
2115
            </plugin>
2116

    
2117
            <plugin>
2118
                <groupId>org.apache.maven.plugins</groupId>
2119
                <artifactId>maven-release-plugin</artifactId>
2120
                <configuration>
2121
                    <!-- The property svn.tags.folder is used in external projects   -->
2122
                    <!-- to override configuraction of tagBase -->
2123
                    <tagBase>${svn.tags.folder}</tagBase>
2124
                    <!-- This is a 2.0 beta 6 bug. By default the goals are 'clean verify', so the modules
2125
                    are not installed, so the dependencies between modules are not met. With this configuration
2126
                    we force the module installation. -->
2127
                    <preparationGoals>clean install</preparationGoals>
2128
                    <autoVersionSubmodules>true</autoVersionSubmodules>
2129
                    <!-- Dont make site-deploy -->
2130
                    <!-- You need to run it after in folder target/checkout -->
2131
                    <goals>deploy</goals>
2132
                </configuration>
2133
            </plugin>
2134

    
2135
            <plugin>
2136
                <!-- load ".gvsig-devel.properties" -->
2137
                <groupId>org.codehaus.mojo</groupId>
2138
                <artifactId>properties-maven-plugin</artifactId>
2139
                <configuration>
2140
                    <files>
2141
                        <!-- Define gvsig.product.folder.path in this property -->
2142
                        <file>${user.home}/.gvsig-devel.properties</file>
2143
                        <file>${env.HOME}/.gvsig-devel.properties</file>
2144
                        <file>${project.basedir}/gvsig-devel.properties</file>
2145
                        <file>buildNumber.properties</file>
2146
                    </files>
2147
                    <quiet>true</quiet>
2148
                </configuration>
2149
                <executions>
2150
                    <execution>
2151
                        <id>default</id>
2152
                        <phase>prepare-package</phase>
2153
                        <goals>
2154
                            <goal>read-project-properties</goal>
2155
                        </goals>
2156
                    </execution>
2157
                    <execution>
2158
                        <id>default-clean</id>
2159
                        <phase>pre-clean</phase>
2160
                        <goals>
2161
                            <goal>read-project-properties</goal>
2162
                        </goals>
2163
                    </execution>
2164
                </executions>
2165
            </plugin>
2166

    
2167

    
2168
            <plugin>
2169
                <groupId>org.codehaus.mojo</groupId>
2170
                <artifactId>animal-sniffer-maven-plugin</artifactId>
2171
                <executions>
2172
                    <execution>
2173
                        <id>check-java-api</id>
2174
                        <phase>package</phase>
2175
                        <goals>
2176
                            <goal>check</goal>
2177
                        </goals>
2178
                        <configuration>
2179
                            <skip>false</skip>
2180
                            <signature>
2181
                                <groupId>org.codehaus.mojo.signature</groupId>
2182
                                <artifactId>java18</artifactId>
2183
                                <version>1.0</version>
2184
                            </signature>
2185
                            <ignores>
2186
                                <ignore>net.sourceforge.cobertura.coveragedata.TouchCollector</ignore>
2187
                                <ignore>java.nio.ByteBuffer</ignore>
2188
                                <ignore>java.nio.MappedByteBuffer</ignore>
2189
                            </ignores>
2190
                        </configuration>
2191
                    </execution>
2192
                </executions>
2193
            </plugin>
2194

    
2195
            <plugin>
2196
                <groupId>org.apache.maven.plugins</groupId>
2197
                <artifactId>maven-javadoc-plugin</artifactId>
2198
                <executions>
2199
                    <execution>
2200
                        <id>attach-javadocs</id>
2201
                        <goals>
2202
                            <goal>jar</goal>
2203
                        </goals>
2204
                    </execution>
2205
                </executions>
2206
            </plugin>
2207

    
2208
            <plugin>
2209
                <groupId>org.apache.maven.plugins</groupId>
2210
                <artifactId>maven-source-plugin</artifactId>
2211
                <configuration>
2212
                    <skipSource>false</skipSource> <!-- User property is: source.skip. -->
2213
                </configuration>
2214
                <executions>
2215
                    <execution>
2216
                        <id>attach-sources</id>
2217
                        <phase>verify</phase>
2218
                        <goals>
2219
                            <goal>jar-no-fork</goal>
2220
                        </goals>
2221
                    </execution>
2222
                    <execution>
2223
                        <id>attach-test-sources</id>
2224
                        <phase>verify</phase>
2225
                        <goals>
2226
                            <goal>test-jar-no-fork</goal>
2227
                        </goals>
2228
                    </execution>
2229
                </executions>
2230
            </plugin>
2231

    
2232
            <plugin>
2233
                <groupId>org.apache.maven.plugins</groupId>
2234
                <artifactId>maven-checkstyle-plugin</artifactId>
2235
                <!-- invoke as "mvn checkstyle:checkstyle"  or "mvn site" -->
2236
                <configuration>
2237
                    <skip>false</skip> <!-- User property is: checkstyle.skip. -->
2238
                    <enableRulesSummary>true</enableRulesSummary>
2239
                    <failsOnError>false</failsOnError>
2240
                    <configLocation>gvsig/checkstyle.xml</configLocation>
2241
                    <headerLocation>gvsig/LICENSE.txt</headerLocation>
2242
                </configuration>
2243
                <dependencies>
2244
                    <dependency>
2245
                        <groupId>org.gvsig</groupId>
2246
                        <artifactId>org.gvsig.desktop.buildtools</artifactId>
2247
                        <version>1.0.0</version>
2248
                    </dependency>
2249
                </dependencies>
2250
            </plugin>
2251

    
2252
            <plugin>
2253
                <!-- to continue building  when test fail -->
2254
                <groupId>org.apache.maven.plugins</groupId>
2255
                <artifactId>maven-surefire-plugin</artifactId>
2256
                <configuration>
2257
                    <testFailureIgnore>true</testFailureIgnore>
2258
                </configuration>
2259
            </plugin>
2260

    
2261
        </plugins>
2262
    </build>
2263

    
2264

    
2265
    <reporting>
2266
        <excludeDefaults>true</excludeDefaults>
2267
        <plugins>
2268
            <plugin>
2269
                <groupId>org.apache.maven.plugins</groupId>
2270
                <artifactId>maven-project-info-reports-plugin</artifactId>
2271
                <version>2.7</version>
2272
                <reportSets>
2273
                    <reportSet>
2274
                        <reports>
2275
                            <report>index</report>
2276
                            <report>summary</report>
2277
                            <report>scm</report>
2278
                            <report>license</report>
2279
                            <report>project-team</report>
2280
                            <report>issue-tracking</report>
2281
                            <report>mailing-list</report>
2282
                            <report>modules</report>
2283

    
2284
                            <report>dependency-info</report>
2285
                            <!-- Removed due to its high cost
2286
                            <report>dependency-management</report>
2287
                            <report>dependencies</report>
2288
                            -->
2289
                            <report>dependency-convergence</report>
2290

    
2291
                            <!--
2292
                            <report>plugins</report>
2293
                            <report>plugin-management</report>
2294
                            <report>distribution-management</report>
2295
                            -->
2296

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

    
2347
        </plugins>
2348
    </reporting>
2349

    
2350

    
2351
    <profiles>
2352

    
2353
        <profile>
2354
            <!-- This profile is used to initialize and install the root folder of gvSIG -->
2355
            <id>gvsig-root</id>
2356
            <activation>
2357
                <file>
2358
                    <exists>src/main/assembly/gvsig-root-folder-package.xml</exists>
2359
                </file>
2360
            </activation>
2361
            <build>
2362
                <plugins>
2363

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

    
2428
                        </executions>
2429
                    </plugin>
2430

    
2431
                </plugins>
2432
            </build>
2433
        </profile>
2434

    
2435

    
2436

    
2437
        <profile>
2438
            <!-- This profile is used to packege and install the gvSIG plugins -->
2439
            <id>gvsig-plugin</id>
2440
            <activation>
2441
                <file>
2442
                    <exists>buildNumber.properties</exists>
2443
                </file>
2444
            </activation>
2445
            <build>
2446
                <plugins>
2447

    
2448
                    <plugin>
2449
                        <artifactId>maven-assembly-plugin</artifactId>
2450
                        <executions>
2451
                            <execution>
2452
                                <id>gvsig-plugin-package</id>
2453
                                <phase>package</phase>
2454
                                <goals>
2455
                                    <goal>single</goal>
2456
                                </goals>
2457
                            </execution>
2458
                        </executions>
2459
                    </plugin>
2460

    
2461
                    <plugin>
2462
                        <artifactId>maven-clean-plugin</artifactId>
2463
                        <configuration>
2464
                            <skip>false</skip>
2465
                            <failOnError>true</failOnError>
2466
                            <filesets>
2467
                                <fileset>
2468
                                    <directory>${gvsig.product.folder.path}/gvSIG/extensiones/${project.artifactId}</directory>
2469
                                </fileset>
2470
                            </filesets>
2471
                        </configuration>
2472
                        <executions>
2473
                            <execution>
2474
                                <id>default-clean</id>
2475
                                <phase>clean</phase>
2476
                            </execution>
2477
                        </executions>
2478
                    </plugin>
2479

    
2480
                    <plugin>
2481
                        <groupId>org.codehaus.gmaven</groupId>
2482
                        <artifactId>gmaven-plugin</artifactId>
2483
                        <executions>
2484

    
2485
                            <execution>
2486
                                <id>increase-build-number</id>
2487
                                <phase>process-sources</phase>
2488
                                <goals>
2489
                                    <goal>execute</goal>
2490
                                </goals>
2491
                            </execution>
2492

    
2493
                            <execution>
2494
                                <id>build-package-info</id>
2495
                                <phase>prepare-package</phase>
2496
                                <goals>
2497
                                    <goal>execute</goal>
2498
                                </goals>
2499
                            </execution>
2500

    
2501
                            <execution>
2502
                                <id>build-package-index</id>
2503
                                <phase>package</phase>
2504
                                <goals>
2505
                                    <goal>execute</goal>
2506
                                </goals>
2507
                            </execution>
2508

    
2509
                            <execution>
2510
                                <id>install-plugin</id>
2511
                                <phase>install</phase>
2512
                                <goals>
2513
                                    <goal>execute</goal>
2514
                                </goals>
2515
                            </execution>
2516

    
2517
                            <execution>
2518
                                <id>deploy-package</id>
2519
                                <phase>install</phase>
2520
                                <goals>
2521
                                    <goal>execute</goal>
2522
                                </goals>
2523
                            </execution>
2524

    
2525
                        </executions>
2526
                    </plugin>
2527

    
2528
                </plugins>
2529
            </build>
2530
        </profile>
2531

    
2532
    </profiles>
2533

    
2534
    <properties>
2535
        <!-- General configuration -->
2536
        <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
2537
        <localRepository>${user.home}/.m2/repository</localRepository>
2538
        <site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository>
2539

    
2540
        <!-- The property svn.tags.folder is used in external projects to override  -->
2541
        <!-- configuraction in maven-release-plugin -->
2542
        <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-desktop/tags/</svn.tags.folder>
2543

    
2544
        <!-- Package info property values -->
2545
        <gvsig.version>2.4.0</gvsig.version>
2546
        <gvsig.package.info.codealias />
2547
        <gvsig.package.info.code>${project.artifactId}</gvsig.package.info.code>
2548
        <gvsig.package.info.name>${project.name}</gvsig.package.info.name>
2549
        <gvsig.package.info.description>${project.description}</gvsig.package.info.description>
2550
        <gvsig.package.info.version>${project.version}</gvsig.package.info.version>
2551
        <gvsig.package.info.state>testing</gvsig.package.info.state>
2552
        <gvsig.package.info.official>false</gvsig.package.info.official>
2553
        <gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem>
2554
        <gvsig.package.info.architecture>all</gvsig.package.info.architecture>
2555
        <gvsig.package.info.javaVM>j1_7</gvsig.package.info.javaVM>
2556
        <gvsig.package.info.gvSIGVersion>${gvsig.version}</gvsig.package.info.gvSIGVersion>
2557
        <gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin -ge 2.1.0</gvsig.package.info.dependencies>
2558
        <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
2559
        <gvsig.package.info.sourcesURL>${project.scm.connection}</gvsig.package.info.sourcesURL>
2560
        <gvsig.package.info.webURL>http://www.gvsig.com</gvsig.package.info.webURL>
2561
        <gvsig.package.info.categories />
2562
        <gvsig.package.info.poolURL>http://downloads.gvsig.org/download/gvsig-desktop/pool</gvsig.package.info.poolURL>
2563

    
2564
        <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
2565
        <gvsig.install.plugin>true</gvsig.install.plugin>
2566
        <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
2567
        <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
2568

    
2569
        <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
2570

    
2571
        <!-- artifactID implementations libraries for use in runtime and test dependencies -->
2572
        <org.gvsig.about.impl>org.gvsig.about.impl</org.gvsig.about.impl>
2573
        <org.gvsig.annotation.lib.impl>org.gvsig.annotation.lib.impl</org.gvsig.annotation.lib.impl>
2574
        <org.gvsig.annotation.swing.impl>org.gvsig.annotation.swing.impl</org.gvsig.annotation.swing.impl>
2575
        <org.gvsig.compat.impl>org.gvsig.compat.se</org.gvsig.compat.impl>
2576
        <org.gvsig.exportto.lib.impl>org.gvsig.exportto.lib.impl</org.gvsig.exportto.lib.impl>
2577
        <org.gvsig.exportto.swing.impl>org.gvsig.exportto.swing.impl</org.gvsig.exportto.swing.impl>
2578
        <org.gvsig.fmap.dal.impl>org.gvsig.fmap.dal.impl</org.gvsig.fmap.dal.impl>
2579
        <org.gvsig.fmap.dal.swing.impl>org.gvsig.fmap.dal.swing.impl</org.gvsig.fmap.dal.swing.impl>
2580
        <org.gvsig.fmap.geometry.impl>org.gvsig.fmap.geometry.jts</org.gvsig.fmap.geometry.impl>
2581
        <org.gvsig.fmap.geometry.operation.impl>org.gvsig.fmap.geometry.operation.jts</org.gvsig.fmap.geometry.operation.impl>
2582
        <org.gvsig.fmap.mapcontext.impl>org.gvsig.fmap.mapcontext.impl</org.gvsig.fmap.mapcontext.impl>
2583
        <org.gvsig.fmap.mapcontext.operation.impl>org.gvsig.fmap.mapcontext.operation</org.gvsig.fmap.mapcontext.operation.impl>
2584
        <org.gvsig.installer.lib.impl>org.gvsig.installer.lib.impl</org.gvsig.installer.lib.impl>
2585
        <org.gvsig.installer.swing.impl>org.gvsig.installer.swing.impl</org.gvsig.installer.swing.impl>
2586
        <org.gvsig.metadata.lib.basic.impl>org.gvsig.metadata.lib.basic.impl</org.gvsig.metadata.lib.basic.impl>
2587
        <org.gvsig.metadata.swing.basic.impl>org.gvsig.metadata.swing.basic.impl</org.gvsig.metadata.swing.basic.impl>
2588
        <org.gvsig.newlayer.lib.impl>org.gvsig.newlayer.lib.impl</org.gvsig.newlayer.lib.impl>
2589
        <org.gvsig.personaldb.lib.impl>org.gvsig.personaldb.lib.impl</org.gvsig.personaldb.lib.impl>
2590
        <org.gvsig.projection.impl>org.gvsig.projection.cresques.impl</org.gvsig.projection.impl>
2591
        <!--
2592
        <org.gvsig.projection.impl>org.gvsig.projection.jcrs</org.gvsig.projection.impl>
2593
        -->
2594
        <org.gvsig.proj.lib.impl>org.gvsig.proj.lib.proj4j</org.gvsig.proj.lib.impl>
2595
        <org.gvsig.proj.swing.impl>org.gvsig.proj.swing.impl</org.gvsig.proj.swing.impl>
2596
        <org.gvsig.symbology.lib.impl>org.gvsig.symbology.lib.impl</org.gvsig.symbology.lib.impl>
2597
        <org.gvsig.symbology.swing.impl>org.gvsig.symbology.swing.impl</org.gvsig.symbology.swing.impl>
2598
        <org.gvsig.timesupport.lib.impl>org.gvsig.timesupport.lib.impl</org.gvsig.timesupport.lib.impl>
2599
        <org.gvsig.timesupport.swing.impl>org.gvsig.timesupport.swing.impl</org.gvsig.timesupport.swing.impl>
2600
        <org.gvsig.tools.dynform.impl>org.gvsig.tools.dynform.impl</org.gvsig.tools.dynform.impl>
2601
        <org.gvsig.tools.dynform.services>org.gvsig.tools.dynform.services</org.gvsig.tools.dynform.services>
2602
        <org.gvsig.tools.swing.impl>org.gvsig.tools.swing.impl</org.gvsig.tools.swing.impl>
2603

    
2604
        <jython.artifactId>jython-standalone</jython.artifactId>
2605
        <!-- External project versions -->
2606
        <gvsig.tools.version>3.0.107</gvsig.tools.version>
2607
        <gvsig.proj.version>1.0.4</gvsig.proj.version>
2608
        <gvsig.projection.api.version>2.0.22</gvsig.projection.api.version>
2609

    
2610
    </properties>
2611

    
2612
    <modules>
2613
        <module>org.gvsig.desktop.compat.cdc</module>
2614
        <module>org.gvsig.desktop.library</module>
2615
        <module>org.gvsig.desktop.framework</module>
2616
        <module>org.gvsig.desktop.plugin</module>
2617

    
2618
        <!-- NOTE: Project  org.gvsig.desktop.installer must not be a sub module of this. -->
2619
        <!-- NOTE: Project  org.gvsig.desktop.buildtools must not be a sub module of this. -->
2620

    
2621
    </modules>
2622
</project>
2623