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