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