svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_dalindex / pom.xml @ 39278
History | View | Annotate | Download (10 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 |
<artifactId>org.gvsig.fmap.dal.index.spatial
|
8 |
</artifactId>
|
9 |
<packaging>jar</packaging> |
10 |
<version>2.0-SNAPSHOT</version> |
11 |
<name>libFMap_dalindex</name> |
12 |
<parent>
|
13 |
<groupId>org.gvsig</groupId> |
14 |
<artifactId>gvsig-base-library-pom</artifactId> |
15 |
<version>2.0-SNAPSHOT</version> |
16 |
</parent>
|
17 |
<properties>
|
18 |
<!-- gt2 -->
|
19 |
<gt2-jarIncludes>org/gvsig/fmap/dal/index/spatial/gt2/**
|
20 |
</gt2-jarIncludes>
|
21 |
<gt2-jarExcludes>NONE</gt2-jarExcludes> |
22 |
|
23 |
<!-- jts -->
|
24 |
<jts-jarIncludes>org/gvsig/fmap/dal/index/spatial/jts/**
|
25 |
</jts-jarIncludes>
|
26 |
<jts-jarExcludes>NONE</jts-jarExcludes> |
27 |
|
28 |
<!-- jsi -->
|
29 |
<jsi-jarIncludes>org/gvsig/fmap/dal/index/spatial/jsi/**
|
30 |
</jsi-jarIncludes>
|
31 |
<jsi-jarExcludes>NONE</jsi-jarExcludes> |
32 |
|
33 |
<!-- spatialindex -->
|
34 |
<sptidx-jarIncludes>org/gvsig/fmap/dal/index/spatial/spatialindex/**
|
35 |
</sptidx-jarIncludes>
|
36 |
<sptidx-jarExcludes>NONE</sptidx-jarExcludes> |
37 |
|
38 |
<build-dir>${basedir}/../build</build-dir> |
39 |
<eclipse.project.name>libFMap_dalindex</eclipse.project.name> |
40 |
</properties>
|
41 |
|
42 |
<dependencies>
|
43 |
<dependency>
|
44 |
<groupId>org.gvsig</groupId> |
45 |
<artifactId>org.gvsig.tools.lib</artifactId> |
46 |
<scope>compile</scope> |
47 |
</dependency>
|
48 |
<dependency>
|
49 |
<groupId>org.gvsig</groupId> |
50 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
51 |
<scope>compile</scope> |
52 |
</dependency>
|
53 |
<dependency>
|
54 |
<groupId>org.gvsig</groupId> |
55 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
56 |
<classifier>spi</classifier> |
57 |
<scope>compile</scope> |
58 |
</dependency>
|
59 |
<dependency>
|
60 |
<groupId>org.gvsig</groupId> |
61 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
62 |
<scope>compile</scope> |
63 |
</dependency>
|
64 |
<dependency>
|
65 |
<groupId>org.gvsig</groupId> |
66 |
<artifactId>org.gvsig.metadata.lib.basic.api</artifactId> |
67 |
<scope>compile</scope> |
68 |
</dependency>
|
69 |
<dependency>
|
70 |
<groupId>org.gvsig</groupId> |
71 |
<artifactId>org.gvsig.projection</artifactId> |
72 |
<scope>compile</scope> |
73 |
</dependency>
|
74 |
<dependency>
|
75 |
<groupId>com.vividsolutions</groupId> |
76 |
<artifactId>jts</artifactId> |
77 |
<scope>compile</scope> |
78 |
</dependency>
|
79 |
<dependency>
|
80 |
<groupId>net.sf</groupId> |
81 |
<artifactId>jsi</artifactId> |
82 |
<scope>compile</scope> |
83 |
</dependency>
|
84 |
<dependency>
|
85 |
<groupId>sil</groupId> |
86 |
<artifactId>sil</artifactId> |
87 |
<scope>compile</scope> |
88 |
</dependency>
|
89 |
<dependency>
|
90 |
<groupId>gnu.trove</groupId> |
91 |
<artifactId>trove</artifactId> |
92 |
<scope>compile</scope> |
93 |
</dependency>
|
94 |
<dependency>
|
95 |
<groupId>org.geotools</groupId> |
96 |
<artifactId>gt2-main</artifactId> |
97 |
<scope>compile</scope> |
98 |
</dependency>
|
99 |
<dependency>
|
100 |
<groupId>spatialindex</groupId> |
101 |
<artifactId>spatialindex</artifactId> |
102 |
<scope>compile</scope> |
103 |
</dependency>
|
104 |
<dependency>
|
105 |
<groupId>org.gvsig</groupId> |
106 |
<artifactId>org.gvsig.timesupport.lib.api</artifactId> |
107 |
<scope>compile</scope> |
108 |
</dependency>
|
109 |
</dependencies>
|
110 |
<build>
|
111 |
<sourceDirectory>src</sourceDirectory> |
112 |
<testSourceDirectory>src-test</testSourceDirectory> |
113 |
<testResources>
|
114 |
<testResource>
|
115 |
<directory>src-test</directory> |
116 |
</testResource>
|
117 |
</testResources>
|
118 |
</build>
|
119 |
|
120 |
<profiles>
|
121 |
<profile>
|
122 |
<id>se</id> |
123 |
<activation>
|
124 |
<activeByDefault>true</activeByDefault> |
125 |
</activation>
|
126 |
<build>
|
127 |
<plugins>
|
128 |
<plugin>
|
129 |
<groupId>org.apache.maven.plugins
|
130 |
</groupId>
|
131 |
<artifactId>maven-jar-plugin</artifactId> |
132 |
<configuration>
|
133 |
<excludes>
|
134 |
<exclude>${gt2-jarIncludes}</exclude> |
135 |
<exclude>${jts-jarIncludes}</exclude> |
136 |
<exclude>${jsi-jarIncludes}</exclude> |
137 |
<exclude>${sptidx-jarIncludes}</exclude> |
138 |
</excludes>
|
139 |
</configuration>
|
140 |
<executions>
|
141 |
<!--
|
142 |
Generates a jar file only with the GT2 based spatial index
|
143 |
classes
|
144 |
-->
|
145 |
<execution>
|
146 |
<id>gt2</id> |
147 |
<phase>package</phase> |
148 |
<goals>
|
149 |
<goal>jar</goal> |
150 |
</goals>
|
151 |
<configuration>
|
152 |
<classifier>gt2</classifier> |
153 |
<includes>
|
154 |
<include>${gt2-jarIncludes}</include> |
155 |
</includes>
|
156 |
<excludes>
|
157 |
<exclude>${gt2-jarExcludes}</exclude> |
158 |
</excludes>
|
159 |
</configuration>
|
160 |
</execution>
|
161 |
<!--
|
162 |
Generates a jar file only with the JTS based spatial index
|
163 |
classes
|
164 |
-->
|
165 |
<execution>
|
166 |
<id>jts</id> |
167 |
<phase>package</phase> |
168 |
<goals>
|
169 |
<goal>jar</goal> |
170 |
</goals>
|
171 |
<configuration>
|
172 |
<classifier>jts</classifier> |
173 |
<includes>
|
174 |
<include>${jts-jarIncludes}</include> |
175 |
</includes>
|
176 |
<excludes>
|
177 |
<exclude>${jts-jarExcludes}</exclude> |
178 |
</excludes>
|
179 |
</configuration>
|
180 |
</execution>
|
181 |
<!--
|
182 |
Generates a jar file only with the JSI based spatial index
|
183 |
classes
|
184 |
-->
|
185 |
<execution>
|
186 |
<id>jsi</id> |
187 |
<phase>package</phase> |
188 |
<goals>
|
189 |
<goal>jar</goal> |
190 |
</goals>
|
191 |
<configuration>
|
192 |
<classifier>jsi</classifier> |
193 |
<includes>
|
194 |
<include>${jsi-jarIncludes}</include> |
195 |
</includes>
|
196 |
<excludes>
|
197 |
<exclude>${jsi-jarExcludes}</exclude> |
198 |
</excludes>
|
199 |
</configuration>
|
200 |
</execution>
|
201 |
<!--
|
202 |
Generates a jar file only with the spatialindex based spatial
|
203 |
index classes
|
204 |
-->
|
205 |
<execution>
|
206 |
<id>spatialindex</id> |
207 |
<phase>package</phase> |
208 |
<goals>
|
209 |
<goal>jar</goal> |
210 |
</goals>
|
211 |
<configuration>
|
212 |
<classifier>spatialindex</classifier> |
213 |
<includes>
|
214 |
<include>${sptidx-jarIncludes}</include> |
215 |
</includes>
|
216 |
<excludes>
|
217 |
<exclude>${sptidx-jarExcludes}</exclude> |
218 |
</excludes>
|
219 |
</configuration>
|
220 |
</execution>
|
221 |
</executions>
|
222 |
</plugin>
|
223 |
<plugin>
|
224 |
<artifactId>maven-antrun-plugin</artifactId> |
225 |
<executions>
|
226 |
<execution>
|
227 |
<id>services</id> |
228 |
<phase>package</phase> |
229 |
<goals>
|
230 |
<goal>run</goal> |
231 |
</goals>
|
232 |
<configuration>
|
233 |
<tasks>
|
234 |
<jar
|
235 |
destfile="${project.build.directory}/${project.build.finalName}-gt2.jar" |
236 |
update="true"> |
237 |
<fileset dir="${basedir}/resources/gt2" /> |
238 |
</jar>
|
239 |
<jar
|
240 |
destfile="${project.build.directory}/${project.build.finalName}-jsi.jar" |
241 |
update="true"> |
242 |
<fileset dir="${basedir}/resources/jsi" /> |
243 |
</jar>
|
244 |
<jar
|
245 |
destfile="${project.build.directory}/${project.build.finalName}-jts.jar" |
246 |
update="true"> |
247 |
<fileset dir="${basedir}/resources/jts" /> |
248 |
</jar>
|
249 |
<jar
|
250 |
destfile="${project.build.directory}/${project.build.finalName}-spatialindex.jar" |
251 |
update="true"> |
252 |
<fileset dir="${basedir}/resources/spatialindex" /> |
253 |
</jar>
|
254 |
</tasks>
|
255 |
</configuration>
|
256 |
</execution>
|
257 |
</executions>
|
258 |
</plugin>
|
259 |
<plugin>
|
260 |
<groupId>org.apache.maven.plugins
|
261 |
</groupId>
|
262 |
<artifactId>maven-surefire-plugin
|
263 |
</artifactId>
|
264 |
<configuration>
|
265 |
<additionalClasspathElements>
|
266 |
<additionalClasspathElement>${basedir}/resources/gt2
|
267 |
</additionalClasspathElement>
|
268 |
<additionalClasspathElement>${basedir}/resources/jsi
|
269 |
</additionalClasspathElement>
|
270 |
<additionalClasspathElement>${basedir}/resources/jts
|
271 |
</additionalClasspathElement>
|
272 |
<additionalClasspathElement>${basedir}/resources/spatialindex
|
273 |
</additionalClasspathElement>
|
274 |
</additionalClasspathElements>
|
275 |
</configuration>
|
276 |
</plugin>
|
277 |
|
278 |
</plugins>
|
279 |
</build>
|
280 |
</profile>
|
281 |
<profile>
|
282 |
<id>cdc</id> |
283 |
<activation>
|
284 |
<activeByDefault>false</activeByDefault> |
285 |
</activation>
|
286 |
<build>
|
287 |
|
288 |
<plugins>
|
289 |
<plugin>
|
290 |
<groupId>org.apache.maven.plugins
|
291 |
</groupId>
|
292 |
<artifactId>maven-compiler-plugin
|
293 |
</artifactId>
|
294 |
<configuration>
|
295 |
<source>1.4</source> |
296 |
<target>1.4</target> |
297 |
<!-- put your configurations here -->
|
298 |
<encoding>ISO-8859-1</encoding> |
299 |
<excludes>
|
300 |
<exclude>${jts-jarExcludes}</exclude> |
301 |
<exclude>**/gt2/**</exclude> |
302 |
<exclude>**/jsi/**</exclude> |
303 |
<exclude>**/spatialindex/**</exclude> |
304 |
</excludes>
|
305 |
</configuration>
|
306 |
</plugin>
|
307 |
<plugin>
|
308 |
<groupId>org.apache.maven.plugins
|
309 |
</groupId>
|
310 |
<artifactId>maven-jar-plugin</artifactId> |
311 |
<configuration>
|
312 |
<excludes>
|
313 |
<exclude>${jts-jarIncludes}</exclude> |
314 |
</excludes>
|
315 |
</configuration>
|
316 |
<executions>
|
317 |
|
318 |
<!--
|
319 |
Generates a jar file only with the JTS based spatial index
|
320 |
classes
|
321 |
-->
|
322 |
<execution>
|
323 |
<id>jts</id> |
324 |
<phase>package</phase> |
325 |
<goals>
|
326 |
<goal>jar</goal> |
327 |
</goals>
|
328 |
<configuration>
|
329 |
<classifier>jts</classifier> |
330 |
<includes>
|
331 |
<include>${jts-jarIncludes}</include> |
332 |
</includes>
|
333 |
<excludes>
|
334 |
<exclude>${jts-jarExcludes}</exclude> |
335 |
<exclude>**/gt2/**</exclude> |
336 |
<exclude>**/jsi/**</exclude> |
337 |
<exclude>**/spatialindex/**</exclude> |
338 |
</excludes>
|
339 |
</configuration>
|
340 |
</execution>
|
341 |
</executions>
|
342 |
</plugin>
|
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 |
|
365 |
|
366 |
</project>
|