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