root / branches / v2_0_0_prep / libraries / libFMap_dalfile / pom.xml @ 38086
History | View | Annotate | Download (24.5 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 |
</dependencies>
|
195 |
<build>
|
196 |
<sourceDirectory>src</sourceDirectory> |
197 |
<testSourceDirectory>src-test</testSourceDirectory> |
198 |
<testResources>
|
199 |
<testResource>
|
200 |
<directory>src-test</directory> |
201 |
</testResource>
|
202 |
<testResource>
|
203 |
<directory>resources-test</directory> |
204 |
</testResource>
|
205 |
</testResources>
|
206 |
<plugins>
|
207 |
<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
|
208 |
<plugin>
|
209 |
<groupId>org.apache.maven.plugins</groupId> |
210 |
<artifactId>maven-surefire-plugin</artifactId> |
211 |
<configuration>
|
212 |
<excludes>
|
213 |
<exclude>**/*Test*</exclude> |
214 |
</excludes>
|
215 |
<!-- <includes>
|
216 |
<include>**/Bug*Test.java</include>
|
217 |
</includes> -->
|
218 |
</configuration>
|
219 |
</plugin>
|
220 |
</plugins>
|
221 |
</build>
|
222 |
<profiles>
|
223 |
<profile>
|
224 |
<id>se</id> |
225 |
<activation>
|
226 |
<activeByDefault>true</activeByDefault> |
227 |
</activation>
|
228 |
<build>
|
229 |
<plugins>
|
230 |
<plugin>
|
231 |
<groupId>org.apache.maven.plugins</groupId> |
232 |
<artifactId>maven-jar-plugin</artifactId> |
233 |
<configuration>
|
234 |
<excludes>
|
235 |
<exclude>${dbf-jarIncludes}</exclude> |
236 |
<exclude>${dgn-jarIncludes}</exclude> |
237 |
<exclude>${dxf-jarIncludes}</exclude> |
238 |
<exclude>${shp-jarIncludes}</exclude> |
239 |
</excludes>
|
240 |
</configuration>
|
241 |
<executions>
|
242 |
<!-- Generates a jar file only with the DAL file DBF
|
243 |
Store classes -->
|
244 |
<execution>
|
245 |
<id>dbf</id> |
246 |
<phase>package</phase> |
247 |
<goals>
|
248 |
<goal>jar</goal> |
249 |
</goals>
|
250 |
<configuration>
|
251 |
<classifier>store.dbf</classifier> |
252 |
<includes>
|
253 |
<include>${dbf-jarIncludes}</include> |
254 |
</includes>
|
255 |
<excludes>
|
256 |
<exclude>${dbf-jarExcludes}</exclude> |
257 |
</excludes>
|
258 |
</configuration>
|
259 |
</execution>
|
260 |
<!-- Generates a jar file only with the DAL file DGN
|
261 |
Store classes -->
|
262 |
<execution>
|
263 |
<id>dgn</id> |
264 |
<phase>package</phase> |
265 |
<goals>
|
266 |
<goal>jar</goal> |
267 |
</goals>
|
268 |
<configuration>
|
269 |
<classifier>store.dgn</classifier> |
270 |
<includes>
|
271 |
<include>${dgn-jarIncludes}</include> |
272 |
</includes>
|
273 |
<excludes>
|
274 |
<exclude>${dgn-jarExcludes}</exclude> |
275 |
</excludes>
|
276 |
</configuration>
|
277 |
</execution>
|
278 |
<!-- Generates a jar file only with the DAL file DGN
|
279 |
Store legend classes -->
|
280 |
<execution>
|
281 |
<id>dgn.legend</id> |
282 |
<phase>package</phase> |
283 |
<goals>
|
284 |
<goal>jar</goal> |
285 |
</goals>
|
286 |
<configuration>
|
287 |
<classifier>store.dgn.legend</classifier> |
288 |
<includes>
|
289 |
<include>${dgn-legend-jarIncludes}</include> |
290 |
</includes>
|
291 |
<excludes>
|
292 |
<exclude>${dgn-legend-jarExcludes}</exclude> |
293 |
</excludes>
|
294 |
</configuration>
|
295 |
</execution>
|
296 |
<!-- Generates a jar file only with the DAL file DXF
|
297 |
Store classes -->
|
298 |
<execution>
|
299 |
<id>dxf</id> |
300 |
<phase>package</phase> |
301 |
<goals>
|
302 |
<goal>jar</goal> |
303 |
</goals>
|
304 |
<configuration>
|
305 |
<classifier>store.dxf</classifier> |
306 |
<includes>
|
307 |
<include>${dxf-jarIncludes}</include> |
308 |
</includes>
|
309 |
<excludes>
|
310 |
<exclude>${dxf-jarExcludes}</exclude> |
311 |
</excludes>
|
312 |
</configuration>
|
313 |
</execution>
|
314 |
<!-- Generates a jar file only with the DAL file DXF
|
315 |
Store legend classes -->
|
316 |
<execution>
|
317 |
<id>dxf.legend</id> |
318 |
<phase>package</phase> |
319 |
<goals>
|
320 |
<goal>jar</goal> |
321 |
</goals>
|
322 |
<configuration>
|
323 |
<classifier>store.dxf.legend</classifier> |
324 |
<includes>
|
325 |
<include>${dxf-legend-jarIncludes}</include> |
326 |
</includes>
|
327 |
<excludes>
|
328 |
<exclude>${dxf-legend-jarExcludes}</exclude> |
329 |
</excludes>
|
330 |
</configuration>
|
331 |
</execution>
|
332 |
<!-- Generates a jar file only with the DAL file SHP
|
333 |
Store classes -->
|
334 |
<execution>
|
335 |
<id>shp</id> |
336 |
<phase>package</phase> |
337 |
<goals>
|
338 |
<goal>jar</goal> |
339 |
</goals>
|
340 |
<configuration>
|
341 |
<classifier>store.shp</classifier> |
342 |
<includes>
|
343 |
<include>${shp-jarIncludes}</include> |
344 |
</includes>
|
345 |
<excludes>
|
346 |
<exclude>${shp-jarExcludes}</exclude> |
347 |
</excludes>
|
348 |
</configuration>
|
349 |
</execution>
|
350 |
</executions>
|
351 |
</plugin>
|
352 |
<plugin>
|
353 |
<artifactId>maven-antrun-plugin</artifactId> |
354 |
<executions>
|
355 |
<execution>
|
356 |
<id>services</id> |
357 |
<phase>package</phase> |
358 |
<goals>
|
359 |
<goal>run</goal> |
360 |
</goals>
|
361 |
<configuration>
|
362 |
<tasks>
|
363 |
<jar
|
364 |
destfile="${project.build.directory}/${project.build.finalName}.jar" |
365 |
update="true"> |
366 |
<fileset dir="${basedir}/resources/api" /> |
367 |
</jar>
|
368 |
<jar
|
369 |
destfile="${project.build.directory}/${project.build.finalName}-store.dbf.jar" |
370 |
update="true"> |
371 |
<fileset dir="${basedir}/resources/dbf" /> |
372 |
</jar>
|
373 |
<jar
|
374 |
destfile="${project.build.directory}/${project.build.finalName}-store.dgn.jar" |
375 |
update="true"> |
376 |
<fileset dir="${basedir}/resources/dgn" /> |
377 |
</jar>
|
378 |
<jar
|
379 |
destfile="${project.build.directory}/${project.build.finalName}-store.dgn.legend.jar" |
380 |
update="true"> |
381 |
<fileset
|
382 |
dir="${basedir}/resources/dgn.legend" /> |
383 |
</jar>
|
384 |
<jar
|
385 |
destfile="${project.build.directory}/${project.build.finalName}-store.dxf.jar" |
386 |
update="true"> |
387 |
<fileset dir="${basedir}/resources/dxf" /> |
388 |
</jar>
|
389 |
<jar
|
390 |
destfile="${project.build.directory}/${project.build.finalName}-store.dxf.legend.jar" |
391 |
update="true"> |
392 |
<fileset
|
393 |
dir="${basedir}/resources/dxf.legend" /> |
394 |
</jar>
|
395 |
<jar
|
396 |
destfile="${project.build.directory}/${project.build.finalName}-store.shp.jar" |
397 |
update="true"> |
398 |
<fileset dir="${basedir}/resources/shp" /> |
399 |
</jar>
|
400 |
</tasks>
|
401 |
</configuration>
|
402 |
</execution>
|
403 |
</executions>
|
404 |
</plugin>
|
405 |
<plugin>
|
406 |
<groupId>org.apache.maven.plugins</groupId> |
407 |
<artifactId>maven-surefire-plugin</artifactId> |
408 |
<configuration>
|
409 |
<additionalClasspathElements>
|
410 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
411 |
<additionalClasspathElement>${basedir}/resources/dbf</additionalClasspathElement> |
412 |
<additionalClasspathElement>${basedir}/resources/dgn</additionalClasspathElement> |
413 |
<additionalClasspathElement>${basedir}/resources/dgn.legend</additionalClasspathElement> |
414 |
<additionalClasspathElement>${basedir}/resources/dxf</additionalClasspathElement> |
415 |
<additionalClasspathElement>${basedir}/resources/dxf.legend</additionalClasspathElement> |
416 |
<additionalClasspathElement>${basedir}/resources/shp</additionalClasspathElement> |
417 |
</additionalClasspathElements>
|
418 |
</configuration>
|
419 |
</plugin>
|
420 |
</plugins>
|
421 |
</build>
|
422 |
</profile>
|
423 |
<profile>
|
424 |
<id>cdc</id> |
425 |
<activation>
|
426 |
<activeByDefault>false</activeByDefault> |
427 |
</activation>
|
428 |
<build>
|
429 |
<plugins>
|
430 |
<plugin>
|
431 |
<groupId>org.apache.maven.plugins</groupId> |
432 |
<artifactId>maven-compiler-plugin</artifactId> |
433 |
<configuration>
|
434 |
<excludes>
|
435 |
<exclude>org/gvsig/fmap/dal/store/**</exclude> |
436 |
</excludes>
|
437 |
<testExcludes>
|
438 |
<exclude>org/gvsig/fmap/dal/store/**</exclude> |
439 |
<exclude>org/gvsig/fmap/dal/explorer/filesystem/FileSystemExplorerTest.java</exclude> |
440 |
</testExcludes>
|
441 |
</configuration>
|
442 |
</plugin>
|
443 |
<plugin>
|
444 |
<groupId>org.apache.maven.plugins</groupId> |
445 |
<artifactId>maven-jar-plugin</artifactId> |
446 |
<configuration>
|
447 |
<excludes>
|
448 |
<exclude>org/gvsig/fmap/dal/store/**</exclude> |
449 |
</excludes>
|
450 |
</configuration>
|
451 |
</plugin>
|
452 |
<plugin>
|
453 |
<artifactId>maven-antrun-plugin</artifactId> |
454 |
<executions>
|
455 |
<execution>
|
456 |
<id>services</id> |
457 |
<phase>package</phase> |
458 |
<goals>
|
459 |
<goal>run</goal> |
460 |
</goals>
|
461 |
<configuration>
|
462 |
<tasks>
|
463 |
<jar
|
464 |
destfile="${project.build.directory}/${project.build.finalName}.jar" |
465 |
update="true"> |
466 |
<fileset dir="${basedir}/resources/api" /> |
467 |
</jar>
|
468 |
</tasks>
|
469 |
</configuration>
|
470 |
</execution>
|
471 |
</executions>
|
472 |
</plugin>
|
473 |
<plugin>
|
474 |
<groupId>org.apache.maven.plugins</groupId> |
475 |
<artifactId>maven-surefire-plugin</artifactId> |
476 |
<configuration>
|
477 |
<additionalClasspathElements>
|
478 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
479 |
</additionalClasspathElements>
|
480 |
</configuration>
|
481 |
</plugin>
|
482 |
</plugins>
|
483 |
</build>
|
484 |
</profile>
|
485 |
<profile>
|
486 |
<id>eclipse-project</id> |
487 |
<build>
|
488 |
<defaultGoal>antrun:run</defaultGoal> |
489 |
<plugins>
|
490 |
<plugin>
|
491 |
<artifactId>maven-antrun-plugin</artifactId> |
492 |
<configuration>
|
493 |
<tasks>
|
494 |
<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml" |
495 |
target="eclipse.all" /> |
496 |
</tasks>
|
497 |
</configuration>
|
498 |
</plugin>
|
499 |
</plugins>
|
500 |
</build>
|
501 |
</profile>
|
502 |
</profiles>
|
503 |
<reporting>
|
504 |
<plugins>
|
505 |
<plugin>
|
506 |
<groupId>org.apache.maven.plugins</groupId> |
507 |
<artifactId>maven-javadoc-plugin</artifactId> |
508 |
<configuration>
|
509 |
<doctitle>${project.name} ${project.version}</doctitle> |
510 |
<groups>
|
511 |
<group>
|
512 |
<title>DAL File common</title> |
513 |
<packages>org.gvsig.fmap.dal*</packages> |
514 |
</group>
|
515 |
<group>
|
516 |
<title>DBF Store</title> |
517 |
<packages>org.gvsig.fmap.dal.store.dbf*</packages> |
518 |
</group>
|
519 |
<group>
|
520 |
<title>DGN Store</title> |
521 |
<packages>org.gvsig.fmap.dal.store.dgn*</packages> |
522 |
</group>
|
523 |
<group>
|
524 |
<title>SHP Store</title> |
525 |
<packages>org.gvsig.fmap.dal.store.shp*</packages> |
526 |
</group>
|
527 |
<group>
|
528 |
<title>DXF Store</title> |
529 |
<packages>org.gvsig.fmap.dal.store.dxf*</packages> |
530 |
</group>
|
531 |
</groups>
|
532 |
</configuration>
|
533 |
</plugin>
|
534 |
</plugins>
|
535 |
</reporting>
|
536 |
</project>
|