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