root / tags / v2_0_0_Build_2058 / libraries / libFMap_dalfile / pom.xml @ 39244
History | View | Annotate | Download (24.7 KB)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
5 |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 |
|
7 |
<modelVersion>4.0.0</modelVersion> |
8 |
<artifactId>org.gvsig.fmap.dal.file</artifactId> |
9 |
<packaging>jar</packaging> |
10 |
<version>2.0-SNAPSHOT</version> |
11 |
<name>libFMap_dalfile</name> |
12 |
<parent>
|
13 |
<groupId>org.gvsig</groupId> |
14 |
<artifactId>gvsig-base-library-pom</artifactId> |
15 |
<version>2.0-SNAPSHOT</version> |
16 |
</parent>
|
17 |
<properties>
|
18 |
<!-- dbf -->
|
19 |
<dbf-jarIncludes>org/gvsig/fmap/dal/store/dbf/**/**</dbf-jarIncludes> |
20 |
<dbf-jarExcludes>NONE</dbf-jarExcludes> |
21 |
|
22 |
<!-- dgn -->
|
23 |
<dgn-jarIncludes>org/gvsig/fmap/dal/store/dgn/**/**</dgn-jarIncludes> |
24 |
<dgn-legend-jarIncludes>org/gvsig/fmap/dal/store/dgn/legend/**/**</dgn-legend-jarIncludes> |
25 |
<dgn-jarExcludes>${dgn-legend-jarIncludes}</dgn-jarExcludes> |
26 |
<dgn-legend-jarExcludes>NONE</dgn-legend-jarExcludes> |
27 |
|
28 |
<!-- dxf -->
|
29 |
<dxf-jarIncludes>org/gvsig/fmap/dal/store/dxf/**/**</dxf-jarIncludes> |
30 |
<dxf-legend-jarIncludes>org/gvsig/fmap/dal/store/dxf/legend/**/**</dxf-legend-jarIncludes> |
31 |
<dxf-jarExcludes>${dxf-legend-jarIncludes}</dxf-jarExcludes> |
32 |
<dxf-legend-jarExcludes>NONE</dxf-legend-jarExcludes> |
33 |
|
34 |
<!-- shp -->
|
35 |
<shp-jarIncludes>org/gvsig/fmap/dal/store/shp/**/**</shp-jarIncludes> |
36 |
<shp-jarExcludes>NONE</shp-jarExcludes> |
37 |
|
38 |
<!-- Common -->
|
39 |
<common-jarIncludes>**/**</common-jarIncludes> |
40 |
<build-dir>${basedir}/../build</build-dir> |
41 |
<eclipse.project.name>libFMap_dalfile</eclipse.project.name> |
42 |
</properties>
|
43 |
<dependencyManagement>
|
44 |
<dependencies>
|
45 |
<dependency>
|
46 |
<groupId>org.gvsig</groupId> |
47 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
48 |
<version>2.0.1-SNAPSHOT</version> |
49 |
<type>pom</type> |
50 |
<scope>import</scope> |
51 |
</dependency>
|
52 |
</dependencies>
|
53 |
</dependencyManagement>
|
54 |
<dependencies>
|
55 |
<dependency>
|
56 |
<groupId>org.gvsig</groupId> |
57 |
<artifactId>org.gvsig.tools.lib</artifactId> |
58 |
<scope>compile</scope> |
59 |
</dependency>
|
60 |
<dependency>
|
61 |
<groupId>org.gvsig</groupId> |
62 |
<artifactId>org.gvsig.projection</artifactId> |
63 |
<scope>compile</scope> |
64 |
</dependency>
|
65 |
<dependency>
|
66 |
<groupId>org.gvsig</groupId> |
67 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
68 |
<scope>compile</scope> |
69 |
</dependency>
|
70 |
<dependency>
|
71 |
<groupId>org.gvsig</groupId> |
72 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
73 |
<classifier>spi</classifier> |
74 |
<scope>compile</scope> |
75 |
</dependency>
|
76 |
<dependency>
|
77 |
<groupId>org.gvsig</groupId> |
78 |
<artifactId>org.gvsig.metadata.lib.basic.api</artifactId> |
79 |
<scope>compile</scope> |
80 |
</dependency>
|
81 |
<dependency>
|
82 |
<groupId>org.gvsig</groupId> |
83 |
<artifactId>org.gvsig.dxf</artifactId> |
84 |
<scope>compile</scope> |
85 |
</dependency>
|
86 |
<dependency>
|
87 |
<groupId>org.gvsig</groupId> |
88 |
<artifactId>org.gvsig.fmap.mapcontext</artifactId> |
89 |
<scope>compile</scope> |
90 |
</dependency>
|
91 |
<dependency>
|
92 |
<groupId>org.gvsig</groupId> |
93 |
<artifactId>org.gvsig.symbology.lib.api</artifactId> |
94 |
<scope>compile</scope> |
95 |
</dependency>
|
96 |
<dependency>
|
97 |
<groupId>org.gvsig</groupId> |
98 |
<artifactId>org.gvsig.tools.evaluator.sqljep</artifactId> |
99 |
<scope>compile</scope> |
100 |
</dependency>
|
101 |
<dependency>
|
102 |
<groupId>org.gvsig</groupId> |
103 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
104 |
<scope>compile</scope> |
105 |
</dependency>
|
106 |
<dependency>
|
107 |
<groupId>org.gvsig</groupId> |
108 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
109 |
<classifier>operation</classifier> |
110 |
<scope>compile</scope> |
111 |
</dependency>
|
112 |
<dependency>
|
113 |
<groupId>org.gvsig</groupId> |
114 |
<artifactId>org.gvsig.metadata.lib.basic.api</artifactId> |
115 |
<scope>compile</scope> |
116 |
</dependency>
|
117 |
<dependency>
|
118 |
<groupId>org.slf4j</groupId> |
119 |
<artifactId>slf4j-api</artifactId> |
120 |
<scope>compile</scope> |
121 |
</dependency>
|
122 |
<dependency>
|
123 |
<groupId>org.gvsig</groupId> |
124 |
<artifactId>org.gvsig.timesupport.lib.api</artifactId> |
125 |
<scope>compile</scope> |
126 |
</dependency>
|
127 |
<!-- TESTS -->
|
128 |
<dependency>
|
129 |
<groupId>org.gvsig</groupId> |
130 |
<artifactId>org.gvsig.tools.lib</artifactId> |
131 |
<type>test-jar</type> |
132 |
</dependency>
|
133 |
<dependency>
|
134 |
<groupId>org.gvsig</groupId> |
135 |
<artifactId>org.gvsig.compat</artifactId> |
136 |
<classifier>se</classifier> |
137 |
<scope>test</scope> |
138 |
</dependency>
|
139 |
<dependency>
|
140 |
<groupId>org.gvsig</groupId> |
141 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
142 |
<classifier>impl</classifier> |
143 |
</dependency>
|
144 |
<dependency>
|
145 |
<groupId>org.gvsig</groupId> |
146 |
<artifactId>org.gvsig.utils</artifactId> |
147 |
<scope>compile</scope> |
148 |
</dependency>
|
149 |
<dependency>
|
150 |
<groupId>org.gvsig</groupId> |
151 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
152 |
<classifier>tests</classifier> |
153 |
<scope>test</scope> |
154 |
</dependency>
|
155 |
<dependency>
|
156 |
<groupId>org.gvsig</groupId> |
157 |
<artifactId>org.gvsig.fmap.dal.index.spatial</artifactId> |
158 |
<classifier>jts</classifier> |
159 |
<scope>test</scope> |
160 |
</dependency>
|
161 |
<dependency>
|
162 |
<groupId>org.gvsig</groupId> |
163 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
164 |
<classifier>impl</classifier> |
165 |
<scope>test</scope> |
166 |
</dependency>
|
167 |
<dependency>
|
168 |
<groupId>org.gvsig</groupId> |
169 |
<artifactId>org.gvsig.fmap.mapcontext</artifactId> |
170 |
<classifier>operation</classifier> |
171 |
<scope>test</scope> |
172 |
</dependency>
|
173 |
<dependency>
|
174 |
<groupId>org.gvsig</groupId> |
175 |
<artifactId>org.gvsig.projection</artifactId> |
176 |
<classifier>cresques-impl</classifier> |
177 |
<scope>test</scope> |
178 |
</dependency>
|
179 |
<dependency>
|
180 |
<groupId>org.gvsig</groupId> |
181 |
<artifactId>org.gvsig.symbology.lib.impl</artifactId> |
182 |
<scope>test</scope> |
183 |
</dependency>
|
184 |
<dependency>
|
185 |
<groupId>org.gvsig</groupId> |
186 |
<artifactId>org.gvsig.timesupport.lib.impl</artifactId> |
187 |
<scope>test</scope> |
188 |
</dependency>
|
189 |
<dependency>
|
190 |
<groupId>org.gvsig</groupId> |
191 |
<artifactId>org.gvsig.tools.swing.impl</artifactId> |
192 |
<scope>test</scope> |
193 |
</dependency>
|
194 |
|
195 |
<dependency>
|
196 |
<groupId>commons-io</groupId> |
197 |
<artifactId>commons-io</artifactId> |
198 |
<scope>compile</scope> |
199 |
</dependency>
|
200 |
</dependencies>
|
201 |
<build>
|
202 |
<sourceDirectory>src</sourceDirectory> |
203 |
<testSourceDirectory>src-test</testSourceDirectory> |
204 |
<testResources>
|
205 |
<testResource>
|
206 |
<directory>src-test</directory> |
207 |
</testResource>
|
208 |
<testResource>
|
209 |
<directory>resources-test</directory> |
210 |
</testResource>
|
211 |
</testResources>
|
212 |
<plugins>
|
213 |
<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
|
214 |
<plugin>
|
215 |
<groupId>org.apache.maven.plugins</groupId> |
216 |
<artifactId>maven-surefire-plugin</artifactId> |
217 |
<configuration>
|
218 |
<excludes>
|
219 |
<exclude>**/*Test*</exclude> |
220 |
</excludes>
|
221 |
<!-- <includes>
|
222 |
<include>**/Bug*Test.java</include>
|
223 |
</includes> -->
|
224 |
</configuration>
|
225 |
</plugin>
|
226 |
</plugins>
|
227 |
</build>
|
228 |
<profiles>
|
229 |
<profile>
|
230 |
<id>se</id> |
231 |
<activation>
|
232 |
<activeByDefault>true</activeByDefault> |
233 |
</activation>
|
234 |
<build>
|
235 |
<plugins>
|
236 |
<plugin>
|
237 |
<groupId>org.apache.maven.plugins</groupId> |
238 |
<artifactId>maven-jar-plugin</artifactId> |
239 |
<configuration>
|
240 |
<excludes>
|
241 |
<exclude>${dbf-jarIncludes}</exclude> |
242 |
<exclude>${dgn-jarIncludes}</exclude> |
243 |
<exclude>${dxf-jarIncludes}</exclude> |
244 |
<exclude>${shp-jarIncludes}</exclude> |
245 |
</excludes>
|
246 |
</configuration>
|
247 |
<executions>
|
248 |
<!-- Generates a jar file only with the DAL file DBF
|
249 |
Store classes -->
|
250 |
<execution>
|
251 |
<id>dbf</id> |
252 |
<phase>package</phase> |
253 |
<goals>
|
254 |
<goal>jar</goal> |
255 |
</goals>
|
256 |
<configuration>
|
257 |
<classifier>store.dbf</classifier> |
258 |
<includes>
|
259 |
<include>${dbf-jarIncludes}</include> |
260 |
</includes>
|
261 |
<excludes>
|
262 |
<exclude>${dbf-jarExcludes}</exclude> |
263 |
</excludes>
|
264 |
</configuration>
|
265 |
</execution>
|
266 |
<!-- Generates a jar file only with the DAL file DGN
|
267 |
Store classes -->
|
268 |
<execution>
|
269 |
<id>dgn</id> |
270 |
<phase>package</phase> |
271 |
<goals>
|
272 |
<goal>jar</goal> |
273 |
</goals>
|
274 |
<configuration>
|
275 |
<classifier>store.dgn</classifier> |
276 |
<includes>
|
277 |
<include>${dgn-jarIncludes}</include> |
278 |
</includes>
|
279 |
<excludes>
|
280 |
<exclude>${dgn-jarExcludes}</exclude> |
281 |
</excludes>
|
282 |
</configuration>
|
283 |
</execution>
|
284 |
<!-- Generates a jar file only with the DAL file DGN
|
285 |
Store legend classes -->
|
286 |
<execution>
|
287 |
<id>dgn.legend</id> |
288 |
<phase>package</phase> |
289 |
<goals>
|
290 |
<goal>jar</goal> |
291 |
</goals>
|
292 |
<configuration>
|
293 |
<classifier>store.dgn.legend</classifier> |
294 |
<includes>
|
295 |
<include>${dgn-legend-jarIncludes}</include> |
296 |
</includes>
|
297 |
<excludes>
|
298 |
<exclude>${dgn-legend-jarExcludes}</exclude> |
299 |
</excludes>
|
300 |
</configuration>
|
301 |
</execution>
|
302 |
<!-- Generates a jar file only with the DAL file DXF
|
303 |
Store classes -->
|
304 |
<execution>
|
305 |
<id>dxf</id> |
306 |
<phase>package</phase> |
307 |
<goals>
|
308 |
<goal>jar</goal> |
309 |
</goals>
|
310 |
<configuration>
|
311 |
<classifier>store.dxf</classifier> |
312 |
<includes>
|
313 |
<include>${dxf-jarIncludes}</include> |
314 |
</includes>
|
315 |
<excludes>
|
316 |
<exclude>${dxf-jarExcludes}</exclude> |
317 |
</excludes>
|
318 |
</configuration>
|
319 |
</execution>
|
320 |
<!-- Generates a jar file only with the DAL file DXF
|
321 |
Store legend classes -->
|
322 |
<execution>
|
323 |
<id>dxf.legend</id> |
324 |
<phase>package</phase> |
325 |
<goals>
|
326 |
<goal>jar</goal> |
327 |
</goals>
|
328 |
<configuration>
|
329 |
<classifier>store.dxf.legend</classifier> |
330 |
<includes>
|
331 |
<include>${dxf-legend-jarIncludes}</include> |
332 |
</includes>
|
333 |
<excludes>
|
334 |
<exclude>${dxf-legend-jarExcludes}</exclude> |
335 |
</excludes>
|
336 |
</configuration>
|
337 |
</execution>
|
338 |
<!-- Generates a jar file only with the DAL file SHP
|
339 |
Store classes -->
|
340 |
<execution>
|
341 |
<id>shp</id> |
342 |
<phase>package</phase> |
343 |
<goals>
|
344 |
<goal>jar</goal> |
345 |
</goals>
|
346 |
<configuration>
|
347 |
<classifier>store.shp</classifier> |
348 |
<includes>
|
349 |
<include>${shp-jarIncludes}</include> |
350 |
</includes>
|
351 |
<excludes>
|
352 |
<exclude>${shp-jarExcludes}</exclude> |
353 |
</excludes>
|
354 |
</configuration>
|
355 |
</execution>
|
356 |
</executions>
|
357 |
</plugin>
|
358 |
<plugin>
|
359 |
<artifactId>maven-antrun-plugin</artifactId> |
360 |
<executions>
|
361 |
<execution>
|
362 |
<id>services</id> |
363 |
<phase>package</phase> |
364 |
<goals>
|
365 |
<goal>run</goal> |
366 |
</goals>
|
367 |
<configuration>
|
368 |
<tasks>
|
369 |
<jar
|
370 |
destfile="${project.build.directory}/${project.build.finalName}.jar" |
371 |
update="true"> |
372 |
<fileset dir="${basedir}/resources/api" /> |
373 |
</jar>
|
374 |
<jar
|
375 |
destfile="${project.build.directory}/${project.build.finalName}-store.dbf.jar" |
376 |
update="true"> |
377 |
<fileset dir="${basedir}/resources/dbf" /> |
378 |
</jar>
|
379 |
<jar
|
380 |
destfile="${project.build.directory}/${project.build.finalName}-store.dgn.jar" |
381 |
update="true"> |
382 |
<fileset dir="${basedir}/resources/dgn" /> |
383 |
</jar>
|
384 |
<jar
|
385 |
destfile="${project.build.directory}/${project.build.finalName}-store.dgn.legend.jar" |
386 |
update="true"> |
387 |
<fileset
|
388 |
dir="${basedir}/resources/dgn.legend" /> |
389 |
</jar>
|
390 |
<jar
|
391 |
destfile="${project.build.directory}/${project.build.finalName}-store.dxf.jar" |
392 |
update="true"> |
393 |
<fileset dir="${basedir}/resources/dxf" /> |
394 |
</jar>
|
395 |
<jar
|
396 |
destfile="${project.build.directory}/${project.build.finalName}-store.dxf.legend.jar" |
397 |
update="true"> |
398 |
<fileset
|
399 |
dir="${basedir}/resources/dxf.legend" /> |
400 |
</jar>
|
401 |
<jar
|
402 |
destfile="${project.build.directory}/${project.build.finalName}-store.shp.jar" |
403 |
update="true"> |
404 |
<fileset dir="${basedir}/resources/shp" /> |
405 |
</jar>
|
406 |
</tasks>
|
407 |
</configuration>
|
408 |
</execution>
|
409 |
</executions>
|
410 |
</plugin>
|
411 |
<plugin>
|
412 |
<groupId>org.apache.maven.plugins</groupId> |
413 |
<artifactId>maven-surefire-plugin</artifactId> |
414 |
<configuration>
|
415 |
<additionalClasspathElements>
|
416 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
417 |
<additionalClasspathElement>${basedir}/resources/dbf</additionalClasspathElement> |
418 |
<additionalClasspathElement>${basedir}/resources/dgn</additionalClasspathElement> |
419 |
<additionalClasspathElement>${basedir}/resources/dgn.legend</additionalClasspathElement> |
420 |
<additionalClasspathElement>${basedir}/resources/dxf</additionalClasspathElement> |
421 |
<additionalClasspathElement>${basedir}/resources/dxf.legend</additionalClasspathElement> |
422 |
<additionalClasspathElement>${basedir}/resources/shp</additionalClasspathElement> |
423 |
</additionalClasspathElements>
|
424 |
</configuration>
|
425 |
</plugin>
|
426 |
</plugins>
|
427 |
</build>
|
428 |
</profile>
|
429 |
<profile>
|
430 |
<id>cdc</id> |
431 |
<activation>
|
432 |
<activeByDefault>false</activeByDefault> |
433 |
</activation>
|
434 |
<build>
|
435 |
<plugins>
|
436 |
<plugin>
|
437 |
<groupId>org.apache.maven.plugins</groupId> |
438 |
<artifactId>maven-compiler-plugin</artifactId> |
439 |
<configuration>
|
440 |
<excludes>
|
441 |
<exclude>org/gvsig/fmap/dal/store/**</exclude> |
442 |
</excludes>
|
443 |
<testExcludes>
|
444 |
<exclude>org/gvsig/fmap/dal/store/**</exclude> |
445 |
<exclude>org/gvsig/fmap/dal/explorer/filesystem/FileSystemExplorerTest.java</exclude> |
446 |
</testExcludes>
|
447 |
</configuration>
|
448 |
</plugin>
|
449 |
<plugin>
|
450 |
<groupId>org.apache.maven.plugins</groupId> |
451 |
<artifactId>maven-jar-plugin</artifactId> |
452 |
<configuration>
|
453 |
<excludes>
|
454 |
<exclude>org/gvsig/fmap/dal/store/**</exclude> |
455 |
</excludes>
|
456 |
</configuration>
|
457 |
</plugin>
|
458 |
<plugin>
|
459 |
<artifactId>maven-antrun-plugin</artifactId> |
460 |
<executions>
|
461 |
<execution>
|
462 |
<id>services</id> |
463 |
<phase>package</phase> |
464 |
<goals>
|
465 |
<goal>run</goal> |
466 |
</goals>
|
467 |
<configuration>
|
468 |
<tasks>
|
469 |
<jar
|
470 |
destfile="${project.build.directory}/${project.build.finalName}.jar" |
471 |
update="true"> |
472 |
<fileset dir="${basedir}/resources/api" /> |
473 |
</jar>
|
474 |
</tasks>
|
475 |
</configuration>
|
476 |
</execution>
|
477 |
</executions>
|
478 |
</plugin>
|
479 |
<plugin>
|
480 |
<groupId>org.apache.maven.plugins</groupId> |
481 |
<artifactId>maven-surefire-plugin</artifactId> |
482 |
<configuration>
|
483 |
<additionalClasspathElements>
|
484 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
485 |
</additionalClasspathElements>
|
486 |
</configuration>
|
487 |
</plugin>
|
488 |
</plugins>
|
489 |
</build>
|
490 |
</profile>
|
491 |
<profile>
|
492 |
<id>eclipse-project</id> |
493 |
<build>
|
494 |
<defaultGoal>antrun:run</defaultGoal> |
495 |
<plugins>
|
496 |
<plugin>
|
497 |
<artifactId>maven-antrun-plugin</artifactId> |
498 |
<configuration>
|
499 |
<tasks>
|
500 |
<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml" |
501 |
target="eclipse.all" /> |
502 |
</tasks>
|
503 |
</configuration>
|
504 |
</plugin>
|
505 |
</plugins>
|
506 |
</build>
|
507 |
</profile>
|
508 |
</profiles>
|
509 |
<reporting>
|
510 |
<plugins>
|
511 |
<plugin>
|
512 |
<groupId>org.apache.maven.plugins</groupId> |
513 |
<artifactId>maven-javadoc-plugin</artifactId> |
514 |
<configuration>
|
515 |
<doctitle>${project.name} ${project.version}</doctitle> |
516 |
<groups>
|
517 |
<group>
|
518 |
<title>DAL File common</title> |
519 |
<packages>org.gvsig.fmap.dal*</packages> |
520 |
</group>
|
521 |
<group>
|
522 |
<title>DBF Store</title> |
523 |
<packages>org.gvsig.fmap.dal.store.dbf*</packages> |
524 |
</group>
|
525 |
<group>
|
526 |
<title>DGN Store</title> |
527 |
<packages>org.gvsig.fmap.dal.store.dgn*</packages> |
528 |
</group>
|
529 |
<group>
|
530 |
<title>SHP Store</title> |
531 |
<packages>org.gvsig.fmap.dal.store.shp*</packages> |
532 |
</group>
|
533 |
<group>
|
534 |
<title>DXF Store</title> |
535 |
<packages>org.gvsig.fmap.dal.store.dxf*</packages> |
536 |
</group>
|
537 |
</groups>
|
538 |
</configuration>
|
539 |
</plugin>
|
540 |
</plugins>
|
541 |
</reporting>
|
542 |
</project>
|