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