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