Revision 30580 branches/v2_0_0_prep/libraries/libFMap_daldb/pom.xml
pom.xml | ||
---|---|---|
3 | 3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
5 | 5 |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 |
|
|
7 |
<modelVersion>4.0.0</modelVersion>
|
|
6 |
|
|
7 |
<modelVersion>4.0.0</modelVersion>
|
|
8 | 8 |
<groupId>org.gvsig</groupId> |
9 | 9 |
<artifactId>org.gvsig.fmap.dal.db</artifactId> |
10 | 10 |
<packaging>jar</packaging> |
... | ... | |
16 | 16 |
<artifactId>gvsig-base-library-pom</artifactId> |
17 | 17 |
<version>2.0-SNAPSHOT</version> |
18 | 18 |
</parent> |
19 |
|
|
19 |
|
|
20 | 20 |
<properties> |
21 |
|
|
21 |
|
|
22 | 22 |
<!-- jdbc --> |
23 | 23 |
<jdbc-jarIncludes>org/gvsig/fmap/dal/store/jdbc/**/**</jdbc-jarIncludes> |
24 | 24 |
<jdbc-jarExcludes>NONE</jdbc-jarExcludes> |
25 |
|
|
26 |
|
|
25 |
|
|
26 |
|
|
27 | 27 |
<!-- postgresql --> |
28 | 28 |
<postgresql-jarIncludes>org/gvsig/fmap/dal/store/postgresql/**/**</postgresql-jarIncludes> |
29 | 29 |
<postgresql-jarExcludes>NONE</postgresql-jarExcludes> |
... | ... | |
36 | 36 |
<common-jarIncludes>**/**</common-jarIncludes> |
37 | 37 |
<build-dir>${basedir}/../build</build-dir> |
38 | 38 |
</properties> |
39 |
|
|
39 |
|
|
40 | 40 |
<dependencies> |
41 | 41 |
<dependency> |
42 | 42 |
<groupId>org.gvsig</groupId> |
... | ... | |
45 | 45 |
</dependency> |
46 | 46 |
<dependency> |
47 | 47 |
<groupId>org.gvsig</groupId> |
48 |
<artifactId>org.gvsig.fmap.dal</artifactId>
|
|
48 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
|
49 | 49 |
<version>2.0-SNAPSHOT</version> |
50 | 50 |
<classifier>spi</classifier> |
51 | 51 |
</dependency> |
... | ... | |
62 | 62 |
<version>2.0-SNAPSHOT</version> |
63 | 63 |
<classifier>impl</classifier> |
64 | 64 |
<scope>test</scope> |
65 |
</dependency>
|
|
65 |
</dependency> |
|
66 | 66 |
<dependency> |
67 | 67 |
<groupId>org.gvsig</groupId> |
68 |
<artifactId>org.gvsig.fmap.geometry</artifactId>
|
|
68 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
|
69 | 69 |
<version>2.0-SNAPSHOT</version> |
70 | 70 |
<classifier>operation</classifier> |
71 | 71 |
</dependency> |
... | ... | |
116 | 116 |
<artifactId>commons-collections</artifactId> |
117 | 117 |
<version>3.2.1</version> |
118 | 118 |
</dependency> |
119 |
|
|
119 |
|
|
120 | 120 |
<dependency> |
121 | 121 |
<groupId>mysql</groupId> |
122 | 122 |
<artifactId>mysql-connector-java</artifactId> |
123 | 123 |
<version>5.1.6</version> |
124 | 124 |
</dependency> |
125 |
|
|
126 |
|
|
125 |
|
|
126 |
|
|
127 | 127 |
</dependencies> |
128 | 128 |
<build> |
129 | 129 |
<sourceDirectory>src</sourceDirectory> |
... | ... | |
135 | 135 |
<configuration> |
136 | 136 |
<excludes> |
137 | 137 |
<exclude>org/gvsig/fmap/data/**</exclude> |
138 |
</excludes>
|
|
138 |
</excludes> |
|
139 | 139 |
</configuration> |
140 | 140 |
</plugin> |
141 | 141 |
<plugin> |
... | ... | |
144 | 144 |
<configuration> |
145 | 145 |
<excludePackageNames>org/gvsig/fmap/data</excludePackageNames> |
146 | 146 |
</configuration> |
147 |
</plugin>
|
|
147 |
</plugin> |
|
148 | 148 |
<plugin> |
149 | 149 |
<groupId>org.apache.maven.plugins</groupId> |
150 | 150 |
<artifactId>maven-jar-plugin</artifactId> |
151 | 151 |
<configuration> |
152 |
<excludes>
|
|
153 |
<exclude>${jdbc-jarIncludes}</exclude> |
|
154 |
<exclude>${postgresql-jarIncludes}</exclude> |
|
155 |
<exclude>${mysql-jarIncludes}</exclude> |
|
156 |
</excludes>
|
|
157 |
</configuration>
|
|
152 |
<excludes>
|
|
153 |
<exclude>${jdbc-jarIncludes}</exclude>
|
|
154 |
<exclude>${postgresql-jarIncludes}</exclude>
|
|
155 |
<exclude>${mysql-jarIncludes}</exclude>
|
|
156 |
</excludes>
|
|
157 |
</configuration>
|
|
158 | 158 |
<executions> |
159 | 159 |
<!-- |
160 | 160 |
Generates a jar file only with the DAL JDBC Store classes |
... | ... | |
215 | 215 |
</execution> |
216 | 216 |
</executions> |
217 | 217 |
</plugin> |
218 |
|
|
218 |
<plugin> |
|
219 |
<artifactId>maven-antrun-plugin</artifactId> |
|
220 |
<executions> |
|
221 |
<execution> |
|
222 |
<id>services</id> |
|
223 |
<phase>package</phase> |
|
224 |
<goals> |
|
225 |
<goal>run</goal> |
|
226 |
</goals> |
|
227 |
<configuration> |
|
228 |
<tasks> |
|
229 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
|
230 |
update="true"> |
|
231 |
<fileset dir="${basedir}/resources/api" /> |
|
232 |
</jar> |
|
233 |
<jar destfile="${project.build.directory}/${project.build.finalName}-store.jdbc.jar" |
|
234 |
update="true"> |
|
235 |
<fileset dir="${basedir}/resources/jdbc" /> |
|
236 |
</jar> |
|
237 |
<jar destfile="${project.build.directory}/${project.build.finalName}-store.mysql.jar" |
|
238 |
update="true"> |
|
239 |
<fileset dir="${basedir}/resources/mysql" /> |
|
240 |
</jar> |
|
241 |
<jar destfile="${project.build.directory}/${project.build.finalName}-store.postgresql.jar" |
|
242 |
update="true"> |
|
243 |
<fileset dir="${basedir}/resources/postgresql" /> |
|
244 |
</jar> |
|
245 |
</tasks> |
|
246 |
</configuration> |
|
247 |
</execution> |
|
248 |
</executions> |
|
249 |
</plugin> |
|
219 | 250 |
<!-- PostgreSQL and MySQL is needed to run the tests --> |
220 | 251 |
<plugin> |
221 | 252 |
<groupId>org.apache.maven.plugins</groupId> |
222 | 253 |
<artifactId>maven-surefire-plugin</artifactId> |
223 | 254 |
<configuration> |
255 |
<additionalClasspathElements> |
|
256 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
|
257 |
<additionalClasspathElement>${basedir}/resources/jdbc</additionalClasspathElement> |
|
258 |
<additionalClasspathElement>${basedir}/resources/mysql</additionalClasspathElement> |
|
259 |
<additionalClasspathElement>${basedir}/resources/postgresql</additionalClasspathElement> |
|
260 |
</additionalClasspathElements> |
|
224 | 261 |
<skipTests>true</skipTests> |
225 | 262 |
</configuration> |
226 |
</plugin>
|
|
263 |
</plugin> |
|
227 | 264 |
</plugins> |
228 | 265 |
</build> |
229 | 266 |
<reporting> |
... | ... | |
257 | 294 |
</groups> |
258 | 295 |
</configuration> |
259 | 296 |
<reportSets> |
260 |
<reportSet>
|
|
261 |
<id>api</id>
|
|
262 |
<configuration>
|
|
263 |
<excludePackageNames>*.spi:*.impl:*.store</excludePackageNames>
|
|
264 |
<name>Javadoc: API</name>
|
|
265 |
<destDir>apidoc</destDir>
|
|
266 |
<windowtitle>API Documentation</windowtitle>
|
|
297 |
<reportSet>
|
|
298 |
<id>api</id>
|
|
299 |
<configuration>
|
|
300 |
<excludePackageNames>*.spi:*.impl:*.store</excludePackageNames>
|
|
301 |
<name>Javadoc: API</name>
|
|
302 |
<destDir>apidoc</destDir>
|
|
303 |
<windowtitle>API Documentation</windowtitle>
|
|
267 | 304 |
<links> |
268 | 305 |
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
269 | 306 |
<link>http://www.slf4j.org/api/</link> |
... | ... | |
275 | 312 |
<link>${site-repository}/org.gvsig.utils/2.0.0/apidocs/</link> |
276 | 313 |
<link>${site-repository}/org.gvsig.fmap.dal/2.0.0/apidocs/</link> |
277 | 314 |
</links> |
278 |
</configuration>
|
|
279 |
<reports>
|
|
280 |
<report>javadoc</report>
|
|
281 |
</reports>
|
|
282 |
</reportSet>
|
|
283 |
<reportSet>
|
|
284 |
<id>spi</id>
|
|
285 |
<configuration>
|
|
286 |
<doctitle>${project.name} ${project.version} SPI</doctitle>
|
|
287 |
<subpackages>org.gvsig.fmap.dal.serverexplorer.db.spi:org.gvsig.fmap.dal.store.db:org.gvsig.fmap.dal.store.jdbc</subpackages>
|
|
288 |
<name>Javadoc: SPI</name>
|
|
289 |
<destDir>spidoc</destDir>
|
|
290 |
<windowtitle>SPI and base stores 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.serverexplorer.db.spi:org.gvsig.fmap.dal.store.db:org.gvsig.fmap.dal.store.jdbc</subpackages>
|
|
325 |
<name>Javadoc: SPI</name>
|
|
326 |
<destDir>spidoc</destDir>
|
|
327 |
<windowtitle>SPI and base stores documentation</windowtitle>
|
|
291 | 328 |
<links> |
292 | 329 |
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
293 | 330 |
<link>http://www.slf4j.org/api/</link> |
... | ... | |
300 | 337 |
<link>${site-repository}/org.gvsig.utils/2.0.0/apidocs/</link> |
301 | 338 |
<link>${site-repository}/org.gvsig.fmap.dal/2.0.0/apidocs/</link> |
302 | 339 |
</links> |
303 |
</configuration> |
|
304 |
<reports> |
|
305 |
<report>javadoc</report> |
|
306 |
</reports> |
|
307 |
</reportSet> |
|
308 |
<reportSet> |
|
309 |
<id>impl</id> |
|
310 |
<configuration> |
|
311 |
<doctitle>${project.name} ${project.version} Default implementation and stores</doctitle> |
|
312 |
<subpackages>org.gvsig.fmap.dal.store.mysql:org.gvsig.fmap.dal.store.postgresql</subpackages> |
|
313 |
<name>Javadoc: Impl and Stores</name> |
|
314 |
<destDir>impldoc</destDir> |
|
315 |
<windowtitle>Default implementation and Stores Documentation</windowtitle> |
|
340 |
</configuration> |
|
341 |
<reports> |
|
342 |
<report>javadoc</report> |
|
343 |
</reports> |
|
344 |
</reportSet> |
|
345 |
<reportSet> |
|
346 |
<id>impl</id> |
|
347 |
<configuration> |
|
348 |
<doctitle>${project.name} ${project.version} Default implementation and |
|
349 |
stores</doctitle> |
|
350 |
<subpackages>org.gvsig.fmap.dal.store.mysql:org.gvsig.fmap.dal.store.postgresql</subpackages> |
|
351 |
<name>Javadoc: Impl and Stores</name> |
|
352 |
<destDir>impldoc</destDir> |
|
353 |
<windowtitle>Default implementation and Stores Documentation</windowtitle> |
|
316 | 354 |
<links> |
317 | 355 |
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
318 | 356 |
<link>http://www.slf4j.org/api/</link> |
... | ... | |
326 | 364 |
<link>${site-repository}/org.gvsig.utils/2.0.0/apidocs/</link> |
327 | 365 |
<link>${site-repository}/org.gvsig.fmap.dal/2.0.0/apidocs/</link> |
328 | 366 |
</links> |
329 |
</configuration>
|
|
330 |
<reports>
|
|
331 |
<report>javadoc</report>
|
|
332 |
</reports>
|
|
333 |
</reportSet>
|
|
334 |
</reportSets>
|
|
367 |
</configuration>
|
|
368 |
<reports>
|
|
369 |
<report>javadoc</report>
|
|
370 |
</reports>
|
|
371 |
</reportSet>
|
|
372 |
</reportSets>
|
|
335 | 373 |
</plugin> |
336 | 374 |
</plugins> |
337 | 375 |
</reporting> |
Also available in: Unified diff