Statistics
| Revision:

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

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

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

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

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

    
44
    <scm>
45
        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/trunk/org.gvsig.desktop/</connection>
46
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/trunk/org.gvsig.desktop/</developerConnection>
47
        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/trunk//org.gvsig.desktop/</url>
48
    </scm>
49
    
50
    <repositories>
51
      <repository>
52
        <id>gvsig-public-http-repository</id>
53
        <name>gvSIG maven public HTTP repository</name>
54
        <url>http://devel.gvsig.org/m2repo/j2se</url>
55
        <releases>
56
          <enabled>true</enabled>
57
          <updatePolicy>daily</updatePolicy>
58
          <checksumPolicy>warn</checksumPolicy>
59
        </releases>
60
        <snapshots>
61
          <enabled>true</enabled>
62
          <updatePolicy>daily</updatePolicy>
63
          <checksumPolicy>warn</checksumPolicy>
64
        </snapshots>
65
      </repository>
66
    </repositories>
67

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

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

    
128
    <dependencyManagement>
129
        <dependencies>
130

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

    
136
            <dependency>
137
                <groupId>org.n52</groupId>
138
                <artifactId>52n-wps-config</artifactId>
139
                <version>1.0.1</version>
140
            </dependency>
141
            <dependency>
142
                <groupId>net.opengis</groupId>
143
                <artifactId>52n-wps-xml</artifactId>
144
                <version>1.0.0</version>
145
            </dependency>
146
            <dependency>
147
                <groupId>org.jzkit</groupId>
148
                <artifactId>a2j-runtime</artifactId>
149
                <version>2.0.9</version>
150
            </dependency>
151
            <dependency>
152
                <groupId>org.jzkit</groupId>
153
                <artifactId>a2j</artifactId>
154
                <version>2.0.9</version>
155
            </dependency>
156
            <dependency>
157
                <groupId>net.swing</groupId>
158
                <artifactId>amic-util</artifactId>
159
                <version>unknown</version>
160
            </dependency>
161
            <dependency>
162
                <groupId>org.apache.ant</groupId>
163
                <artifactId>ant</artifactId>
164
                <version>1.8.1</version>
165
            </dependency>
166
            <dependency>
167
                <groupId>org.apache.ant</groupId>
168
                <artifactId>ant-apache-oro</artifactId>
169
                <version>1.8.1</version>
170
            </dependency>
171
            <dependency>
172
                <groupId>ant-contrib</groupId>
173
                <artifactId>ant-contrib</artifactId>
174
                <version>1.0b3</version>
175
                <exclusions>
176
                    <exclusion>
177
                        <groupId>ant</groupId>
178
                        <artifactId>ant</artifactId>
179
                    </exclusion>
180
                </exclusions>
181
            </dependency>
182
            <dependency>
183
                <groupId>org.apache.ant</groupId>
184
                <artifactId>ant-launcher</artifactId>
185
                <version>1.8.1</version>
186
            </dependency>
187
            <dependency>
188
                <groupId>org.apache.ant</groupId>
189
                <artifactId>ant-nodeps</artifactId>
190
                <version>1.8.1</version>
191
            </dependency>
192
            <dependency>
193
                <groupId>org.tigris.antelope</groupId>
194
                <artifactId>antelopetasks</artifactId>
195
                <version>3.2.10</version>
196
            </dependency>
197
            <dependency>
198
                <groupId>com.sardak</groupId>
199
                <artifactId>antform</artifactId>
200
                <version>2.0</version>
201
            </dependency>
202
            <dependency>
203
                <groupId>org.apache.xmlgraphics</groupId>
204
                <artifactId>batik-awt-util</artifactId>
205
                <version>1.7</version>
206
            </dependency>
207
            <dependency>
208
                <groupId>org.apache.xmlgraphics</groupId>
209
                <artifactId>batik-bridge</artifactId>
210
                <version>1.7</version>
211
            </dependency>
212
            <dependency>
213
                <groupId>org.apache.xmlgraphics</groupId>
214
                <artifactId>batik-ext</artifactId>
215
                <version>1.7</version>
216
            </dependency>            
217
            <dependency>
218
                <groupId>org.apache.xmlgraphics</groupId>
219
                <artifactId>batik-gui-util</artifactId>
220
                <version>1.7</version>
221
            </dependency>
222
            <dependency>
223
                <groupId>org.apache.xmlgraphics</groupId>
224
                <artifactId>batik-gvt</artifactId>
225
                <version>1.7</version>
226
            </dependency>
227
            <dependency>
228
                <groupId>org.apache.xmlgraphics</groupId>
229
                <artifactId>batik-script</artifactId>
230
                <version>1.7</version>
231
            </dependency>
232
            <dependency>
233
                <groupId>org.apache.xmlgraphics</groupId>
234
                <artifactId>batik-xml</artifactId>
235
                <version>1.7</version>
236
            </dependency>
237
            <dependency>
238
                <groupId>org.apache.xmlgraphics</groupId>
239
                <artifactId>batik-anim</artifactId>
240
                <version>1.7</version>
241
            </dependency>
242
            <dependency>
243
                <groupId>org.apache.xmlgraphics</groupId>
244
                <artifactId>batik-css</artifactId>
245
                <version>1.7</version>
246
            </dependency>
247
            <dependency>
248
                <groupId>org.apache.xmlgraphics</groupId>
249
                <artifactId>batik-dom</artifactId>
250
                <version>1.7</version>
251
            </dependency>
252
            <dependency>
253
                <groupId>org.apache.xmlgraphics</groupId>
254
                <artifactId>batik-js</artifactId>
255
                <version>1.7</version>
256
            </dependency>
257
            <dependency>
258
                <groupId>org.apache.xmlgraphics</groupId>
259
                <artifactId>batik-parser</artifactId>
260
                <version>1.7</version>
261
            </dependency>
262
            <dependency>
263
                <groupId>org.apache.xmlgraphics</groupId>
264
                <artifactId>batik-svg-dom</artifactId>
265
                <version>1.7</version>
266
            </dependency>
267
            <dependency>
268
                <groupId>bsf</groupId>
269
                <artifactId>bsf</artifactId>
270
                <version>2.3.0-rc1</version>
271
            </dependency>
272
            <dependency>
273
                <groupId>org.apache.bsf</groupId>
274
                <artifactId>bsf-api</artifactId>
275
                <version>3.1</version>
276
            </dependency>
277
            <dependency>
278
                <groupId>org.apache.bsf</groupId>
279
                <artifactId>bsf-utils</artifactId>
280
                <version>3.1</version>
281
            </dependency>
282
            <dependency>
283
                <groupId>bsh</groupId>
284
                <artifactId>bsh</artifactId>
285
                <version>2.0b4</version>
286
            </dependency>
287
            <dependency>
288
                <groupId>castor</groupId>
289
                <artifactId>castor</artifactId>
290
                <version>0.9.5.3</version>
291
            </dependency>
292
            <dependency>
293
                <groupId>commons-beanutils</groupId>
294
                <artifactId>commons-beanutils</artifactId>
295
                <version>1.6</version>
296
            </dependency>
297
            <dependency>
298
                <groupId>commons-dbcp</groupId>
299
                <artifactId>commons-dbcp</artifactId>
300
                <version>1.2.2</version>
301
            </dependency>
302
            <dependency>
303
              <groupId>commons-codec</groupId>
304
              <artifactId>commons-codec</artifactId>
305
              <version>1.6</version>
306
            </dependency>
307
            <dependency>
308
                <groupId>commons-collections</groupId>
309
                <artifactId>commons-collections</artifactId>
310
                <version>3.2.1</version>
311
            </dependency>
312
                        <dependency>
313
                          <groupId>org.apache.solr</groupId>
314
                          <artifactId>solr-commons-csv</artifactId>
315
                          <version>3.5.0</version>
316
                        </dependency>           
317
            <dependency>
318
                <groupId>commons-httpclient</groupId>
319
                <artifactId>commons-httpclient</artifactId>
320
                <version>2.0.2</version>
321
            </dependency>
322
            <dependency>
323
              <groupId>commons-cli</groupId>
324
              <artifactId>commons-cli</artifactId>
325
              <version>1.2</version>
326
            </dependency>
327
            <dependency>
328
                <groupId>commons-io</groupId>
329
                <artifactId>commons-io</artifactId>
330
                <version>2.4</version>
331
            </dependency>
332
            <dependency>
333
                <groupId>commons-logging</groupId>
334
                <artifactId>commons-logging</artifactId>
335
                <version>1.1.1</version>
336
            </dependency>
337
            <dependency>
338
                <groupId>commons-logging</groupId>
339
                <artifactId>commons-logging</artifactId>
340
                <version>1.1.1</version>
341
                <classifier>api</classifier>
342
            </dependency>
343
            <dependency>
344
              <groupId>commons-pool</groupId>
345
              <artifactId>commons-pool</artifactId>
346
              <version>1.6</version>
347
            </dependency>            
348
            <dependency>
349
                <groupId>org.dspace</groupId>
350
                <artifactId>cql-java</artifactId>
351
                <version>1.0</version>
352
            </dependency>
353
            <dependency>
354
              <groupId>easymock</groupId>
355
              <artifactId>easymock</artifactId>
356
              <version>1.2_Java1.3</version>
357
            </dependency>
358
            <dependency>
359
              <groupId>easymock</groupId>
360
              <artifactId>easymockclassextension</artifactId>
361
              <version>1.2</version>
362
            </dependency>
363
            <dependency>
364
                <groupId>flanagan</groupId>
365
                <artifactId>flanagan</artifactId>
366
                <version>20090616</version>
367
            </dependency>
368
            <dependency>
369
                <groupId>net.sf</groupId>
370
                <artifactId>flib-jcalendar</artifactId>
371
                <version>unknown</version>
372
            </dependency>
373
            <dependency>
374
                <groupId>org.opengis</groupId>
375
                <artifactId>geoapi</artifactId>
376
                <version>2.0</version>
377
            </dependency>
378
            <dependency>
379
                <groupId>geojava</groupId>
380
                <artifactId>geojava</artifactId>
381
                <version>unknown</version>
382
            </dependency>
383
            <dependency>
384
                <groupId>org.geonames</groupId>
385
                <artifactId>geonames</artifactId>
386
                <version>1.0</version>
387
                <classifier>java5</classifier>
388
            </dependency>
389
            <dependency>
390
                <groupId>org.codehaus.groovy</groupId>
391
                <artifactId>groovy-all</artifactId>
392
                <version>1.7.6</version>
393
            </dependency>
394
           <dependency>
395
                <groupId>org.geotools</groupId>
396
                <artifactId>gt2-legacy</artifactId>
397
                <version>2.2-RC2</version>
398
            </dependency>
399
            <dependency>
400
                <groupId>org.geotools</groupId>
401
                <artifactId>gt2-main</artifactId>
402
                <version>2.2.2</version>
403
            </dependency>
404
            <dependency>
405
                <groupId>org.geotools</groupId>
406
                <artifactId>gt2-referencing</artifactId>
407
                <version>2.2-RC2</version>
408
            </dependency>
409
            <dependency>
410
                <groupId>hsqldb</groupId>
411
                <artifactId>hsqldb</artifactId>
412
                <version>1.8.0.10</version>
413
            </dependency>
414
            <dependency>
415
                <groupId>com.h2database</groupId>
416
                <artifactId>h2</artifactId>
417
                <version>1.3.150</version>
418
            </dependency>
419
            <dependency>
420
                <groupId>org.ini4j</groupId>
421
                <artifactId>ini4j</artifactId>
422
                <version>0.5.1</version>
423
            </dependency>
424
            <dependency>
425
                <groupId>com.lowagie</groupId>
426
                <artifactId>itext</artifactId>
427
                <version>2.1.4</version>
428
            </dependency>
429
            <dependency>
430
                <groupId>javax.media</groupId>
431
                <artifactId>jai_core</artifactId>
432
                <version>1.1.3</version>
433
            </dependency>
434
            <dependency>
435
                <groupId>javax.media</groupId>
436
                <artifactId>jai_codec</artifactId>
437
                <version>1.1.3</version>
438
            </dependency>
439
            <dependency>
440
                <groupId>gov.nist.math</groupId>
441
                <artifactId>jama</artifactId>
442
                <version>unknown</version>
443
            </dependency>
444
            <dependency>
445
                <groupId>javax.help</groupId>
446
                <artifactId>javahelp</artifactId>
447
                <version>2.0.05</version>
448
            </dependency>
449
            <dependency>
450
                <groupId>com.toedter</groupId>
451
                <artifactId>jcalendar</artifactId>
452
                <version>1.1.4</version>
453
            </dependency>
454
            <dependency>
455
                <groupId>jfree</groupId>
456
                <artifactId>jcommon</artifactId>
457
                <version>1.0.12</version>
458
            </dependency>
459
            <dependency>
460
                <groupId>jdom</groupId>
461
                <artifactId>jdom</artifactId>
462
                <version>1.0</version>
463
            </dependency>
464
            <dependency>
465
                <groupId>org.nfunk</groupId>
466
                <artifactId>jep</artifactId>
467
                <version>2.4.0</version>
468
            </dependency>
469
            <dependency>
470
                <groupId>jfree</groupId>
471
                <artifactId>jfreechart</artifactId>
472
                <version>1.0.7</version>
473
            </dependency>
474
            <dependency>
475
                <groupId>org.jfree</groupId>
476
                <artifactId>jfreechart</artifactId>
477
                <version>1.0.14</version>
478
            </dependency>
479
            <dependency>
480
                <groupId>org.jgraf</groupId>
481
                <artifactId>jgraf</artifactId>
482
                <version>0.0.1</version>
483
            </dependency>
484
            <dependency>
485
                <groupId>net.sf</groupId>
486
                <artifactId>jgraph</artifactId>
487
                <version>5.10.1.5</version>
488
            </dependency>
489
            <dependency>
490
                <groupId>net.sf</groupId>
491
                <artifactId>jgridshiftapi</artifactId>
492
                <version>1.0</version>
493
            </dependency>
494
            <dependency>
495
                <groupId>com.sun</groupId>
496
                <artifactId>jimi</artifactId>
497
                <version>1.1</version>
498
            </dependency>
499
            <dependency>
500
                <groupId>org.jpedal</groupId>
501
                <artifactId>jpedal_lgpl</artifactId>
502
                <version>4.37b36</version>
503
            </dependency>
504
            <dependency>
505
                <groupId>org.jruby</groupId>
506
                <artifactId>jruby</artifactId>
507
                <version>1.5.6</version>
508
            </dependency>
509
            <dependency>
510
                <groupId>rhino</groupId>
511
                <artifactId>js</artifactId>
512
                <!-- This is the version already included in Java 1.6 -->
513
                <version>1.6R2</version>
514
            </dependency>
515
            <dependency>
516
                <groupId>net.sf</groupId>
517
                <artifactId>jsi</artifactId>
518
                <version>unknown</version>
519
            </dependency>
520
            <dependency>
521
                <groupId>javax.units</groupId>
522
                <artifactId>jsr108</artifactId>
523
                <version>0.01</version>
524
            </dependency>
525
            <dependency>
526
                <groupId>com.vividsolutions</groupId>
527
                <artifactId>jts</artifactId>
528
                <version>1.13</version>
529
            </dependency>
530
            <dependency>
531
                <groupId>junit</groupId>
532
                <artifactId>junit</artifactId>
533
                <version>3.8.1</version>
534
            </dependency>
535
            <dependency>
536
                <groupId>jwizardcomponent</groupId>
537
                <artifactId>jwizardcomponent</artifactId>
538
                <version>1.2.2</version>
539
            </dependency>
540
            <dependency>
541
                <groupId>jwizardcomponent</groupId>
542
                <artifactId>jwizardcomponent-0i18n</artifactId>
543
                <version>1.2.2.1</version>
544
            </dependency>
545
            <dependency>
546
                <groupId>org.python</groupId>
547
                <artifactId>jython</artifactId>
548
                <version>2.5.2</version>
549
            </dependency>
550
            <dependency>
551
                <groupId>org.jzkit</groupId>
552
                <artifactId>jzkit2-core</artifactId>
553
                <version>2.0.0</version>
554
            </dependency>
555
            <dependency>
556
                <groupId>org.jzkit</groupId>
557
                <artifactId>jzkit2-z3950</artifactId>
558
                <version>2.0.0</version>
559
            </dependency>
560
            <dependency>
561
                <groupId>org.jzkit</groupId>
562
                <artifactId>jzkit2-origin</artifactId>
563
                <version>2.0.0</version>
564
            </dependency>
565
            <dependency>
566
                <groupId>net.sf.kxml</groupId>
567
                <artifactId>kxml2</artifactId>
568
                <version>2.2.2</version>
569
            </dependency>
570
            <dependency>
571
                <groupId>log4j</groupId>
572
                <artifactId>log4j</artifactId>
573
                <version>1.2.14</version>
574
            </dependency>
575
            
576
                <dependency>
577
                        <groupId>com.jgoodies</groupId>
578
                        <artifactId>jgoodies-common</artifactId>
579
                        <version>1.4.0</version>
580
                </dependency>
581
                <dependency>
582
                        <groupId>com.jgoodies</groupId>
583
                        <artifactId>jgoodies-forms</artifactId>
584
                        <version>1.6.0</version>
585
                </dependency>
586
                <dependency>
587
                        <groupId>com.jgoodies</groupId>
588
                        <artifactId>looks</artifactId>
589
                        <version>2.2.2</version>
590
                </dependency>
591

    
592
            
593
            <dependency>
594
                <groupId>com.ostermiller</groupId>
595
                <artifactId>ostermillerutils</artifactId>
596
                <version>1.4.3</version>
597
            </dependency>
598
            <dependency>
599
                <groupId>mysql</groupId>
600
                <artifactId>mysql-connector-java</artifactId>
601
                <version>5.1.6</version>
602
            </dependency>
603
            <dependency>
604
              <groupId>postgresql</groupId>
605
              <artifactId>postgresql</artifactId>
606
              <version>9.1-901.jdbc3</version>
607
            </dependency>
608
            <dependency>
609
                <groupId>es.unex</groupId>
610
                <artifactId>sextante</artifactId>
611
                <version>0.6.0</version>
612
            </dependency>
613
            <dependency>
614
                <groupId>es.unex</groupId>
615
                <artifactId>sextante_gui</artifactId>
616
                <version>0.6.0</version>
617
            </dependency>
618
            <dependency>
619
                <groupId>es.unex</groupId>
620
                <artifactId>sextante_wps</artifactId>
621
                <version>0.6.0</version>
622
            </dependency>
623
            <dependency>
624
                <groupId>es.unex</groupId>
625
                <artifactId>libMath</artifactId>
626
                <version>0.6.0</version>
627
            </dependency>
628
            <dependency>
629
                <groupId>es.unex</groupId>
630
                <artifactId>libDocEngines</artifactId>
631
                <version>0.6.0</version>
632
            </dependency>
633
            <dependency>
634
              <groupId>org.apache.directory.studio</groupId>
635
              <artifactId>org.apache.commons.pool</artifactId>
636
              <version>1.6</version>
637
            </dependency>            
638
            <dependency>
639
              <groupId>org.osgeo</groupId>
640
              <artifactId>proj4j</artifactId>
641
              <version>0.1.0</version>
642
            </dependency>            
643
            <dependency>
644
                <groupId>sil</groupId>
645
                <artifactId>sil</artifactId>
646
                <version>0.43b-am1</version>
647
            </dependency>
648
            <dependency>
649
                <groupId>org.slf4j</groupId>
650
                <artifactId>slf4j-api</artifactId>
651
                <version>1.5.5</version>
652
            </dependency>
653
            <dependency>
654
                <groupId>org.slf4j</groupId>
655
                <artifactId>slf4j-log4j12</artifactId>
656
                <version>1.5.5</version>
657
            </dependency>
658
            <dependency>
659
                <groupId>net.sf.smc</groupId>
660
                <artifactId>smc</artifactId>
661
                <version>4.3</version>
662
            </dependency>
663
            <dependency>
664
                <groupId>soap</groupId>
665
                <artifactId>soap</artifactId>
666
                <version>2.3</version>
667
            </dependency>
668
            <dependency>
669
                <groupId>spatialindex</groupId>
670
                <artifactId>spatialindex</artifactId>
671
                <version>unknown</version>
672
            </dependency>
673
            <dependency>
674
                <groupId>org.springframework</groupId>
675
                <artifactId>spring</artifactId>
676
                <version>1.2.8</version>
677
            </dependency>
678
            <dependency>
679
                <groupId>net.sf</groupId>
680
                <artifactId>sqljep</artifactId>
681
                <version>0.2.1</version>
682
            </dependency>
683
            <dependency>
684
                <groupId>org.tmatesoft.svnkit</groupId>
685
                <artifactId>svnkit</artifactId>
686
                <version>1.3.3</version>
687
            </dependency>
688
            <dependency>
689
                <groupId>org.tmatesoft.svnkit</groupId>
690
                <artifactId>svnkit-cli</artifactId>
691
                <version>1.3.3</version>
692
            </dependency>
693
            <dependency>
694
                <groupId>tablelayout</groupId>
695
                <artifactId>TableLayout</artifactId>
696
                <version>20050920</version>
697
            </dependency>
698
            <dependency>
699
                <groupId>info.clearthought</groupId>
700
                <artifactId>TableLayout-bin-jdk1.5</artifactId>
701
                <version>2007-04-21</version>
702
            </dependency>
703
            <dependency>
704
                <groupId>net.sourceforge.thinlet</groupId>
705
                <artifactId>thinlet</artifactId>
706
                <version>2005-03-28</version>
707
            </dependency>
708
            <dependency>
709
                <groupId>gnu.trove</groupId>
710
                <artifactId>trove</artifactId>
711
                <version>0.1.8</version>
712
            </dependency>
713
            <dependency>
714
                <groupId>java3d</groupId>
715
                <artifactId>vecmath</artifactId>
716
                <version>1.3.1</version>
717
            </dependency>
718
            <dependency>
719
                <groupId>org.apache</groupId>
720
                <artifactId>xbean</artifactId>
721
                <version>2.2.0</version>
722
            </dependency>
723
            <dependency>
724
                <groupId>xerces</groupId>
725
                <artifactId>xercesImpl</artifactId>
726
                <version>2.5.0</version>
727
            </dependency>
728
            <dependency>
729
                <groupId>xml-apis</groupId>
730
                <artifactId>xml-apis-ext</artifactId>
731
                <version>1.3.04</version>
732
            </dependency>
733
            <dependency>
734
                <groupId>xmlpull</groupId>
735
                <artifactId>xmlpull</artifactId>
736
                <version>1.1.3.1</version>
737
            </dependency>
738
            <dependency>
739
                <groupId>zql</groupId>
740
                <artifactId>zql</artifactId>
741
                <version>unknown</version>
742
            </dependency>
743
            <dependency>
744
                <groupId>joda-time</groupId>
745
                <artifactId>joda-time</artifactId>
746
                <version>1.6</version>
747
            </dependency>
748

    
749

    
750
            <!-- External gvSIG projects -->
751

    
752
            <dependency>
753
              <groupId>org.gvsig</groupId>
754
              <artifactId>org.gvsig.jdk.v1_6</artifactId>
755
              <version>1.0.0</version>
756
            </dependency>
757
            <dependency>
758
              <groupId>org.gvsig</groupId>
759
              <artifactId>org.gvsig.jdk.v1_4</artifactId>
760
              <version>1.0.0</version>
761
            </dependency>
762
            <dependency>
763
                <groupId>org.gvsig</groupId>
764
                <artifactId>org.gvsig.tools.lib</artifactId>
765
                <version>${gvsig.tools.version}</version>
766
            </dependency>
767
            <dependency>
768
                <groupId>org.gvsig</groupId>
769
                <artifactId>org.gvsig.tools.lib</artifactId>
770
                <version>${gvsig.tools.version}</version>
771
                <type>test-jar</type>
772
            </dependency>
773
            <dependency>
774
                <groupId>org.gvsig</groupId>
775
                <artifactId>org.gvsig.tools.swing.api</artifactId>
776
                <version>${gvsig.tools.version}</version>
777
            </dependency>
778
            <dependency>
779
                <groupId>org.gvsig</groupId>
780
                <artifactId>org.gvsig.tools.swing.impl</artifactId>
781
                <version>${gvsig.tools.version}</version>
782
            </dependency>
783
            <dependency>
784
                <groupId>org.gvsig</groupId>
785
                <artifactId>org.gvsig.tools.swing.spi</artifactId>
786
                <version>${gvsig.tools.version}</version>
787
            </dependency>
788
            <dependency>
789
                <groupId>org.gvsig</groupId>
790
                <artifactId>org.gvsig.tools.swing.serv.field</artifactId>
791
                <version>${gvsig.tools.version}</version>
792
            </dependency>
793
            <dependency>
794
                <groupId>org.gvsig</groupId>
795
                <artifactId>org.gvsig.tools.swing.serv.jlist</artifactId>
796
                <version>${gvsig.tools.version}</version>
797
            </dependency>
798
            <dependency>
799
                <groupId>org.gvsig</groupId>
800
                <artifactId>org.gvsig.tools.swing.serv.jform</artifactId>
801
                <version>${gvsig.tools.version}</version>
802
            </dependency>
803
            
804
            <dependency>
805
                <groupId>org.gvsig</groupId>
806
                <artifactId>org.gvsig.tools.dynform.api</artifactId>
807
                <version>${gvsig.tools.version}</version>
808
            </dependency>
809
            <dependency>
810
                <groupId>org.gvsig</groupId>
811
                <artifactId>org.gvsig.tools.dynform.spi</artifactId>
812
                <version>${gvsig.tools.version}</version>
813
            </dependency>
814
            <dependency>
815
                <groupId>org.gvsig</groupId>
816
                <artifactId>org.gvsig.tools.dynform.services</artifactId>
817
                <version>${gvsig.tools.version}</version>
818
            </dependency>
819
            <dependency>
820
                <groupId>org.gvsig</groupId>
821
                <artifactId>org.gvsig.tools.dynform.impl</artifactId>
822
                <version>${gvsig.tools.version}</version>
823
            </dependency>
824
            
825
            <dependency>
826
                <groupId>org.gvsig</groupId>
827
                <artifactId>org.gvsig.about.api</artifactId>
828
                <version>${gvsig.about.version}</version>
829
            </dependency>
830
            <dependency>
831
                <groupId>org.gvsig</groupId>
832
                <artifactId>org.gvsig.about.impl</artifactId>
833
                <version>${gvsig.about.version}</version>
834
            </dependency>
835
            <dependency>
836
                <groupId>org.gvsig</groupId>
837
                <artifactId>org.gvsig.catalog</artifactId>
838
                <version>2.0</version>
839
            </dependency>
840
           <dependency>
841
                <groupId>org.gvsig</groupId>
842
                <artifactId>org.gvsig.timesupport.lib.api</artifactId>
843
                <version>${gvsig.timesupport.version}</version>
844
            </dependency>
845
            <dependency>
846
                <groupId>org.gvsig</groupId>
847
                <artifactId>org.gvsig.timesupport.lib.impl</artifactId>
848
                <version>${gvsig.timesupport.version}</version>
849
            </dependency>
850
            <dependency>
851
                <groupId>org.gvsig</groupId>
852
                <artifactId>org.gvsig.timesupport.swing.api</artifactId>
853
                <version>${gvsig.timesupport.version}</version>
854
            </dependency>
855
            <dependency>
856
                <groupId>org.gvsig</groupId>
857
                <artifactId>org.gvsig.timesupport.swing.impl</artifactId>
858
                <version>${gvsig.timesupport.version}</version>
859
            </dependency>
860
            <dependency>
861
              <groupId>org.gvsig.external</groupId>
862
              <artifactId>org.gvsig.external.jump</artifactId>
863
              <version>1.0.0</version>
864
            </dependency>
865
            <dependency>
866
                <groupId>org.gvsig</groupId>
867
                <artifactId>org.gvsig.proj.lib.api</artifactId>
868
                <version>${gvsig.proj.version}</version>
869
            </dependency>
870
            <dependency>
871
                <groupId>org.gvsig</groupId>
872
                <artifactId>org.gvsig.proj.lib.proj4j</artifactId>
873
                <version>${gvsig.proj.version}</version>
874
            </dependency>
875
            <dependency>
876
              <groupId>org.gvsig</groupId>
877
              <artifactId>org.gvsig.proj.swing.api</artifactId>
878
              <version>${gvsig.proj.version}</version>
879
            </dependency>
880
            <dependency>
881
              <groupId>org.gvsig</groupId>
882
              <artifactId>org.gvsig.proj.swing.impl</artifactId>
883
              <version>${gvsig.proj.version}</version>
884
            </dependency>            
885
            <dependency>
886
              <groupId>org.gvsig</groupId>
887
              <artifactId>org.gvsig.projection.api</artifactId>
888
              <version>${gvsig.projection.api.version}</version>
889
            </dependency>
890

    
891
            <!-- Childs projects -->
892

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

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

    
1251
            <dependency>
1252
              <groupId>org.gvsig</groupId>
1253
              <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
1254
              <version>2.0.22-SNAPSHOT</version>
1255
            </dependency>  
1256
            <dependency>
1257
              <groupId>org.gvsig</groupId>
1258
              <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1259
              <version>2.0.22-SNAPSHOT</version>
1260
            </dependency>  
1261
            <dependency>
1262
              <groupId>org.gvsig</groupId>
1263
              <artifactId>org.gvsig.daltransform.app.mainplugin</artifactId>
1264
              <version>2.0.22-SNAPSHOT</version>
1265
              <type>test-jar</type>
1266
              <scope>test</scope>
1267
            </dependency>  
1268

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

    
1362
        </dependencies>
1363
    </dependencyManagement>
1364

    
1365
    <dependencies>
1366
      <dependency>
1367
          <groupId>junit</groupId>
1368
          <artifactId>junit</artifactId>
1369
          <scope>test</scope>
1370
      </dependency>
1371
    </dependencies>
1372

    
1373
    <build>
1374
      <extensions>
1375
        <extension>
1376
          <groupId>org.apache.maven.wagon</groupId>
1377
          <artifactId>wagon-webdav-jackrabbit</artifactId>
1378
          <version>2.4</version>
1379
        </extension>
1380
      </extensions>
1381

    
1382
      <pluginManagement>
1383
        <plugins>
1384

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

    
1454
          <plugin>
1455
              <groupId>org.apache.maven.plugins</groupId>
1456
              <artifactId>maven-compiler-plugin</artifactId>
1457
              <version>2.3.2</version>
1458
              <configuration>
1459
                  <source>1.5</source>
1460
                  <target>1.5</target>
1461
                  <encoding>ISO-8859-1</encoding>
1462
              </configuration>
1463
          </plugin>
1464

    
1465
          <plugin>
1466
              <groupId>org.apache.maven.plugins</groupId>
1467
              <artifactId>maven-resources-plugin</artifactId>
1468
              <version>2.4.3</version>
1469
              <configuration>
1470
                  <encoding>ISO-8859-1</encoding>
1471
              </configuration>
1472
          </plugin>
1473

    
1474
          <plugin>
1475
              <groupId>org.apache.maven.plugins</groupId>
1476
              <artifactId>maven-eclipse-plugin</artifactId>
1477
              <configuration>
1478
                  <downloadSources>true</downloadSources>
1479
                  <downloadJavadocs>true</downloadJavadocs>
1480
                  <projectNameTemplate>${project.artifactId}</projectNameTemplate>
1481
              </configuration>
1482
          </plugin>
1483

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

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

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

    
1563
          <plugin>
1564
              <groupId>org.apache.maven.plugins</groupId>
1565
              <artifactId>maven-site-plugin</artifactId>
1566
              <version>3.3</version>
1567
              <configuration>
1568
                  <chmod>true</chmod>
1569
                  <chmodMode>a+rwX</chmodMode>
1570
              </configuration>
1571
          </plugin>
1572

    
1573
          <plugin>
1574
              <groupId>org.apache.maven.plugins</groupId>
1575
              <artifactId>maven-jar-plugin</artifactId>
1576
              <version>2.3.1</version>
1577
              <configuration>
1578
                  <archive>
1579
                      <manifestEntries>
1580
                          <Built-By>gvSIG Team</Built-By>
1581
                      </manifestEntries>
1582
                  </archive>
1583
              </configuration>
1584
          </plugin>
1585
          
1586
          <plugin>
1587
            <groupId>org.codehaus.mojo</groupId>
1588
            <artifactId>properties-maven-plugin</artifactId>
1589
            <version>1.0-alpha-2</version>
1590
          </plugin>
1591
  
1592
          <plugin>
1593
            <groupId>org.apache.maven.plugins</groupId>
1594
            <artifactId>maven-antrun-plugin</artifactId>
1595
            <version>1.7</version>
1596
          </plugin>
1597

    
1598
          <plugin>
1599
            <groupId>org.codehaus.mojo</groupId>
1600
            <artifactId>animal-sniffer-maven-plugin</artifactId>
1601
            <version>1.9</version>
1602
          </plugin>
1603

    
1604
          <plugin>
1605
              <groupId>org.apache.maven.plugins</groupId>
1606
              <artifactId>maven-release-plugin</artifactId>
1607
              <version>2.4.1</version>
1608
          </plugin>
1609

    
1610
          <plugin>
1611
              <groupId>org.apache.maven.plugins</groupId>
1612
              <artifactId>maven-deploy-plugin</artifactId>
1613
              <version>2.6</version>
1614
          </plugin>
1615

    
1616
          <plugin>
1617
              <artifactId>maven-assembly-plugin</artifactId>
1618
              <version>2.4</version>
1619
              <executions>
1620
                <execution>
1621
                  <id>gvsig-plugin-package</id>
1622
                  <phase>package</phase>
1623
                  <configuration>
1624
                    <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
1625
                    <appendAssemblyId>false</appendAssemblyId>
1626
                    <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>
1627
                    <descriptors>
1628
                      <descriptor>src/main/assembly/gvsig-plugin-package.xml</descriptor>
1629
                    </descriptors>
1630
                  </configuration>
1631
                </execution>
1632
              </executions>
1633
          </plugin>
1634

    
1635
          <plugin>
1636
            <groupId>org.apache.maven.plugins</groupId>
1637
            <artifactId>maven-clean-plugin</artifactId>
1638
            <version>2.4.1</version>
1639
          </plugin>
1640
          
1641
          <plugin>
1642
              <groupId>org.codehaus.mojo</groupId>
1643
              <artifactId>exec-maven-plugin</artifactId>
1644
              <version>1.2</version>
1645
          </plugin>    
1646

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

    
1682
          <!-- Habria que ver si es posible sustituir el plugin -->
1683
          <!-- com.mycila.maven-license-plugin:maven-license-plugin por este -->
1684
          <!-- Ver http://mojo.codehaus.org/license-maven-plugin/index.html -->
1685
          <!--
1686
          <plugin>
1687
              <groupId>org.codehaus.mojo</groupId>
1688
              <artifactId>license-maven-plugin</artifactId>
1689
              <version>1.5</version>
1690
          </plugin>
1691
          -->
1692

    
1693
          <plugin>
1694
            <groupId>org.apache.maven.plugins</groupId>
1695
            <artifactId>maven-checkstyle-plugin</artifactId>
1696
            <version>2.10</version>
1697
          </plugin>
1698

    
1699
          <plugin>
1700
              <groupId>org.apache.maven.plugins</groupId>
1701
              <artifactId>maven-source-plugin</artifactId>
1702
              <version>2.2.1</version>
1703
          </plugin>
1704

    
1705
          <plugin>
1706
            <groupId>org.codehaus.gmaven</groupId>
1707
            <artifactId>gmaven-plugin</artifactId>
1708
            <version>1.4</version>
1709
            <dependencies>
1710
                                <dependency>
1711
                                  <groupId>com.github.lookfirst</groupId>
1712
                                  <artifactId>sardine</artifactId>
1713
                                  <version>5.0.1</version>
1714
                                </dependency>
1715
            </dependencies>
1716
            <executions>
1717

    
1718
              <execution>
1719
                <id>increase-build-number</id>
1720
                <phase>process-sources</phase>
1721
                <configuration>
1722
                  <source><![CDATA[
1723
                    // use "mvn -Dincrease-build-number process-sources"
1724
                    log.info("Grrovy version "+GroovySystem.getVersion()); 
1725
                    if( project.properties["increase-build-number"] == null ) {
1726
                      log.info("Don't increment build number use flag '-Dincrease-build-number' to increment it.")
1727
                    } else {
1728
                      File file = new File(project.basedir,"buildNumber.properties")
1729
                      if( ! file.exists() ) {
1730
                          log.info("Skip increment build number (buildNumber.property not present).")
1731
                        } else {
1732
                        Properties props = new Properties()
1733
                        
1734
                        props.load(file.newDataInputStream())
1735
                        value = (props.getProperty("buildNumber") as int) + 1
1736
                        props.setProperty("buildNumber",value as String)
1737
                        props.store(file.newWriter(), null)
1738
                        log.info("Setting build number to " + value)
1739
                      }
1740
                    }
1741
                  ]]></source>
1742
                </configuration>
1743
              </execution>
1744

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

    
1781
                        props.store(package_info_file.newWriter(), null)
1782

    
1783
                        pkgname = "gvSIG-desktop-" + 
1784
                          project.properties["gvsig.package.info.gvSIGVersion"] + "-" + 
1785
                          project.properties["gvsig.package.info.code"] + "-" + 
1786
                          project.properties["gvsig.package.info.version"] + "-" + 
1787
                          project.properties["buildNumber"] + "-" + 
1788
                          project.properties["gvsig.package.info.state"] + "-" + 
1789
                          project.properties["gvsig.package.info.operatingSystem"] + "-" + 
1790
                          project.properties["gvsig.package.info.architecture"] + "-" + 
1791
                          project.properties["gvsig.package.info.javaVM"]
1792
                        package_info_file  = new File(project.basedir, "target/gvspki/"+project.properties["gvsig.package.info.code"]+"/package.info")
1793
                        log.info("Building package.info index " + package_info_file.getAbsolutePath())
1794
                        package_info_file.getParentFile().mkdirs()
1795
                        props.setProperty('download-url', 
1796
                          poolURL +
1797
                          project.properties["gvsig.package.info.code"] + "/" +
1798
                          pkgname + ".gvspkg"
1799
                        )
1800
                        props.store(package_info_file.newWriter(), null)
1801
                      }
1802
                  ]]></source>
1803
                </configuration>
1804
              </execution>
1805

    
1806
              <execution>
1807
                <id>build-package-index</id>
1808
                <phase>package</phase>
1809
                <configuration>
1810
                  <source><![CDATA[
1811
                    ant = new AntBuilder()
1812
                    if( project.properties["buildNumber"] == null) {
1813
                      log.info("Skip building package index (buildNumber.property not present).")
1814
                    } else {
1815
                      pkgname = "gvSIG-desktop-" + 
1816
                        project.properties["gvsig.package.info.gvSIGVersion"] + "-" + 
1817
                        project.properties["gvsig.package.info.code"] + "-" + 
1818
                        project.properties["gvsig.package.info.version"] + "-" + 
1819
                        project.properties["buildNumber"] + "-" + 
1820
                        project.properties["gvsig.package.info.state"] + "-" + 
1821
                        project.properties["gvsig.package.info.operatingSystem"] + "-" + 
1822
                        project.properties["gvsig.package.info.architecture"] + "-" + 
1823
                        project.properties["gvsig.package.info.javaVM"]
1824

    
1825
                      log.info("Building package index " + pkgname + ".gvspki")
1826
                      package_index_source  = project.basedir.getAbsolutePath() + "/target/gvspki"
1827
                      package_index_target  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1828
                      ant.zip(destfile: package_index_target, basedir: package_index_source)
1829
                    }
1830
                  ]]></source>
1831
                </configuration>
1832
              </execution>
1833

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

    
1853
                      log.debug("gvsig.install.plugin=" + project.properties["gvsig.install.plugin"])
1854
                      log.debug("gvsig.install.plugin.package=" + project.properties["gvsig.install.plugin.package"])
1855
                                          if( project.properties["gvsig.install.plugin"]=="true" ) {
1856
                              source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1857
                              target = project.properties["gvsig.product.folder.path"] + "/gvSIG/extensiones/"
1858
        
1859
                              log.info("Install plugin to " + target)
1860
                              ant.unzip(src: source, dest: target)
1861
                      } else {
1862
                          log.info("Skip plugin install.")
1863
                      }
1864
                      if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1865
                          source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
1866
                              target = new File(project.properties["gvsig.product.folder.path"] + 
1867
                                "/install/" + 
1868
                                project.properties["gvsig.package.info.code"] + "/" +
1869
                                pkgname + ".gvspkg")
1870
                              target.getParentFile().mkdirs()
1871
        
1872
                              log.info("Copy plugin package from " + source + " to " + target)
1873
                              ant.copy(file:source, tofile:target.getAbsolutePath())
1874
        
1875
                              source  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
1876
                              target = project.properties["gvsig.product.folder.path"] + 
1877
                                "/install/" + 
1878
                                project.properties["gvsig.package.info.code"] + "/" +
1879
                                pkgname + ".gvspki"
1880
                              log.info("Copy plugin package index from " + source + " to " + target)
1881
                              ant.copy(file:source, tofile:target)
1882
                      } else {
1883
                          log.info("Skip plugin package install.")
1884
                                          }
1885
                    }
1886
                  ]]></source>
1887
                </configuration>
1888
              </execution>
1889

    
1890
              <execution>
1891
                <id>deploy-package</id>
1892
                <phase>install</phase>
1893
                <configuration>
1894
                  <source><![CDATA[
1895
// To deploy package use:
1896
//    mvn -Ddeploy-package -Duser=USER -Dpassword=PASSWORD install
1897
//      
1898
                  
1899
public class WebDAVClient {
1900

    
1901
    def log;
1902

    
1903
        private String user;
1904
        private String password;
1905
        private Object sardine;
1906
            
1907
    public WebDAVClient(log) {
1908
            this.log = log;
1909
    }
1910
    
1911
        public void login(String user, String password) {
1912
                log.info("[WEBDAV] login as '"+user+"'.");
1913
                def SardineFactory
1914
                try {
1915
                    SardineFactory = "com.github.sardine.SardineFactory" as Class
1916
                } catch (Exception ex) {
1917
                        log.error("[WEBDAV] can't get SardineFactory.",ex);
1918
                }
1919
                this.user = user;
1920
                this.password = password;
1921
                this.sardine = SardineFactory.begin(this.user,this.password);
1922
        }
1923
        
1924
        public void login() {
1925
                log.info("[WEBDAV] login as guest");
1926
                this.sardine = SardineFactory.begin();
1927
        }
1928
        
1929
        public boolean exists(String url) throws Exception {
1930
                return sardine.exists(url);
1931
        }
1932
        
1933
        public void makedirs(String url) throws Exception {
1934
                log.info("[WEBDAV] makedirs '"+url+"'.");
1935
                URL u = new URL(url);
1936
                String[] x = u.getPath().split("/");
1937
                String path = "";
1938
                for( int i=1; i<x.length; i++ ) { path = path + "/" + x[i]; URL t = new URL(u,path);
1939
                    mkdir(t.toString());
1940
                }
1941
    }
1942
                
1943
                
1944
        public void mkdir(String url) throws Exception {
1945
                if( ! exists(url) ) {
1946
                        log.info("[WEBDAV] mkdir '"+url+"'.");
1947
                        sardine.createDirectory(url);
1948
                }
1949
        }
1950
        
1951
        public void put(String source, String target) throws Exception {
1952
                log.info("[WEBDAV] put '" + source + "' to '" + target + "'...");
1953
                InputStream fis = new FileInputStream(new File(source));
1954
                sardine.put(target, fis);
1955
                log.info("[WEBDAV] put ok.");
1956
        }
1957
        
1958
        public List list(String url) throws Exception {
1959
                List resources = sardine.list(url);
1960
                return resources;
1961
        }
1962
}
1963

    
1964

    
1965
if( project.properties["deploy-package"] != null ) {                          
1966
        if( project.properties["gvsig.install.plugin.package"]=="true" ) {
1967
                poolURL = project.properties["gvsig.package.info.poolURL"];
1968
                if( poolURL[-1] != "/" ) { 
1969
                        poolURL = poolURL + "/";
1970
                }
1971
                targetPath = poolURL + project.properties["gvsig.package.info.code"];
1972
                log.info("Deploy plugin package to '"+targetPath+"'.");
1973

    
1974
            pkgname = "gvSIG-desktop-" + 
1975
              project.properties["gvsig.package.info.gvSIGVersion"] + "-" + 
1976
              project.properties["gvsig.package.info.code"] + "-" + 
1977
              project.properties["gvsig.package.info.version"] + "-" + 
1978
              project.properties["buildNumber"] + "-" + 
1979
              project.properties["gvsig.package.info.state"] + "-" + 
1980
              project.properties["gvsig.package.info.operatingSystem"] + "-" + 
1981
              project.properties["gvsig.package.info.architecture"] + "-" + 
1982
              project.properties["gvsig.package.info.javaVM"]; 
1983
                                  
1984
                source = project.basedir.getAbsolutePath() + "/target/" + pkgname
1985
                targetPath = poolURL + project.properties["gvsig.package.info.code"]
1986

    
1987
                log.info("Creating addon-request.txt in target folder");
1988
                new File(project.basedir.getAbsolutePath() + "/target/addon-request.txt").withWriter { out ->
1989
                        out.println();
1990
                        out.println(pkgname);
1991
                        out.println();
1992
                        out.println(targetPath+"/" + pkgname + ".gvspki");
1993
                        out.println();
1994
                }
1995

    
1996
                if( project.properties["user"] == null ) {
1997
                        print("Enter user name: ");
1998
                        user = System.console().readLine().toString()
1999
                        if( user != "" ) {
2000
                            project.properties.setProperty("user",user);
2001
                        }
2002
                }
2003
        if( project.properties["password"] == null ) {                                
2004
                        print("Enter password for user '" + project.properties["user"] + "': ");
2005
                        password = System.console().readPassword().toString()  
2006
                        if( password != "" ) {
2007
                            project.properties.setProperty("password",password);
2008
                        }
2009
                }
2010
                WebDAVClient session = new WebDAVClient(log);
2011
                if( project.properties["user"] == null || project.properties["password"] == null ) {                                
2012
                    log.info("[WEBDAV] creating non authenticated session.");
2013
                    log.info("[WEBDAV] Use -Duser=USER -Dpassword=PASSWORD to create a authenticated session.");
2014
                        session.login();
2015
                } else {
2016
                        session.login(project.properties["user"], project.properties["password"]);
2017
                }
2018
                session.makedirs(targetPath);
2019
                session.put(source + ".gvspkg.zip", targetPath+"/"+pkgname+ ".gvspkg");
2020
                session.put(source + ".gvspki", targetPath+"/"+pkgname+ ".gvspki");
2021

    
2022
        } else {
2023
                log.info("Skip plugin package deploy. It not be installed by default.");
2024
        }                
2025
} else {
2026
        log.info("Skip plugin package deploy. Use the flags -Ddeploy-package -Duser=USER -Dpassword=PASSWORD to deploy it.");
2027
}
2028
                  
2029
                  ]]></source>
2030
                </configuration>
2031
              </execution>
2032

    
2033
            </executions>
2034
          </plugin>
2035

    
2036
        </plugins>
2037
      </pluginManagement>
2038

    
2039
      <plugins>
2040

    
2041
        <plugin>
2042
          <artifactId>maven-clean-plugin</artifactId>
2043
          <configuration>
2044
            <filesets>
2045
              <fileset>
2046
                <directory>${user.home}/.depman/</directory>
2047
                <includes>
2048
                  <include>**</include>
2049
                </includes>
2050
              </fileset>
2051
            </filesets>
2052
            <followSymLinks>true</followSymLinks>
2053
          </configuration>
2054
        </plugin>
2055

    
2056
        <plugin>
2057
            <groupId>org.apache.maven.plugins</groupId>
2058
            <artifactId>maven-release-plugin</artifactId>
2059
            <configuration>
2060
                <!-- The property svn.tags.folder is used in external projects   -->
2061
                            <!-- to override configuraction of tagBase -->
2062
                <tagBase>${svn.tags.folder}</tagBase> 
2063
                <!-- This is a 2.0 beta 6 bug. By default the goals are 'clean verify', so the modules  
2064
                are not installed, so the dependencies between modules are not met. With this configuration   
2065
                we force the module installation. -->  
2066
                <preparationGoals>clean install</preparationGoals>  
2067
                <autoVersionSubmodules>true</autoVersionSubmodules>
2068
                <!-- Dont make site-deploy -->
2069
                <!-- You need to run it after in folder target/checkout -->
2070
                <goals>deploy</goals> 
2071
            </configuration>
2072
        </plugin>
2073

    
2074
        <plugin>
2075
          <!-- load ".gvsig-devel.properties" -->
2076
          <groupId>org.codehaus.mojo</groupId>
2077
          <artifactId>properties-maven-plugin</artifactId>
2078
          <configuration>
2079
              <files>
2080
                  <!-- Define gvsig.product.folder.path in this property -->
2081
                  <file>${user.home}/.gvsig-devel.properties</file>
2082
                  <file>${env.HOME}/.gvsig-devel.properties</file>
2083
                  <file>${project.basedir}/gvsig-devel.properties</file>
2084
                  <file>buildNumber.properties</file>
2085
              </files>
2086
              <quiet>true</quiet>
2087
          </configuration>
2088
          <executions>
2089
              <execution>
2090
                  <id>default</id>
2091
                  <phase>prepare-package</phase>
2092
                  <goals>
2093
                      <goal>read-project-properties</goal>
2094
                  </goals>
2095
              </execution>
2096
              <execution>
2097
                <id>default-clean</id>
2098
                <phase>pre-clean</phase>
2099
                <goals>
2100
                    <goal>read-project-properties</goal>
2101
                </goals>
2102
            </execution>
2103
          </executions>
2104
        </plugin>
2105

    
2106

    
2107
      <plugin>
2108
          <groupId>org.codehaus.mojo</groupId>
2109
          <artifactId>animal-sniffer-maven-plugin</artifactId>
2110
          <executions>
2111
              <execution>
2112
                  <id>check-java-api</id>
2113
                  <phase>package</phase>
2114
                  <goals>
2115
                      <goal>check</goal>
2116
                  </goals>
2117
                  <configuration>
2118
                      <skip>false</skip>
2119
                      <signature>
2120
                          <groupId>org.codehaus.mojo.signature</groupId>
2121
                          <artifactId>java15</artifactId>
2122
                          <version>1.0</version>
2123
                      </signature>
2124
                      <ignores>
2125
                          <ignore>net.sourceforge.cobertura.coveragedata.TouchCollector</ignore>
2126
                      </ignores>
2127
                  </configuration>
2128
              </execution>
2129
          </executions>
2130
      </plugin>
2131

    
2132
      <plugin>
2133
          <groupId>org.apache.maven.plugins</groupId>
2134
          <artifactId>maven-javadoc-plugin</artifactId>
2135
          <executions>
2136
              <execution>
2137
                  <id>attach-javadocs</id>
2138
                  <goals>
2139
                      <goal>jar</goal>
2140
                  </goals>
2141
              </execution>
2142
          </executions>
2143
      </plugin>
2144

    
2145
      <plugin>
2146
          <groupId>org.apache.maven.plugins</groupId>
2147
          <artifactId>maven-source-plugin</artifactId>
2148
          <configuration>
2149
            <skipSource>false</skipSource> <!-- User property is: source.skip. -->
2150
          </configuration>
2151
          <executions>
2152
              <execution>
2153
                  <id>attach-sources</id>
2154
                  <phase>verify</phase>
2155
                  <goals>
2156
                      <goal>jar-no-fork</goal>
2157
                  </goals>
2158
              </execution>
2159
              <execution>
2160
                  <id>attach-test-sources</id>
2161
                  <phase>verify</phase>
2162
                  <goals>
2163
                      <goal>test-jar-no-fork</goal>
2164
                  </goals>
2165
              </execution>
2166
          </executions>
2167
      </plugin>
2168
      
2169
      <plugin>
2170
        <groupId>org.apache.maven.plugins</groupId>
2171
        <artifactId>maven-checkstyle-plugin</artifactId>
2172
        <!-- invoke as "mvn checkstyle:checkstyle"  or "mvn site" -->
2173
        <configuration>
2174
          <skip>false</skip> <!-- User property is: checkstyle.skip. -->
2175
          <enableRulesSummary>true</enableRulesSummary>
2176
          <failsOnError>false</failsOnError>
2177
          <configLocation>gvsig/checkstyle.xml</configLocation>
2178
          <headerLocation>gvsig/LICENSE.txt</headerLocation>
2179
        </configuration>
2180
        <dependencies>
2181
          <dependency>
2182
              <groupId>org.gvsig</groupId>
2183
              <artifactId>org.gvsig.desktop.buildtools</artifactId>
2184
              <version>1.0.0</version>
2185
          </dependency>
2186
        </dependencies>
2187
      </plugin>
2188
      
2189
      <plugin>
2190
        <!-- to continue building  when test fail -->
2191
        <groupId>org.apache.maven.plugins</groupId>
2192
        <artifactId>maven-surefire-plugin</artifactId>
2193
        <configuration>
2194
          <testFailureIgnore>true</testFailureIgnore>
2195
        </configuration>
2196
      </plugin>
2197

    
2198
    </plugins>
2199
  </build>
2200

    
2201

    
2202
   <reporting>
2203
      <excludeDefaults>true</excludeDefaults>
2204
      <plugins>
2205
        <plugin>
2206
          <groupId>org.apache.maven.plugins</groupId>
2207
          <artifactId>maven-project-info-reports-plugin</artifactId>
2208
            <version>2.7</version>
2209
            <reportSets>
2210
            <reportSet>
2211
              <reports>
2212
                <report>index</report>
2213
                <report>summary</report>
2214
                <report>scm</report>
2215
                <report>license</report>
2216
                <report>project-team</report>
2217
                <report>issue-tracking</report>
2218
                <report>mailing-list</report>
2219
                <report>modules</report>
2220

    
2221
                <report>dependency-info</report>
2222
                <!-- Removed due to its high cost                 
2223
                <report>dependency-management</report>
2224
                <report>dependencies</report>
2225
                -->
2226
                <report>dependency-convergence</report>
2227

    
2228
                <!--                 
2229
                <report>plugins</report>
2230
                <report>plugin-management</report>
2231
                <report>distribution-management</report>
2232
                -->
2233
                
2234
                <!-- gvSIG does not have Continuous Integration System
2235
                <report>cim</report>
2236
                -->
2237
              </reports>
2238
            </reportSet>
2239
          </reportSets>
2240
        </plugin>
2241
        <plugin>
2242
          <groupId>org.apache.maven.plugins</groupId>
2243
          <artifactId>maven-javadoc-plugin</artifactId>
2244
          <!-- Do not use the version 2.9, does not manage properly the submodules -->
2245
          <version>2.9.1</version>
2246
          <configuration>
2247
            <!-- Don't include the deprecateds items in the javadoc -->
2248
            <nodeprecated>true</nodeprecated>
2249
            <!-- Don't generate javadoc of project with submodules -->
2250
            <aggregate>false</aggregate>
2251
            <!-- Removed detection of links due to its high cost -->
2252
            <detectJavaApiLink>false</detectJavaApiLink>
2253
            <detectLinks>false</detectLinks>
2254
            <detectOfflineLinks>false</detectOfflineLinks>
2255
            <!-- Removed the inclusion of dependencies sources due to their high cost -->
2256
            <includeDependencySources>false</includeDependencySources>
2257
            <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
2258
          </configuration>
2259
            <reportSets>
2260
                <reportSet>
2261
                    <id>html</id>
2262
                    <reports>
2263
                        <report>javadoc</report>
2264
                        <!-- removed javadocs of tests -->
2265
                    </reports>
2266
                </reportSet>
2267
            </reportSets>
2268
        </plugin>
2269
        <plugin>
2270
          <groupId>org.apache.maven.plugins</groupId>
2271
          <artifactId>maven-jxr-plugin</artifactId>
2272
            <version>2.3</version>
2273
          <configuration>
2274
            <linkJavadoc>true</linkJavadoc>
2275
            <aggregate>false</aggregate>
2276
          </configuration>
2277
        </plugin>
2278
        <plugin>
2279
          <groupId>org.codehaus.mojo</groupId>
2280
          <artifactId>findbugs-maven-plugin</artifactId>
2281
          <version>2.5.2</version>
2282
        </plugin>
2283
              
2284
      </plugins>
2285
    </reporting>
2286
  
2287

    
2288
  <profiles>
2289
  
2290
    <profile>
2291
      <!-- This profile is used to initialize and install the root folder of gvSIG -->
2292
      <id>gvsig-root</id>
2293
      <activation>
2294
        <file>
2295
          <exists>src/main/assembly/gvsig-root-folder-package.xml</exists>
2296
        </file>
2297
      </activation>
2298
      <build>
2299
        <plugins>
2300

    
2301
          <plugin>
2302
            <!-- Check if exists ".gvsig-devel.properties" and create if not exists -->
2303
            <groupId>org.codehaus.gmaven</groupId>
2304
            <artifactId>gmaven-plugin</artifactId>
2305
            <executions>
2306
              <execution>
2307
                <id>initialize-gvsig-product-folder-path</id>
2308
                <phase>generate-sources</phase>
2309
                <goals>
2310
                  <goal>execute</goal>
2311
                </goals>
2312
                <configuration>
2313
                  <source><![CDATA[
2314
                    if( project.artifactId != "org.gvsig.desktop" ) {
2315
                            log.warn("Skip initialization of gvsig-devel.properties.")
2316
                    } else {
2317
                      home = System.getenv('HOME')
2318
                      if( home == null ) {
2319
                        home = System.properties['user.home']
2320
                      }
2321
                      Properties props = new Properties()
2322
                      File propsFile = new File(home + "/.gvsig-devel.properties")
2323
                      gvsigProductFolderPathDefault = project.properties["gvsig.product.folder.path"]
2324
                      // println "Default gvsig.product.folder.path = " + gvsigProductFolderPathDefault
2325
                      try {
2326
                        props.load(propsFile.newDataInputStream())
2327
                        gvsigProductFolderPath = props.getProperty('gvsig.product.folder.path')
2328
                        if( gvsigProductFolderPath == null ) {
2329
                          gvsigProductFolderPath = gvsigProductFolderPathDefault
2330
                          props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2331
                          props.store(propsFile.newWriter(), null)
2332
                        }
2333
                      } catch(java.io.FileNotFoundException e){
2334
                        gvsigProductFolderPath = gvsigProductFolderPathDefault
2335
                        props.setProperty('gvsig.product.folder.path', gvsigProductFolderPath)
2336
                        props.store(propsFile.newWriter(), null)
2337
                      }
2338
                      if( gvsigProductFolderPathDefault != gvsigProductFolderPath ) {
2339
                              f = new File(gvsigProductFolderPathDefault)
2340
                              f.mkdirs();
2341
                                                new File(f,"WARNING.txt").withWriter { out ->
2342
                                                        out.println();
2343
                                                        out.println("The product folder used is set to:");
2344
                                                        out.println();
2345
                                                        out.println(gvsigProductFolderPath);
2346
                                                        out.println();
2347
                                                        out.println("See the HOME/.gvsig-devel.properties to change it.");
2348
                                                        out.println();
2349
                                                }
2350
                      }
2351
                      log.info("Current gvsig.product.folder.path = " + gvsigProductFolderPath)
2352
                    }
2353
                  ]]></source>
2354
                </configuration>
2355
              </execution>
2356
              
2357
            </executions>
2358
         </plugin>
2359

    
2360
        </plugins>
2361
      </build>
2362
    </profile>
2363

    
2364
  
2365
  
2366
    <profile>
2367
      <!-- This profile is used to packege and install the gvSIG plugins -->
2368
      <id>gvsig-plugin</id>
2369
      <activation>
2370
        <file>
2371
          <exists>buildNumber.properties</exists>
2372
        </file>
2373
      </activation>
2374
      <build>
2375
        <plugins>
2376

    
2377
          <plugin>
2378
              <artifactId>maven-assembly-plugin</artifactId>
2379
              <executions>
2380
                <execution>
2381
                  <id>gvsig-plugin-package</id>
2382
                  <phase>package</phase>
2383
                  <goals>
2384
                      <goal>single</goal>
2385
                  </goals>
2386
                </execution>
2387
              </executions>
2388
          </plugin>
2389

    
2390
          <plugin>
2391
            <artifactId>maven-clean-plugin</artifactId>
2392
            <configuration>
2393
              <skip>false</skip>
2394
              <failOnError>true</failOnError>
2395
              <filesets>
2396
                <fileset>
2397
                  <directory>${gvsig.product.folder.path}/gvSIG/extensiones/${project.artifactId}</directory>
2398
                </fileset>
2399
              </filesets>
2400
            </configuration>
2401
            <executions>
2402
              <execution>
2403
                <id>default-clean</id>
2404
                <phase>clean</phase>
2405
              </execution>
2406
            </executions>
2407
          </plugin>
2408

    
2409
          <plugin>
2410
            <groupId>org.codehaus.gmaven</groupId>
2411
            <artifactId>gmaven-plugin</artifactId>
2412
            <executions>
2413

    
2414
              <execution>
2415
                <id>increase-build-number</id>
2416
                <phase>process-sources</phase>
2417
                <goals>
2418
                  <goal>execute</goal>
2419
                </goals>
2420
              </execution>
2421

    
2422
              <execution>
2423
                <id>build-package-info</id>
2424
                <phase>prepare-package</phase>
2425
                <goals>
2426
                  <goal>execute</goal>
2427
                </goals>
2428
              </execution>
2429

    
2430
              <execution>
2431
                <id>build-package-index</id>
2432
                <phase>package</phase>
2433
                <goals>
2434
                  <goal>execute</goal>
2435
                </goals>
2436
              </execution>
2437

    
2438
              <execution>
2439
                <id>install-plugin</id>
2440
                <phase>install</phase>
2441
                <goals>
2442
                  <goal>execute</goal>
2443
                </goals>
2444
              </execution>
2445
              
2446
              <execution>
2447
                <id>deploy-package</id>
2448
                <phase>install</phase>
2449
                <goals>
2450
                  <goal>execute</goal>
2451
                </goals>
2452
              </execution>
2453

    
2454
            </executions>
2455
          </plugin>
2456

    
2457
        </plugins>
2458
      </build>
2459
    </profile>
2460

    
2461
  </profiles>
2462
      
2463
  <properties>
2464
    <!-- General configuration -->
2465
    <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
2466
    <localRepository>${user.home}/.m2/repository</localRepository>
2467
    <site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository>
2468
    <eclipse.project.name>${project.artifactId}</eclipse.project.name>
2469
    
2470
    <!-- The property svn.tags.folder is used in external projects to override  -->
2471
    <!-- configuraction in maven-release-plugin -->
2472
    <svn.tags.folder>https://devel.gvsig.org/svn/gvsig-desktop/tags/</svn.tags.folder>
2473
    
2474
    <!-- Package info property values -->
2475
    <gvsig.package.info.codealias />
2476
    <gvsig.package.info.code>${project.artifactId}</gvsig.package.info.code>
2477
    <gvsig.package.info.name>${project.name}</gvsig.package.info.name>
2478
    <gvsig.package.info.description>${project.description}</gvsig.package.info.description>
2479
    <gvsig.package.info.version>${project.version}</gvsig.package.info.version>
2480
    <gvsig.package.info.state>testing</gvsig.package.info.state>
2481
    <gvsig.package.info.official>false</gvsig.package.info.official>
2482
    <gvsig.package.info.operatingSystem>all</gvsig.package.info.operatingSystem>
2483
    <gvsig.package.info.architecture>all</gvsig.package.info.architecture>
2484
    <gvsig.package.info.javaVM>j1_5</gvsig.package.info.javaVM>
2485
    <gvsig.package.info.gvSIGVersion>2.1.0</gvsig.package.info.gvSIGVersion>
2486
    <gvsig.package.info.dependencies>required: org.gvsig.app.mainplugin -ge 2.0.1</gvsig.package.info.dependencies>
2487
    <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
2488
    <gvsig.package.info.sourcesURL>${project.scm.url}</gvsig.package.info.sourcesURL>
2489
    <gvsig.package.info.webURL>http://www.gvsig.com</gvsig.package.info.webURL>
2490
    <gvsig.package.info.categories />
2491
    <gvsig.package.info.poolURL>http://downloads.gvsig.org/download/gvsig-desktop/pool</gvsig.package.info.poolURL>
2492
    
2493
    <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
2494
    <gvsig.install.plugin>true</gvsig.install.plugin>
2495
    <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
2496
    <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
2497
    
2498
    <!-- External project versions -->
2499
    <gvsig.tools.version>3.0.15</gvsig.tools.version>
2500
    <gvsig.about.version>1.0.0</gvsig.about.version>
2501
    <gvsig.proj.version>1.0.1</gvsig.proj.version>
2502
    <gvsig.projection.api.version>2.0.14</gvsig.projection.api.version>
2503
    <gvsig.timesupport.version>1.0.0</gvsig.timesupport.version>
2504
  
2505
    <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
2506
  </properties>
2507

    
2508
  <modules>
2509
    <module>org.gvsig.desktop.compat.cdc</module>
2510
    <module>org.gvsig.desktop.library</module>
2511
    <module>org.gvsig.desktop.framework</module>
2512
    <module>org.gvsig.desktop.plugin</module>
2513

    
2514
    <!-- NOTE: Project  org.gvsig.desktop.installer must not be a sub module of this. -->
2515
    <!-- NOTE: Project  org.gvsig.desktop.buildtools must not be a sub module of this. -->
2516

    
2517
  </modules>
2518
</project>
2519