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