root / branches / v2_0_0_prep / libraries / libFMap_geometries / pom.xml @ 38599
History | View | Annotate | Download (12.1 KB)
1 | 26756 | cordinyana | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | |||
3 | 26009 | cordinyana | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 26756 | cordinyana | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
5 | 28937 | cordinyana | http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 | 29097 | jpiera | |
7 | 20770 | jcampos | <modelVersion>4.0.0</modelVersion> |
8 | 26009 | cordinyana | <artifactId>org.gvsig.fmap.geometry</artifactId> |
9 | 20770 | jcampos | <packaging>jar</packaging> |
10 | 22598 | jcampos | <version>2.0-SNAPSHOT</version> |
11 | <name>libFMap_geometries</name> |
||
12 | 20770 | jcampos | <parent>
|
13 | <groupId>org.gvsig</groupId> |
||
14 | 29631 | jpiera | <artifactId>gvsig-base-library-pom</artifactId> |
15 | 23440 | jmvivo | <version>2.0-SNAPSHOT</version> |
16 | 31493 | cordinyana | </parent>
|
17 | 20770 | jcampos | <dependencies>
|
18 | <dependency>
|
||
19 | <groupId>org.gvsig</groupId> |
||
20 | 32264 | cordinyana | <artifactId>org.gvsig.tools.lib</artifactId> |
21 | 34707 | cordinyana | <scope>compile</scope> |
22 | 33388 | jpiera | </dependency>
|
23 | 21761 | jcampos | <dependency>
|
24 | 31493 | cordinyana | <groupId>com.vividsolutions</groupId> |
25 | 21761 | jcampos | <artifactId>jts</artifactId> |
26 | 34707 | cordinyana | <scope>compile</scope> |
27 | 33388 | jpiera | </dependency>
|
28 | <dependency>
|
||
29 | <groupId>org.gvsig</groupId> |
||
30 | <artifactId>org.gvsig.tools.lib</artifactId> |
||
31 | 34149 | cordinyana | <type>test-jar</type> |
32 | 34707 | cordinyana | <scope>test</scope> |
33 | 31671 | jpiera | </dependency>
|
34 | 34707 | cordinyana | <dependency>
|
35 | <groupId>org.gvsig</groupId> |
||
36 | <artifactId>org.gvsig.projection</artifactId> |
||
37 | <scope>compile</scope> |
||
38 | </dependency>
|
||
39 | 33388 | jpiera | <dependency>
|
40 | <groupId>org.gvsig</groupId> |
||
41 | <artifactId>org.gvsig.projection</artifactId> |
||
42 | <classifier>cresques-impl</classifier> |
||
43 | <scope>test</scope> |
||
44 | 34707 | cordinyana | </dependency>
|
45 | <dependency>
|
||
46 | <groupId>org.slf4j</groupId> |
||
47 | <artifactId>slf4j-api</artifactId> |
||
48 | <scope>compile</scope> |
||
49 | </dependency>
|
||
50 | 33388 | jpiera | <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 | 20770 | jcampos | </dependencies>
|
81 | 28589 | rgaitan | |
82 | <properties>
|
||
83 | <build-dir>${basedir}/../build</build-dir> |
||
84 | 35180 | cordinyana | <eclipse.project.name>libFMap_geometries</eclipse.project.name> |
85 | 28589 | rgaitan | </properties>
|
86 | |||
87 | 20770 | jcampos | <build>
|
88 | <sourceDirectory>src</sourceDirectory> |
||
89 | <testSourceDirectory>src-test</testSourceDirectory> |
||
90 | 36197 | cordinyana | <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 | 29097 | jpiera | </build>
|
101 | |||
102 | 27895 | jcarrasco | <profiles>
|
103 | <profile>
|
||
104 | 29097 | jpiera | <id>se</id> |
105 | <activation>
|
||
106 | <activeByDefault>true</activeByDefault> |
||
107 | </activation>
|
||
108 | 27895 | jcarrasco | <dependencies>
|
109 | 29097 | jpiera | <dependency>
|
110 | 29826 | jcarrasco | <groupId>org.gvsig</groupId> |
111 | 31821 | jpiera | <artifactId>org.gvsig.jdk.v1_6</artifactId> |
112 | 32641 | cordinyana | <version>1.0.0-SNAPSHOT</version> |
113 | 31821 | jpiera | </dependency>
|
114 | 27895 | jcarrasco | </dependencies>
|
115 | <build>
|
||
116 | 29097 | jpiera | <plugins>
|
117 | <plugin>
|
||
118 | <groupId>org.apache.maven.plugins</groupId> |
||
119 | <artifactId>maven-jar-plugin</artifactId> |
||
120 | <configuration>
|
||
121 | 26009 | cordinyana | <excludes>
|
122 | 29097 | jpiera | <exclude>**/operation/*/*</exclude> |
123 | <exclude>**/impl/**</exclude> |
||
124 | 26009 | cordinyana | </excludes>
|
125 | </configuration>
|
||
126 | 29097 | jpiera | <executions>
|
127 | <!--
|
||
128 | 30580 | cordinyana | 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 | 29097 | jpiera | <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 | 30580 | cordinyana | <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 | 29097 | jpiera | </plugins>
|
217 | </build>
|
||
218 | </profile>
|
||
219 | |||
220 | <profile>
|
||
221 | <id>cdc</id> |
||
222 | <activation>
|
||
223 | <activeByDefault>false</activeByDefault> |
||
224 | </activation>
|
||
225 | 29826 | jcarrasco | <dependencies>
|
226 | <dependency>
|
||
227 | <groupId>org.gvsig</groupId> |
||
228 | 31821 | jpiera | <artifactId>org.gvsig.jdk.v1_4</artifactId> |
229 | 32641 | cordinyana | <version>1.0.0-SNAPSHOT</version> |
230 | 31821 | jpiera | </dependency>
|
231 | 29826 | jcarrasco | </dependencies>
|
232 | 29097 | jpiera | <build>
|
233 | <plugins>
|
||
234 | <plugin>
|
||
235 | <groupId>org.apache.maven.plugins</groupId> |
||
236 | <artifactId>maven-compiler-plugin</artifactId> |
||
237 | <configuration>
|
||
238 | <excludes>
|
||
239 | 29972 | jldominguez | <exclude>**/operation/fromwkb/*</exclude> |
240 | 31044 | jldominguez | <exclude>**/operation/towkb/*</exclude> |
241 | 29972 | jldominguez | <exclude>**/operation/impl/*</exclude> |
242 | 29097 | jpiera | </excludes>
|
243 | 29972 | jldominguez | |
244 | 29097 | jpiera | <testExcludes>
|
245 | 31044 | jldominguez | <exclude>**/fmap/geom/*</exclude> |
246 | <exclude>**/geom/operation/**</exclude> |
||
247 | 29097 | jpiera | </testExcludes>
|
248 | 29972 | jldominguez | |
249 | 29097 | jpiera | </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 | 29972 | jldominguez | |
260 | <includes>
|
||
261 | <include>**/**</include> |
||
262 | </includes>
|
||
263 | 29097 | jpiera | <excludes>
|
264 | 29972 | jldominguez | <exclude>**/operation/fromwkb/*</exclude> |
265 | <exclude>**/operation/towkb/*</exclude> |
||
266 | 31044 | jldominguez | <exclude>**/operation/impl/*</exclude> |
267 | 29097 | jpiera | </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 | 29972 | jldominguez | <includes>
|
279 | <include>**/impl/**</include> |
||
280 | </includes>
|
||
281 | 29097 | jpiera | <excludes>
|
282 | <exclude>**/operation/impl/**</exclude> |
||
283 | </excludes>
|
||
284 | </configuration>
|
||
285 | </execution>
|
||
286 | 30580 | cordinyana | |
287 | 29826 | jcarrasco | <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 | 29972 | jldominguez | <excludes>
|
299 | <exclude>**/operation/fromwkb/*</exclude> |
||
300 | 31044 | jldominguez | <exclude>**/operation/towkb/*</exclude> |
301 | 29972 | jldominguez | </excludes>
|
302 | 29826 | jcarrasco | </configuration>
|
303 | </execution>
|
||
304 | 30580 | cordinyana | |
305 | 29097 | jpiera | </executions>
|
306 | </plugin>
|
||
307 | 31044 | jldominguez | |
308 | 30580 | cordinyana | <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 | 31044 | jldominguez | |
343 | 29097 | jpiera | </plugins>
|
344 | </build>
|
||
345 | </profile>
|
||
346 | 31333 | cordinyana | <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 | 27895 | jcarrasco | </profiles>
|
364 | 28554 | cordinyana | <reporting>
|
365 | <plugins>
|
||
366 | <plugin>
|
||
367 | <groupId>org.apache.maven.plugins</groupId> |
||
368 | <artifactId>maven-javadoc-plugin</artifactId> |
||
369 | 29097 | jpiera | <reportSets>
|
370 | <reportSet>
|
||
371 | <id>api</id> |
||
372 | <configuration>
|
||
373 | <subpackages>org.gvsig.fmap.geom</subpackages> |
||
374 | 29688 | jpiera | <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 | 29115 | jpiera | <name>JavaDoc - API</name> |
376 | 30580 | cordinyana | <destDir>api</destDir> |
377 | </configuration>
|
||
378 | 29097 | jpiera | <reports>
|
379 | <report>javadoc</report> |
||
380 | 30580 | cordinyana | </reports>
|
381 | 29097 | jpiera | </reportSet>
|
382 | <reportSet>
|
||
383 | <id>operation</id> |
||
384 | <configuration>
|
||
385 | <subpackages>org.gvsig.fmap.geom.operation</subpackages> |
||
386 | 29115 | jpiera | <name>JavaDoc - Geometry operations</name> |
387 | 30580 | cordinyana | <destDir>operation</destDir> |
388 | 29097 | jpiera | </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 | 29115 | jpiera | <name>JavaDoc - Default implementation</name> |
398 | 30580 | cordinyana | <destDir>impl</destDir> |
399 | </configuration>
|
||
400 | 29097 | jpiera | <reports>
|
401 | <report>javadoc</report> |
||
402 | 30580 | cordinyana | </reports>
|
403 | 29097 | jpiera | </reportSet>
|
404 | </reportSets>
|
||
405 | 28554 | cordinyana | </plugin>
|
406 | </plugins>
|
||
407 | 29097 | jpiera | </reporting>
|
408 | 26009 | cordinyana | </project> |