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