root / branches / v2_0_0_prep / libraries / libFMap_geometries / pom.xml @ 38545
History | View | Annotate | Download (12.1 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.geometry</artifactId> |
9 |
<packaging>jar</packaging> |
10 |
<version>2.0-SNAPSHOT</version> |
11 |
<name>libFMap_geometries</name> |
12 |
<parent>
|
13 |
<groupId>org.gvsig</groupId> |
14 |
<artifactId>gvsig-base-library-pom</artifactId> |
15 |
<version>2.0-SNAPSHOT</version> |
16 |
</parent>
|
17 |
<dependencies>
|
18 |
<dependency>
|
19 |
<groupId>org.gvsig</groupId> |
20 |
<artifactId>org.gvsig.tools.lib</artifactId> |
21 |
<scope>compile</scope> |
22 |
</dependency>
|
23 |
<dependency>
|
24 |
<groupId>com.vividsolutions</groupId> |
25 |
<artifactId>jts</artifactId> |
26 |
<scope>compile</scope> |
27 |
</dependency>
|
28 |
<dependency>
|
29 |
<groupId>org.gvsig</groupId> |
30 |
<artifactId>org.gvsig.tools.lib</artifactId> |
31 |
<type>test-jar</type> |
32 |
<scope>test</scope> |
33 |
</dependency>
|
34 |
<dependency>
|
35 |
<groupId>org.gvsig</groupId> |
36 |
<artifactId>org.gvsig.projection</artifactId> |
37 |
<scope>compile</scope> |
38 |
</dependency>
|
39 |
<dependency>
|
40 |
<groupId>org.gvsig</groupId> |
41 |
<artifactId>org.gvsig.projection</artifactId> |
42 |
<classifier>cresques-impl</classifier> |
43 |
<scope>test</scope> |
44 |
</dependency>
|
45 |
<dependency>
|
46 |
<groupId>org.slf4j</groupId> |
47 |
<artifactId>slf4j-api</artifactId> |
48 |
<scope>compile</scope> |
49 |
</dependency>
|
50 |
<dependency>
|
51 |
<groupId>org.opengis</groupId> |
52 |
<artifactId>geoapi</artifactId> |
53 |
<scope>test</scope> |
54 |
</dependency>
|
55 |
<dependency>
|
56 |
<groupId>org.geotools</groupId> |
57 |
<artifactId>gt2-legacy</artifactId> |
58 |
<scope>test</scope> |
59 |
</dependency>
|
60 |
<dependency>
|
61 |
<groupId>org.geotools</groupId> |
62 |
<artifactId>gt2-main</artifactId> |
63 |
<scope>test</scope> |
64 |
</dependency>
|
65 |
<dependency>
|
66 |
<groupId>geojava</groupId> |
67 |
<artifactId>geojava</artifactId> |
68 |
<scope>test</scope> |
69 |
</dependency>
|
70 |
<dependency>
|
71 |
<groupId>javax.media</groupId> |
72 |
<artifactId>jai_core</artifactId> |
73 |
<scope>test</scope> |
74 |
</dependency>
|
75 |
<dependency>
|
76 |
<groupId>javax.media</groupId> |
77 |
<artifactId>jai_codec</artifactId> |
78 |
<scope>test</scope> |
79 |
</dependency>
|
80 |
</dependencies>
|
81 |
|
82 |
<properties>
|
83 |
<build-dir>${basedir}/../build</build-dir> |
84 |
<eclipse.project.name>libFMap_geometries</eclipse.project.name> |
85 |
</properties>
|
86 |
|
87 |
<build>
|
88 |
<sourceDirectory>src</sourceDirectory> |
89 |
<testSourceDirectory>src-test</testSourceDirectory> |
90 |
<plugins>
|
91 |
<plugin>
|
92 |
<groupId>org.apache.maven.plugins</groupId> |
93 |
<artifactId>maven-compiler-plugin</artifactId> |
94 |
<configuration>
|
95 |
<source>1.4</source> |
96 |
<target>1.4</target> |
97 |
</configuration>
|
98 |
</plugin>
|
99 |
</plugins>
|
100 |
</build>
|
101 |
|
102 |
<profiles>
|
103 |
<profile>
|
104 |
<id>se</id> |
105 |
<activation>
|
106 |
<activeByDefault>true</activeByDefault> |
107 |
</activation>
|
108 |
<dependencies>
|
109 |
<dependency>
|
110 |
<groupId>org.gvsig</groupId> |
111 |
<artifactId>org.gvsig.jdk.v1_6</artifactId> |
112 |
<version>1.0.0-SNAPSHOT</version> |
113 |
</dependency>
|
114 |
</dependencies>
|
115 |
<build>
|
116 |
<plugins>
|
117 |
<plugin>
|
118 |
<groupId>org.apache.maven.plugins</groupId> |
119 |
<artifactId>maven-jar-plugin</artifactId> |
120 |
<configuration>
|
121 |
<excludes>
|
122 |
<exclude>**/operation/*/*</exclude> |
123 |
<exclude>**/impl/**</exclude> |
124 |
</excludes>
|
125 |
</configuration>
|
126 |
<executions>
|
127 |
<!--
|
128 |
Generates a jar file only with the geometries API TODO: make a good
|
129 |
configuration of excludes and includes, when the api and implementation
|
130 |
of the geometries library would be performed. <execution> <id>api</id>
|
131 |
<phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration>
|
132 |
<classifier>api</classifier> <excludes>
|
133 |
<exclude>**/operation/*/*</exclude> </excludes> </configuration>
|
134 |
</execution>
|
135 |
-->
|
136 |
<!--
|
137 |
Generates a jar file only with the geometries implementation
|
138 |
-->
|
139 |
<execution>
|
140 |
<id>impl</id> |
141 |
<phase>package</phase> |
142 |
<goals>
|
143 |
<goal>jar</goal> |
144 |
</goals>
|
145 |
<configuration>
|
146 |
<classifier>impl</classifier> |
147 |
<excludes>
|
148 |
<exclude>**/operation/impl/**</exclude> |
149 |
</excludes>
|
150 |
<includes>
|
151 |
<include>**/impl/**</include> |
152 |
</includes>
|
153 |
</configuration>
|
154 |
</execution>
|
155 |
<!--
|
156 |
Generates a jar file only with the geometries operations
|
157 |
-->
|
158 |
<execution>
|
159 |
<id>operation</id> |
160 |
<phase>package</phase> |
161 |
<goals>
|
162 |
<goal>jar</goal> |
163 |
</goals>
|
164 |
<configuration>
|
165 |
<classifier>operation</classifier> |
166 |
<excludes>
|
167 |
<exclude>NONE</exclude> |
168 |
</excludes>
|
169 |
<includes>
|
170 |
<include>**/operation/*/*</include> |
171 |
</includes>
|
172 |
</configuration>
|
173 |
</execution>
|
174 |
</executions>
|
175 |
</plugin>
|
176 |
<plugin>
|
177 |
<artifactId>maven-antrun-plugin</artifactId> |
178 |
<executions>
|
179 |
<execution>
|
180 |
<id>services</id> |
181 |
<phase>package</phase> |
182 |
<goals>
|
183 |
<goal>run</goal> |
184 |
</goals>
|
185 |
<configuration>
|
186 |
<tasks>
|
187 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
188 |
update="true"> |
189 |
<fileset dir="${basedir}/resources/api" /> |
190 |
</jar>
|
191 |
<jar destfile="${project.build.directory}/${project.build.finalName}-impl.jar" |
192 |
update="true"> |
193 |
<fileset dir="${basedir}/resources/impl" /> |
194 |
</jar>
|
195 |
<jar destfile="${project.build.directory}/${project.build.finalName}-operation.jar" |
196 |
update="true"> |
197 |
<fileset dir="${basedir}/resources/operation" /> |
198 |
</jar>
|
199 |
</tasks>
|
200 |
</configuration>
|
201 |
</execution>
|
202 |
</executions>
|
203 |
</plugin>
|
204 |
<plugin>
|
205 |
<groupId>org.apache.maven.plugins</groupId> |
206 |
<artifactId>maven-surefire-plugin</artifactId> |
207 |
<configuration>
|
208 |
<additionalClasspathElements>
|
209 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
210 |
<additionalClasspathElement>${basedir}/resources/impl</additionalClasspathElement> |
211 |
<additionalClasspathElement>${basedir}/resources/operation</additionalClasspathElement> |
212 |
</additionalClasspathElements>
|
213 |
</configuration>
|
214 |
</plugin>
|
215 |
|
216 |
</plugins>
|
217 |
</build>
|
218 |
</profile>
|
219 |
|
220 |
<profile>
|
221 |
<id>cdc</id> |
222 |
<activation>
|
223 |
<activeByDefault>false</activeByDefault> |
224 |
</activation>
|
225 |
<dependencies>
|
226 |
<dependency>
|
227 |
<groupId>org.gvsig</groupId> |
228 |
<artifactId>org.gvsig.jdk.v1_4</artifactId> |
229 |
<version>1.0.0-SNAPSHOT</version> |
230 |
</dependency>
|
231 |
</dependencies>
|
232 |
<build>
|
233 |
<plugins>
|
234 |
<plugin>
|
235 |
<groupId>org.apache.maven.plugins</groupId> |
236 |
<artifactId>maven-compiler-plugin</artifactId> |
237 |
<configuration>
|
238 |
<excludes>
|
239 |
<exclude>**/operation/fromwkb/*</exclude> |
240 |
<exclude>**/operation/towkb/*</exclude> |
241 |
<exclude>**/operation/impl/*</exclude> |
242 |
</excludes>
|
243 |
|
244 |
<testExcludes>
|
245 |
<exclude>**/fmap/geom/*</exclude> |
246 |
<exclude>**/geom/operation/**</exclude> |
247 |
</testExcludes>
|
248 |
|
249 |
</configuration>
|
250 |
</plugin>
|
251 |
<plugin>
|
252 |
<groupId>org.apache.maven.plugins</groupId> |
253 |
<artifactId>maven-javadoc-plugin</artifactId> |
254 |
</plugin>
|
255 |
<plugin>
|
256 |
<groupId>org.apache.maven.plugins</groupId> |
257 |
<artifactId>maven-jar-plugin</artifactId> |
258 |
<configuration>
|
259 |
|
260 |
<includes>
|
261 |
<include>**/**</include> |
262 |
</includes>
|
263 |
<excludes>
|
264 |
<exclude>**/operation/fromwkb/*</exclude> |
265 |
<exclude>**/operation/towkb/*</exclude> |
266 |
<exclude>**/operation/impl/*</exclude> |
267 |
</excludes>
|
268 |
</configuration>
|
269 |
<executions>
|
270 |
<execution>
|
271 |
<id>impl</id> |
272 |
<phase>package</phase> |
273 |
<goals>
|
274 |
<goal>jar</goal> |
275 |
</goals>
|
276 |
<configuration>
|
277 |
<classifier>impl</classifier> |
278 |
<includes>
|
279 |
<include>**/impl/**</include> |
280 |
</includes>
|
281 |
<excludes>
|
282 |
<exclude>**/operation/impl/**</exclude> |
283 |
</excludes>
|
284 |
</configuration>
|
285 |
</execution>
|
286 |
|
287 |
<execution>
|
288 |
<id>operation</id> |
289 |
<phase>package</phase> |
290 |
<goals>
|
291 |
<goal>jar</goal> |
292 |
</goals>
|
293 |
<configuration>
|
294 |
<classifier>operation</classifier> |
295 |
<includes>
|
296 |
<include>**/operation/*/*</include> |
297 |
</includes>
|
298 |
<excludes>
|
299 |
<exclude>**/operation/fromwkb/*</exclude> |
300 |
<exclude>**/operation/towkb/*</exclude> |
301 |
</excludes>
|
302 |
</configuration>
|
303 |
</execution>
|
304 |
|
305 |
</executions>
|
306 |
</plugin>
|
307 |
|
308 |
<plugin>
|
309 |
<artifactId>maven-antrun-plugin</artifactId> |
310 |
<executions>
|
311 |
<execution>
|
312 |
<id>services</id> |
313 |
<phase>package</phase> |
314 |
<goals>
|
315 |
<goal>run</goal> |
316 |
</goals>
|
317 |
<configuration>
|
318 |
<tasks>
|
319 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
320 |
update="true"> |
321 |
<fileset dir="${basedir}/resources/api" /> |
322 |
</jar>
|
323 |
<jar destfile="${project.build.directory}/${project.build.finalName}-impl.jar" |
324 |
update="true"> |
325 |
<fileset dir="${basedir}/resources/impl" /> |
326 |
</jar>
|
327 |
</tasks>
|
328 |
</configuration>
|
329 |
</execution>
|
330 |
</executions>
|
331 |
</plugin>
|
332 |
<plugin>
|
333 |
<groupId>org.apache.maven.plugins</groupId> |
334 |
<artifactId>maven-surefire-plugin</artifactId> |
335 |
<configuration>
|
336 |
<additionalClasspathElements>
|
337 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
338 |
<additionalClasspathElement>${basedir}/resources/impl</additionalClasspathElement> |
339 |
</additionalClasspathElements>
|
340 |
</configuration>
|
341 |
</plugin>
|
342 |
|
343 |
</plugins>
|
344 |
</build>
|
345 |
</profile>
|
346 |
<profile>
|
347 |
<id>eclipse-project</id> |
348 |
<build>
|
349 |
<defaultGoal>antrun:run</defaultGoal> |
350 |
<plugins>
|
351 |
<plugin>
|
352 |
<artifactId>maven-antrun-plugin</artifactId> |
353 |
<configuration>
|
354 |
<tasks>
|
355 |
<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml" |
356 |
target="eclipse.all"/> |
357 |
</tasks>
|
358 |
</configuration>
|
359 |
</plugin>
|
360 |
</plugins>
|
361 |
</build>
|
362 |
</profile>
|
363 |
</profiles>
|
364 |
<reporting>
|
365 |
<plugins>
|
366 |
<plugin>
|
367 |
<groupId>org.apache.maven.plugins</groupId> |
368 |
<artifactId>maven-javadoc-plugin</artifactId> |
369 |
<reportSets>
|
370 |
<reportSet>
|
371 |
<id>api</id> |
372 |
<configuration>
|
373 |
<subpackages>org.gvsig.fmap.geom</subpackages> |
374 |
<excludePackageNames>org.gvsig.fmap.geom.operation:org.gvsig.fmap.geom.impl:org.gvsig.fmap.geom.aggregate.impl:org.gvsig.fmap.geom.primitive.impl:org.gvsig.fmap.geom.type.impl</excludePackageNames> |
375 |
<name>JavaDoc - API</name> |
376 |
<destDir>api</destDir> |
377 |
</configuration>
|
378 |
<reports>
|
379 |
<report>javadoc</report> |
380 |
</reports>
|
381 |
</reportSet>
|
382 |
<reportSet>
|
383 |
<id>operation</id> |
384 |
<configuration>
|
385 |
<subpackages>org.gvsig.fmap.geom.operation</subpackages> |
386 |
<name>JavaDoc - Geometry operations</name> |
387 |
<destDir>operation</destDir> |
388 |
</configuration>
|
389 |
<reports>
|
390 |
<report>javadoc</report> |
391 |
</reports>
|
392 |
</reportSet>
|
393 |
<reportSet>
|
394 |
<id>impl</id> |
395 |
<configuration>
|
396 |
<subpackages>org.gvsig.fmap.geom.impl:org.gvsig.fmap.geom.aggregate.impl:org.gvsig.fmap.geom.primitive.impl:org.gvsig.fmap.geom.type.impl</subpackages> |
397 |
<name>JavaDoc - Default implementation</name> |
398 |
<destDir>impl</destDir> |
399 |
</configuration>
|
400 |
<reports>
|
401 |
<report>javadoc</report> |
402 |
</reports>
|
403 |
</reportSet>
|
404 |
</reportSets>
|
405 |
</plugin>
|
406 |
</plugins>
|
407 |
</reporting>
|
408 |
</project>
|