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