svn-gvsig-desktop / tags / v2_0_0_Build_2055 / libraries / libFMap_daldb / pom.xml @ 43469
History | View | Annotate | Download (11.9 KB)
1 | 27717 | cordinyana | <?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 | 27922 | jmvivo | http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 | 30580 | cordinyana | |
7 | <modelVersion>4.0.0</modelVersion> |
||
8 | 27922 | jmvivo | <artifactId>org.gvsig.fmap.dal.db</artifactId> |
9 | 22604 | jcampos | <packaging>jar</packaging> |
10 | <version>2.0-SNAPSHOT</version> |
||
11 | 27922 | jmvivo | <name>libFMap_daldb</name> |
12 | 22604 | jcampos | <parent>
|
13 | <groupId>org.gvsig</groupId> |
||
14 | 29631 | jpiera | <artifactId>gvsig-base-library-pom</artifactId> |
15 | 23435 | jmvivo | <version>2.0-SNAPSHOT</version> |
16 | 31493 | cordinyana | </parent>
|
17 | 27922 | jmvivo | <properties>
|
18 | 30580 | cordinyana | |
19 | 27922 | jmvivo | <!-- jdbc -->
|
20 | <jdbc-jarIncludes>org/gvsig/fmap/dal/store/jdbc/**/**</jdbc-jarIncludes> |
||
21 | <jdbc-jarExcludes>NONE</jdbc-jarExcludes> |
||
22 | 30580 | cordinyana | |
23 | |||
24 | 27922 | jmvivo | <!-- postgresql -->
|
25 | <postgresql-jarIncludes>org/gvsig/fmap/dal/store/postgresql/**/**</postgresql-jarIncludes> |
||
26 | <postgresql-jarExcludes>NONE</postgresql-jarExcludes> |
||
27 | |||
28 | 28948 | jmvivo | <!-- mysql -->
|
29 | <mysql-jarIncludes>org/gvsig/fmap/dal/store/mysql/**/**</mysql-jarIncludes> |
||
30 | <mysql-jarExcludes>NONE</mysql-jarExcludes> |
||
31 | |||
32 | 27922 | jmvivo | <!-- Common -->
|
33 | <common-jarIncludes>**/**</common-jarIncludes> |
||
34 | 28585 | rgaitan | <build-dir>${basedir}/../build</build-dir> |
35 | 35180 | cordinyana | <eclipse.project.name>libFMap_daldb</eclipse.project.name> |
36 | 27922 | jmvivo | </properties>
|
37 | 30580 | cordinyana | |
38 | 22604 | jcampos | <dependencies>
|
39 | <dependency>
|
||
40 | <groupId>org.gvsig</groupId> |
||
41 | 27922 | jmvivo | <artifactId>org.gvsig.fmap.dal</artifactId> |
42 | 34707 | cordinyana | <scope>compile</scope> |
43 | 23680 | cordinyana | </dependency>
|
44 | <dependency>
|
||
45 | <groupId>org.gvsig</groupId> |
||
46 | 30580 | cordinyana | <artifactId>org.gvsig.fmap.dal</artifactId> |
47 | 27922 | jmvivo | <classifier>spi</classifier> |
48 | 34707 | cordinyana | <scope>compile</scope> |
49 | 31274 | jpiera | </dependency>
|
50 | <dependency>
|
||
51 | <groupId>org.gvsig</groupId> |
||
52 | <artifactId>org.gvsig.fmap.geometry</artifactId> |
||
53 | <classifier>operation</classifier> |
||
54 | 34707 | cordinyana | <scope>compile</scope> |
55 | 27922 | jmvivo | </dependency>
|
56 | <dependency>
|
||
57 | 31274 | jpiera | <groupId>postgresql</groupId> |
58 | <artifactId>postgresql</artifactId> |
||
59 | 34707 | cordinyana | <scope>compile</scope> |
60 | 31274 | jpiera | </dependency>
|
61 | <dependency>
|
||
62 | <groupId>commons-dbcp</groupId> |
||
63 | <artifactId>commons-dbcp</artifactId> |
||
64 | 34707 | cordinyana | <scope>compile</scope> |
65 | 31274 | jpiera | </dependency>
|
66 | <dependency>
|
||
67 | <groupId>commons-collections</groupId> |
||
68 | <artifactId>commons-collections</artifactId> |
||
69 | 34707 | cordinyana | <scope>compile</scope> |
70 | 31274 | jpiera | </dependency>
|
71 | <dependency>
|
||
72 | <groupId>mysql</groupId> |
||
73 | <artifactId>mysql-connector-java</artifactId> |
||
74 | 34707 | cordinyana | <scope>compile</scope> |
75 | 31274 | jpiera | </dependency>
|
76 | <!--TEST-->
|
||
77 | <dependency>
|
||
78 | 27922 | jmvivo | <groupId>org.gvsig</groupId> |
79 | 32264 | cordinyana | <artifactId>org.gvsig.tools.lib</artifactId> |
80 | 34149 | cordinyana | <type>test-jar</type> |
81 | 23680 | cordinyana | <scope>test</scope> |
82 | 27922 | jmvivo | </dependency>
|
83 | <dependency>
|
||
84 | <groupId>org.gvsig</groupId> |
||
85 | <artifactId>org.gvsig.fmap.dal</artifactId> |
||
86 | 31274 | jpiera | <classifier>tests</classifier> |
87 | 27922 | jmvivo | <scope>test</scope> |
88 | 30580 | cordinyana | </dependency>
|
89 | 23680 | cordinyana | <dependency>
|
90 | <groupId>org.gvsig</groupId> |
||
91 | 31274 | jpiera | <artifactId>org.gvsig.fmap.dal</artifactId> |
92 | <classifier>impl</classifier> |
||
93 | <scope>test</scope> |
||
94 | 22604 | jcampos | </dependency>
|
95 | <dependency>
|
||
96 | 27922 | jmvivo | <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 | 27990 | jmvivo | <artifactId>org.gvsig.projection</artifactId> |
110 | <classifier>cresques-impl</classifier> |
||
111 | <scope>test</scope> |
||
112 | </dependency>
|
||
113 | <dependency>
|
||
114 | <groupId>org.gvsig</groupId> |
||
115 | 29631 | jpiera | <artifactId>org.gvsig.utils</artifactId> |
116 | 27922 | jmvivo | <scope>test</scope> |
117 | 31274 | jpiera | </dependency>
|
118 | 34707 | cordinyana | <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 | 37297 | jpiera | </dependency>
|
143 | <dependency>
|
||
144 | <groupId>org.gvsig</groupId> |
||
145 | <artifactId>org.gvsig.timesupport.lib.api</artifactId> |
||
146 | <scope>compile</scope> |
||
147 | </dependency>
|
||
148 | 22604 | jcampos | </dependencies>
|
149 | <build>
|
||
150 | <sourceDirectory>src</sourceDirectory> |
||
151 | <testSourceDirectory>src-test</testSourceDirectory> |
||
152 | 27922 | jmvivo | <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 | 30580 | cordinyana | </excludes>
|
160 | 27922 | jmvivo | </configuration>
|
161 | </plugin>
|
||
162 | <plugin>
|
||
163 | <groupId>org.apache.maven.plugins</groupId> |
||
164 | 27968 | cordinyana | <artifactId>maven-javadoc-plugin</artifactId> |
165 | <configuration>
|
||
166 | <excludePackageNames>org/gvsig/fmap/data</excludePackageNames> |
||
167 | </configuration>
|
||
168 | 30580 | cordinyana | </plugin>
|
169 | 27968 | cordinyana | <plugin>
|
170 | <groupId>org.apache.maven.plugins</groupId> |
||
171 | 27922 | jmvivo | <artifactId>maven-jar-plugin</artifactId> |
172 | <configuration>
|
||
173 | 30580 | cordinyana | <excludes>
|
174 | <exclude>${jdbc-jarIncludes}</exclude> |
||
175 | <exclude>${postgresql-jarIncludes}</exclude> |
||
176 | <exclude>${mysql-jarIncludes}</exclude> |
||
177 | </excludes>
|
||
178 | </configuration>
|
||
179 | 27922 | jmvivo | <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 | 28948 | jmvivo | <!--
|
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 | 27922 | jmvivo | </executions>
|
238 | </plugin>
|
||
239 | 30580 | cordinyana | <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 | 28948 | jmvivo | <!-- PostgreSQL and MySQL is needed to run the tests -->
|
272 | 27965 | cordinyana | <plugin>
|
273 | <groupId>org.apache.maven.plugins</groupId> |
||
274 | <artifactId>maven-surefire-plugin</artifactId> |
||
275 | <configuration>
|
||
276 | 30580 | cordinyana | <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 | 27965 | cordinyana | <skipTests>true</skipTests> |
283 | </configuration>
|
||
284 | 30580 | cordinyana | </plugin>
|
285 | 27922 | jmvivo | </plugins>
|
286 | 22604 | jcampos | </build>
|
287 | 31333 | cordinyana | <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 | 29174 | cordinyana | <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 | 30580 | cordinyana | <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 | 29174 | cordinyana | <links>
|
345 | </links>
|
||
346 | 30580 | cordinyana | </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 | 29174 | cordinyana | <links>
|
360 | <link>../apidoc/</link> |
||
361 | </links>
|
||
362 | 30580 | cordinyana | </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 | 29174 | cordinyana | <links>
|
377 | <link>../apidoc/</link> |
||
378 | <link>../spidoc/</link> |
||
379 | </links>
|
||
380 | 30580 | cordinyana | </configuration>
|
381 | <reports>
|
||
382 | <report>javadoc</report> |
||
383 | </reports>
|
||
384 | </reportSet>
|
||
385 | </reportSets>
|
||
386 | 29174 | cordinyana | </plugin>
|
387 | </plugins>
|
||
388 | </reporting>
|
||
389 | </project> |