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