svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_mapcontext / pom.xml @ 39113
History | View | Annotate | Download (14.2 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/maven-v4_0_0.xsd"> |
6 |
<modelVersion>4.0.0</modelVersion> |
7 |
<artifactId>org.gvsig.fmap.mapcontext</artifactId> |
8 |
<packaging>jar</packaging> |
9 |
<version>2.0-SNAPSHOT</version> |
10 |
<name>libFMap_mapcontext</name> |
11 |
<parent>
|
12 |
<groupId>org.gvsig</groupId> |
13 |
<artifactId>gvsig-base-library-pom</artifactId> |
14 |
<version>2.0-SNAPSHOT</version> |
15 |
</parent>
|
16 |
<dependencies>
|
17 |
<dependency>
|
18 |
<groupId>org.gvsig</groupId> |
19 |
<artifactId>org.gvsig.tools.lib</artifactId> |
20 |
<scope>compile</scope> |
21 |
</dependency>
|
22 |
<dependency>
|
23 |
<groupId>org.gvsig</groupId> |
24 |
<artifactId>org.gvsig.tools.lib</artifactId> |
25 |
<type>test-jar</type> |
26 |
</dependency>
|
27 |
<dependency>
|
28 |
<groupId>org.gvsig</groupId> |
29 |
<artifactId>org.gvsig.compat</artifactId> |
30 |
<scope>compile</scope> |
31 |
</dependency>
|
32 |
<dependency>
|
33 |
<groupId>org.gvsig</groupId> |
34 |
<artifactId>org.gvsig.projection</artifactId> |
35 |
<scope>compile</scope> |
36 |
</dependency>
|
37 |
<dependency>
|
38 |
<groupId>org.gvsig</groupId> |
39 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
40 |
<scope>compile</scope> |
41 |
</dependency>
|
42 |
<dependency>
|
43 |
<groupId>org.gvsig</groupId> |
44 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
45 |
<classifier>operation</classifier> |
46 |
<scope>compile</scope> |
47 |
</dependency>
|
48 |
<dependency>
|
49 |
<groupId>org.gvsig</groupId> |
50 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
51 |
<scope>compile</scope> |
52 |
</dependency>
|
53 |
<dependency>
|
54 |
<groupId>org.gvsig</groupId> |
55 |
<artifactId>org.gvsig.metadata.lib.basic.api</artifactId> |
56 |
<scope>compile</scope> |
57 |
</dependency>
|
58 |
<dependency>
|
59 |
<groupId>org.gvsig</groupId> |
60 |
<artifactId>org.gvsig.timesupport.lib.api</artifactId> |
61 |
<scope>compile</scope> |
62 |
</dependency>
|
63 |
<dependency>
|
64 |
<groupId>org.slf4j</groupId> |
65 |
<artifactId>slf4j-api</artifactId> |
66 |
<scope>compile</scope> |
67 |
</dependency>
|
68 |
<dependency>
|
69 |
<groupId>com.vividsolutions</groupId> |
70 |
<artifactId>jts</artifactId> |
71 |
<scope>compile</scope> |
72 |
</dependency>
|
73 |
<dependency>
|
74 |
<groupId>easymock</groupId> |
75 |
<artifactId>easymock</artifactId> |
76 |
<version>1.2_Java1.3</version> |
77 |
<scope>test</scope> |
78 |
</dependency>
|
79 |
<dependency>
|
80 |
<groupId>javax.media</groupId> |
81 |
<artifactId>jai_core</artifactId> |
82 |
<scope>test</scope> |
83 |
</dependency>
|
84 |
<dependency>
|
85 |
<groupId>javax.media</groupId> |
86 |
<artifactId>jai_codec</artifactId> |
87 |
<scope>test</scope> |
88 |
</dependency>
|
89 |
</dependencies>
|
90 |
<properties>
|
91 |
<build-dir>${basedir}/../build</build-dir> |
92 |
<eclipse.project.name>libFMap_mapcontext</eclipse.project.name> |
93 |
</properties>
|
94 |
<build>
|
95 |
<sourceDirectory>src</sourceDirectory> |
96 |
<testSourceDirectory>src-test</testSourceDirectory> |
97 |
<resources>
|
98 |
<resource>
|
99 |
<directory>src</directory> |
100 |
<includes>
|
101 |
<include>**/*.gif</include> |
102 |
<include>**/*.png</include> |
103 |
<include>**/*.PNG</include> |
104 |
<include> **/*.bmp</include> |
105 |
<include> **/*.jpg</include> |
106 |
<include> **/*.jpeg</include> |
107 |
</includes>
|
108 |
</resource>
|
109 |
</resources>
|
110 |
<testResources>
|
111 |
<testResource>
|
112 |
<directory>resources-test</directory> |
113 |
</testResource>
|
114 |
</testResources>
|
115 |
<plugins>
|
116 |
<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
|
117 |
<plugin>
|
118 |
<groupId>org.apache.maven.plugins</groupId> |
119 |
<artifactId>maven-surefire-plugin</artifactId> |
120 |
<configuration>
|
121 |
<skipTests>true</skipTests> |
122 |
</configuration>
|
123 |
</plugin>
|
124 |
<plugin>
|
125 |
<groupId>org.apache.maven.plugins</groupId> |
126 |
<artifactId>maven-compiler-plugin</artifactId> |
127 |
<configuration>
|
128 |
<source>1.4</source> |
129 |
<target>1.4</target> |
130 |
<!-- put your configurations here -->
|
131 |
<encoding>ISO-8859-1</encoding> |
132 |
</configuration>
|
133 |
</plugin>
|
134 |
</plugins>
|
135 |
</build>
|
136 |
<profiles>
|
137 |
<profile>
|
138 |
<id>se</id> |
139 |
<activation>
|
140 |
<activeByDefault>true</activeByDefault> |
141 |
</activation>
|
142 |
<dependencies>
|
143 |
<dependency>
|
144 |
<groupId>org.gvsig</groupId> |
145 |
<artifactId>org.gvsig.tools.lib</artifactId> |
146 |
<type>test-jar</type> |
147 |
<scope>test</scope> |
148 |
</dependency>
|
149 |
|
150 |
<dependency>
|
151 |
<groupId>org.gvsig</groupId> |
152 |
<artifactId>org.gvsig.compat</artifactId> |
153 |
<version>2.0-SNAPSHOT</version> |
154 |
<classifier>se</classifier> |
155 |
<scope>test</scope> |
156 |
</dependency>
|
157 |
<dependency>
|
158 |
<groupId>org.gvsig</groupId> |
159 |
<artifactId>org.gvsig.projection</artifactId> |
160 |
<version>2.0-SNAPSHOT</version> |
161 |
<classifier>cresques-impl</classifier> |
162 |
<scope>test</scope> |
163 |
</dependency>
|
164 |
<dependency>
|
165 |
<groupId>org.gvsig</groupId> |
166 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
167 |
<version>2.0-SNAPSHOT</version> |
168 |
<classifier>impl</classifier> |
169 |
<scope>test</scope> |
170 |
</dependency>
|
171 |
<dependency>
|
172 |
<groupId>org.gvsig</groupId> |
173 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
174 |
<version>2.0-SNAPSHOT</version> |
175 |
<classifier>spi</classifier> |
176 |
<scope>test</scope> |
177 |
</dependency>
|
178 |
<dependency>
|
179 |
<groupId>org.gvsig</groupId> |
180 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
181 |
<version>2.0-SNAPSHOT</version> |
182 |
<classifier>impl</classifier> |
183 |
<scope>test</scope> |
184 |
</dependency>
|
185 |
<dependency>
|
186 |
<groupId>org.geotools</groupId> |
187 |
<artifactId>gt2-main</artifactId> |
188 |
<scope>test</scope> |
189 |
</dependency>
|
190 |
<dependency>
|
191 |
<groupId>org.geotools</groupId> |
192 |
<artifactId>gt2-legacy</artifactId> |
193 |
</dependency>
|
194 |
<dependency>
|
195 |
<groupId>org.opengis</groupId> |
196 |
<artifactId>geoapi</artifactId> |
197 |
<scope>test</scope> |
198 |
</dependency>
|
199 |
|
200 |
</dependencies>
|
201 |
<build>
|
202 |
|
203 |
<plugins>
|
204 |
<plugin>
|
205 |
<groupId>org.apache.maven.plugins</groupId> |
206 |
<artifactId>maven-jar-plugin</artifactId> |
207 |
<!--
|
208 |
Generates a jar file only with the mapcontext API
|
209 |
TODO: make a good configuration of excludes and
|
210 |
includes, when the api and implementation of
|
211 |
the mapcontext library would be performed.
|
212 |
-->
|
213 |
<configuration>
|
214 |
<excludes>
|
215 |
<exclude>org/gvsig/fmap/geom/**</exclude> |
216 |
</excludes>
|
217 |
</configuration>
|
218 |
<executions>
|
219 |
<!--
|
220 |
Generates a jar file only with the mapcontext implementation
|
221 |
-->
|
222 |
<execution>
|
223 |
<id>impl</id> |
224 |
<phase>package</phase> |
225 |
<goals>
|
226 |
<goal>jar</goal> |
227 |
</goals>
|
228 |
<configuration>
|
229 |
<classifier>impl</classifier> |
230 |
<excludes>
|
231 |
<exclude>**/**</exclude> |
232 |
</excludes>
|
233 |
</configuration>
|
234 |
</execution>
|
235 |
<!--
|
236 |
Generates a jar file only with the mapcontext geometries operations
|
237 |
-->
|
238 |
<execution>
|
239 |
<id>operation</id> |
240 |
<phase>package</phase> |
241 |
<goals>
|
242 |
<goal>jar</goal> |
243 |
</goals>
|
244 |
<configuration>
|
245 |
<classifier>operation</classifier> |
246 |
<excludes>
|
247 |
<exclude>NONE</exclude> |
248 |
</excludes>
|
249 |
<includes>
|
250 |
<include>org/gvsig/fmap/geom/**</include> |
251 |
</includes>
|
252 |
</configuration>
|
253 |
</execution>
|
254 |
<execution>
|
255 |
<goals>
|
256 |
<goal>test-jar</goal> |
257 |
</goals>
|
258 |
</execution>
|
259 |
</executions>
|
260 |
</plugin>
|
261 |
<plugin>
|
262 |
<artifactId>maven-antrun-plugin</artifactId> |
263 |
<executions>
|
264 |
<execution>
|
265 |
<id>services</id> |
266 |
<phase>package</phase> |
267 |
<goals>
|
268 |
<goal>run</goal> |
269 |
</goals>
|
270 |
<configuration>
|
271 |
<tasks>
|
272 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
273 |
update="true"> |
274 |
<fileset dir="${basedir}/resources/api" /> |
275 |
</jar>
|
276 |
<jar destfile="${project.build.directory}/${project.build.finalName}-impl.jar" |
277 |
update="true"> |
278 |
<fileset dir="${basedir}/resources/impl" /> |
279 |
</jar>
|
280 |
<jar destfile="${project.build.directory}/${project.build.finalName}-operation.jar" |
281 |
update="true"> |
282 |
<fileset dir="${basedir}/resources/operation" /> |
283 |
</jar>
|
284 |
</tasks>
|
285 |
</configuration>
|
286 |
</execution>
|
287 |
</executions>
|
288 |
</plugin>
|
289 |
<plugin>
|
290 |
<groupId>org.apache.maven.plugins</groupId> |
291 |
<artifactId>maven-surefire-plugin</artifactId> |
292 |
<configuration>
|
293 |
<additionalClasspathElements>
|
294 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
295 |
<additionalClasspathElement>${basedir}/resources/impl</additionalClasspathElement> |
296 |
<additionalClasspathElement>${basedir}/resources/operation</additionalClasspathElement> |
297 |
</additionalClasspathElements>
|
298 |
</configuration>
|
299 |
</plugin>
|
300 |
</plugins>
|
301 |
</build>
|
302 |
|
303 |
</profile>
|
304 |
<profile>
|
305 |
<id>cdc</id> |
306 |
<activation>
|
307 |
<activeByDefault>false</activeByDefault> |
308 |
</activation>
|
309 |
|
310 |
<dependencies>
|
311 |
<dependency>
|
312 |
<groupId>org.gvsig</groupId> |
313 |
<artifactId>org.gvsig.tools.lib</artifactId> |
314 |
<type>test-jar</type> |
315 |
<scope>test</scope> |
316 |
</dependency>
|
317 |
<dependency>
|
318 |
<groupId>org.gvsig.mobile</groupId> |
319 |
<artifactId>org.gvsig.mobile.compat</artifactId> |
320 |
<version>2.0-SNAPSHOT</version> |
321 |
<scope>test</scope> |
322 |
</dependency>
|
323 |
<dependency>
|
324 |
<groupId>org.gvsig.mobile</groupId> |
325 |
<artifactId>org.gvsig.mobile.libProjection</artifactId> |
326 |
<version>0.0.1-SNAPSHOT</version> |
327 |
<scope>test</scope> |
328 |
</dependency>
|
329 |
<dependency>
|
330 |
<groupId>org.gvsig</groupId> |
331 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
332 |
<version>2.0-SNAPSHOT</version> |
333 |
<classifier>impl</classifier> |
334 |
<scope>test</scope> |
335 |
</dependency>
|
336 |
<dependency>
|
337 |
<groupId>org.gvsig</groupId> |
338 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
339 |
<version>2.0-SNAPSHOT</version> |
340 |
<classifier>spi</classifier> |
341 |
<scope>test</scope> |
342 |
</dependency>
|
343 |
<dependency>
|
344 |
<groupId>org.gvsig</groupId> |
345 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
346 |
<version>2.0-SNAPSHOT</version> |
347 |
<classifier>impl</classifier> |
348 |
<scope>test</scope> |
349 |
</dependency>
|
350 |
|
351 |
</dependencies>
|
352 |
|
353 |
<build>
|
354 |
<plugins>
|
355 |
<plugin>
|
356 |
<groupId>org.apache.maven.plugins</groupId> |
357 |
<artifactId>maven-compiler-plugin</artifactId> |
358 |
<configuration>
|
359 |
<source>1.4</source> |
360 |
<target>1.4</target> |
361 |
<!-- put your configurations here -->
|
362 |
<encoding>ISO-8859-1</encoding> |
363 |
</configuration>
|
364 |
</plugin>
|
365 |
<plugin>
|
366 |
<groupId>org.apache.maven.plugins</groupId> |
367 |
<artifactId>maven-jar-plugin</artifactId> |
368 |
<!--
|
369 |
Generates a jar file only with the mapcontext API
|
370 |
TODO: make a good configuration of excludes and
|
371 |
includes, when the api and implementation of
|
372 |
the mapcontext library would be performed.
|
373 |
-->
|
374 |
<configuration>
|
375 |
<excludes>
|
376 |
<exclude>org/gvsig/fmap/geom/**</exclude> |
377 |
</excludes>
|
378 |
</configuration>
|
379 |
<executions>
|
380 |
<!--
|
381 |
Generates a jar file only with the mapcontext implementation
|
382 |
-->
|
383 |
<execution>
|
384 |
<id>impl</id> |
385 |
<phase>package</phase> |
386 |
<goals>
|
387 |
<goal>jar</goal> |
388 |
</goals>
|
389 |
<configuration>
|
390 |
<classifier>impl</classifier> |
391 |
<excludes>
|
392 |
<exclude>**/**</exclude> |
393 |
</excludes>
|
394 |
</configuration>
|
395 |
</execution>
|
396 |
<!--
|
397 |
Generates a jar file only with the mapcontext geometries operations
|
398 |
-->
|
399 |
<execution>
|
400 |
<id>operation</id> |
401 |
<phase>package</phase> |
402 |
<goals>
|
403 |
<goal>jar</goal> |
404 |
</goals>
|
405 |
<configuration>
|
406 |
<classifier>operation</classifier> |
407 |
<excludes>
|
408 |
<exclude>NONE</exclude> |
409 |
</excludes>
|
410 |
<includes>
|
411 |
<include>org/gvsig/fmap/geom/**</include> |
412 |
</includes>
|
413 |
</configuration>
|
414 |
</execution>
|
415 |
</executions>
|
416 |
</plugin>
|
417 |
<plugin>
|
418 |
<artifactId>maven-antrun-plugin</artifactId> |
419 |
<executions>
|
420 |
<execution>
|
421 |
<id>services</id> |
422 |
<phase>package</phase> |
423 |
<goals>
|
424 |
<goal>run</goal> |
425 |
</goals>
|
426 |
<configuration>
|
427 |
<tasks>
|
428 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
429 |
update="true"> |
430 |
<fileset dir="${basedir}/resources/api" /> |
431 |
</jar>
|
432 |
<jar destfile="${project.build.directory}/${project.build.finalName}-impl.jar" |
433 |
update="true"> |
434 |
<fileset dir="${basedir}/resources/impl" /> |
435 |
</jar>
|
436 |
<jar destfile="${project.build.directory}/${project.build.finalName}-operation.jar" |
437 |
update="true"> |
438 |
<fileset dir="${basedir}/resources/operation" /> |
439 |
</jar>
|
440 |
</tasks>
|
441 |
</configuration>
|
442 |
</execution>
|
443 |
</executions>
|
444 |
</plugin>
|
445 |
<plugin>
|
446 |
<groupId>org.apache.maven.plugins</groupId> |
447 |
<artifactId>maven-surefire-plugin</artifactId> |
448 |
<configuration>
|
449 |
<additionalClasspathElements>
|
450 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
451 |
<additionalClasspathElement>${basedir}/resources/impl</additionalClasspathElement> |
452 |
<additionalClasspathElement>${basedir}/resources/operation</additionalClasspathElement> |
453 |
</additionalClasspathElements>
|
454 |
</configuration>
|
455 |
</plugin>
|
456 |
</plugins>
|
457 |
</build>
|
458 |
|
459 |
</profile>
|
460 |
<profile>
|
461 |
<id>eclipse-project</id> |
462 |
<build>
|
463 |
<defaultGoal>antrun:run</defaultGoal> |
464 |
<plugins>
|
465 |
<plugin>
|
466 |
<artifactId>maven-antrun-plugin</artifactId> |
467 |
<configuration>
|
468 |
<tasks>
|
469 |
<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml" |
470 |
target="eclipse.all"/> |
471 |
</tasks>
|
472 |
</configuration>
|
473 |
</plugin>
|
474 |
</plugins>
|
475 |
</build>
|
476 |
</profile>
|
477 |
</profiles>
|
478 |
</project>
|