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