svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libProjection / pom.xml @ 31333
History | View | Annotate | Download (11.4 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 |
<modelVersion>4.0.0</modelVersion> |
7 |
<groupId>org.gvsig</groupId> |
8 |
<artifactId>org.gvsig.projection</artifactId> |
9 |
<packaging>jar</packaging> |
10 |
<version>2.0-SNAPSHOT</version> |
11 |
<name>libProjection</name> |
12 |
<url>http://gvsig.org</url> |
13 |
<parent>
|
14 |
<groupId>org.gvsig</groupId> |
15 |
<artifactId>gvsig-base-library-pom</artifactId> |
16 |
<version>2.0-SNAPSHOT</version> |
17 |
</parent>
|
18 |
<properties>
|
19 |
<build-dir>${basedir}/../build</build-dir> |
20 |
</properties>
|
21 |
<repositories>
|
22 |
<!-- Repository used to download the JAI 1.1.3 dependencies -->
|
23 |
<repository>
|
24 |
<id>geotools</id> |
25 |
<url>http://maven.geotools.fr/repository</url> |
26 |
</repository>
|
27 |
</repositories>
|
28 |
<dependencies>
|
29 |
<dependency>
|
30 |
<groupId>org.gvsig</groupId> |
31 |
<artifactId>org.gvsig.i18n</artifactId> |
32 |
<version>2.0-SNAPSHOT</version> |
33 |
</dependency>
|
34 |
<dependency>
|
35 |
<groupId>org.gvsig</groupId> |
36 |
<artifactId>org.gvsig.tools</artifactId> |
37 |
<version>2.0-SNAPSHOT</version> |
38 |
</dependency>
|
39 |
</dependencies>
|
40 |
|
41 |
<build>
|
42 |
<sourceDirectory>src</sourceDirectory> |
43 |
<testSourceDirectory>src-test</testSourceDirectory> |
44 |
</build>
|
45 |
|
46 |
<profiles>
|
47 |
<profile>
|
48 |
<id>se</id> |
49 |
<activation>
|
50 |
<activeByDefault>true</activeByDefault> |
51 |
</activation>
|
52 |
|
53 |
<dependencies>
|
54 |
|
55 |
|
56 |
<dependency>
|
57 |
<groupId>org.gvsig.legacy</groupId> |
58 |
<artifactId>geoapi</artifactId> |
59 |
<version>gvsig</version> |
60 |
<optional>true</optional> |
61 |
</dependency>
|
62 |
<dependency>
|
63 |
<groupId>org.gvsig.legacy</groupId> |
64 |
<artifactId>gt2-legacy</artifactId> |
65 |
<version>gvsig</version> |
66 |
<optional>true</optional> |
67 |
</dependency>
|
68 |
<dependency>
|
69 |
<groupId>org.gvsig.legacy</groupId> |
70 |
<artifactId>gt2-main</artifactId> |
71 |
<version>gvsig</version> |
72 |
<optional>true</optional> |
73 |
</dependency>
|
74 |
<dependency>
|
75 |
<groupId>org.gvsig.legacy</groupId> |
76 |
<artifactId>geojava</artifactId> |
77 |
<version>gvsig</version> |
78 |
<optional>true</optional> |
79 |
</dependency>
|
80 |
<dependency>
|
81 |
<groupId>org.gvsig.legacy</groupId> |
82 |
<artifactId>vecmath</artifactId> |
83 |
<version>gvsig</version> |
84 |
<optional>true</optional> |
85 |
</dependency>
|
86 |
<dependency>
|
87 |
<groupId>javax.media</groupId> |
88 |
<artifactId>jai_core</artifactId> |
89 |
<version>1.1.3</version> |
90 |
<optional>true</optional> |
91 |
</dependency>
|
92 |
<dependency>
|
93 |
<groupId>javax.media</groupId> |
94 |
<artifactId>jai_codec</artifactId> |
95 |
<version>1.1.3</version> |
96 |
<optional>true</optional> |
97 |
</dependency>
|
98 |
<dependency>
|
99 |
<groupId>org.gvsig.legacy</groupId> |
100 |
<artifactId>units</artifactId> |
101 |
<version>gvsig</version> |
102 |
<optional>true</optional> |
103 |
</dependency>
|
104 |
|
105 |
</dependencies>
|
106 |
<build>
|
107 |
<resources>
|
108 |
<resource>
|
109 |
<directory>config</directory> |
110 |
</resource>
|
111 |
<resource>
|
112 |
<directory>images</directory> |
113 |
</resource>
|
114 |
</resources>
|
115 |
|
116 |
<plugins>
|
117 |
<plugin>
|
118 |
<groupId>org.apache.maven.plugins</groupId> |
119 |
<artifactId>maven-compiler-plugin</artifactId> |
120 |
<configuration>
|
121 |
<source>1.4</source> |
122 |
<target>1.4</target> |
123 |
<!-- put your configurations here -->
|
124 |
<encoding>ISO-8859-1</encoding> |
125 |
</configuration>
|
126 |
</plugin>
|
127 |
<plugin>
|
128 |
<groupId>org.apache.maven.plugins</groupId> |
129 |
<artifactId>maven-jar-plugin</artifactId> |
130 |
<configuration>
|
131 |
<excludes>
|
132 |
<exclude>**/org/cresques/impl/**</exclude> |
133 |
<exclude>**/org/cresques/ui/**</exclude> |
134 |
<exclude>**/org/cresques/resources/**</exclude> |
135 |
<exclude>*.gif</exclude> |
136 |
</excludes>
|
137 |
</configuration>
|
138 |
<executions>
|
139 |
<execution>
|
140 |
<id>cresques-ui</id> |
141 |
<phase>package</phase> |
142 |
<goals>
|
143 |
<goal>jar</goal> |
144 |
</goals>
|
145 |
<configuration>
|
146 |
<classifier>cresques-ui</classifier> |
147 |
<excludes>
|
148 |
<exclude>NONE</exclude> |
149 |
</excludes>
|
150 |
<includes>
|
151 |
<include>**/org/cresques/ui/**</include> |
152 |
<include>**/org/cresques/resources/**</include> |
153 |
<include>*.gif</include> |
154 |
</includes>
|
155 |
<!-- <finalName>org.cresques.ui</finalName> -->
|
156 |
</configuration>
|
157 |
</execution>
|
158 |
<execution>
|
159 |
<id>cresques-cts-impl</id> |
160 |
<phase>package</phase> |
161 |
<goals>
|
162 |
<goal>jar</goal> |
163 |
</goals>
|
164 |
<configuration>
|
165 |
<classifier>cresques-impl</classifier> |
166 |
<excludes>
|
167 |
<exclude>**/org/cresques/resources/**</exclude> |
168 |
<exclude>*.gif</exclude> |
169 |
</excludes>
|
170 |
<includes>
|
171 |
<include>**/org/cresques/impl/**</include> |
172 |
</includes>
|
173 |
<!-- <finalName>org.cresques.cts</finalName> -->
|
174 |
</configuration>
|
175 |
</execution>
|
176 |
</executions>
|
177 |
</plugin>
|
178 |
<plugin>
|
179 |
<artifactId>maven-antrun-plugin</artifactId> |
180 |
<executions>
|
181 |
<execution>
|
182 |
<id>services</id> |
183 |
<phase>package</phase> |
184 |
<goals>
|
185 |
<goal>run</goal> |
186 |
</goals>
|
187 |
<configuration>
|
188 |
<tasks>
|
189 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
190 |
update="true"> |
191 |
<fileset dir="${basedir}/resources/api" /> |
192 |
</jar>
|
193 |
<jar destfile="${project.build.directory}/${project.build.finalName}-cresques-impl.jar" |
194 |
update="true"> |
195 |
<fileset dir="${basedir}/resources/cresques" /> |
196 |
</jar>
|
197 |
</tasks>
|
198 |
</configuration>
|
199 |
</execution>
|
200 |
</executions>
|
201 |
</plugin>
|
202 |
<plugin>
|
203 |
<groupId>org.apache.maven.plugins</groupId> |
204 |
<artifactId>maven-surefire-plugin</artifactId> |
205 |
<configuration>
|
206 |
<additionalClasspathElements>
|
207 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
208 |
<additionalClasspathElement>${basedir}/resources/cresques</additionalClasspathElement> |
209 |
</additionalClasspathElements>
|
210 |
</configuration>
|
211 |
</plugin>
|
212 |
</plugins>
|
213 |
</build>
|
214 |
</profile>
|
215 |
|
216 |
<profile>
|
217 |
<id>cdc</id> |
218 |
<activation>
|
219 |
<activeByDefault>false</activeByDefault> |
220 |
</activation>
|
221 |
|
222 |
<build>
|
223 |
<plugins>
|
224 |
<plugin>
|
225 |
<groupId>org.apache.maven.plugins</groupId> |
226 |
<artifactId>maven-compiler-plugin</artifactId> |
227 |
<configuration>
|
228 |
<excludes>
|
229 |
<exclude>**/org/cresques/impl/**</exclude> |
230 |
<exclude>**/org/cresques/ui/**</exclude> |
231 |
</excludes>
|
232 |
<testExcludes>
|
233 |
<exclude>**/org/cresques/impl/**</exclude> |
234 |
<exclude>**/org/cresques/ui/**</exclude> |
235 |
</testExcludes>
|
236 |
</configuration>
|
237 |
</plugin>
|
238 |
<plugin>
|
239 |
<groupId>org.apache.maven.plugins</groupId> |
240 |
<artifactId>maven-jar-plugin</artifactId> |
241 |
<configuration>
|
242 |
<excludes>
|
243 |
<exclude>**/org/cresques/impl/**</exclude> |
244 |
<exclude>**/org/cresques/ui/**</exclude> |
245 |
</excludes>
|
246 |
</configuration>
|
247 |
</plugin>
|
248 |
<plugin>
|
249 |
<artifactId>maven-antrun-plugin</artifactId> |
250 |
<executions>
|
251 |
<execution>
|
252 |
<id>services</id> |
253 |
<phase>package</phase> |
254 |
<goals>
|
255 |
<goal>run</goal> |
256 |
</goals>
|
257 |
<configuration>
|
258 |
<tasks>
|
259 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
260 |
update="true"> |
261 |
<fileset dir="${basedir}/resources/api" /> |
262 |
</jar>
|
263 |
</tasks>
|
264 |
</configuration>
|
265 |
</execution>
|
266 |
</executions>
|
267 |
</plugin>
|
268 |
<plugin>
|
269 |
<groupId>org.apache.maven.plugins</groupId> |
270 |
<artifactId>maven-surefire-plugin</artifactId> |
271 |
<configuration>
|
272 |
<additionalClasspathElements>
|
273 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
274 |
</additionalClasspathElements>
|
275 |
</configuration>
|
276 |
</plugin>
|
277 |
</plugins>
|
278 |
</build>
|
279 |
|
280 |
</profile>
|
281 |
|
282 |
<profile>
|
283 |
<id>eclipse-project</id> |
284 |
<build>
|
285 |
<defaultGoal>antrun:run</defaultGoal> |
286 |
<plugins>
|
287 |
<plugin>
|
288 |
<artifactId>maven-antrun-plugin</artifactId> |
289 |
<configuration>
|
290 |
<tasks>
|
291 |
<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml" |
292 |
target="eclipse.all"/> |
293 |
</tasks>
|
294 |
</configuration>
|
295 |
</plugin>
|
296 |
</plugins>
|
297 |
</build>
|
298 |
</profile>
|
299 |
</profiles>
|
300 |
|
301 |
<reporting>
|
302 |
<plugins>
|
303 |
<plugin>
|
304 |
<groupId>org.apache.maven.plugins</groupId> |
305 |
<artifactId>maven-javadoc-plugin</artifactId> |
306 |
<reportSets>
|
307 |
<reportSet>
|
308 |
<id>api</id> |
309 |
<configuration>
|
310 |
<excludePackageNames>org.cresques.ui:org.cresques.impl</excludePackageNames> |
311 |
<name>Javadoc: API</name> |
312 |
<destDir>apidoc</destDir> |
313 |
<windowtitle>API Documentation</windowtitle> |
314 |
<links>
|
315 |
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
316 |
<link>http://www.slf4j.org/api/</link> |
317 |
<link>${site-repository}/org.gvsig.tools/2.0.0/apidocs/</link> |
318 |
<link>${site-repository}/org.gvsig.i18n/2.0.0/apidocs/</link> |
319 |
<link>${site-repository}/org.gvsig.metadata/2.0.0/apidocs/</link> |
320 |
<link>${site-repository}/org.gvsig.compat/2.0.0/apidocs/</link> |
321 |
</links>
|
322 |
</configuration>
|
323 |
<reports>
|
324 |
<report>javadoc</report> |
325 |
</reports>
|
326 |
</reportSet>
|
327 |
<reportSet>
|
328 |
<id>ui</id> |
329 |
<configuration>
|
330 |
<doctitle>${project.name} ${project.version} User interface</doctitle> |
331 |
<subpackages>org.cresques.ui</subpackages> |
332 |
<name>Javadoc: UI</name> |
333 |
<destDir>uidoc</destDir> |
334 |
<windowtitle>User interface Documentation</windowtitle> |
335 |
<links>
|
336 |
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
337 |
<link>http://www.slf4j.org/api/</link> |
338 |
<link>../apidoc/</link> |
339 |
<link>${site-repository}/org.gvsig.tools/2.0.0/apidocs/</link> |
340 |
<link>${site-repository}/org.gvsig.i18n/2.0.0/apidocs/</link> |
341 |
<link>${site-repository}/org.gvsig.metadata/2.0.0/apidocs/</link> |
342 |
<link>${site-repository}/org.gvsig.compat/2.0.0/apidocs/</link> |
343 |
</links>
|
344 |
</configuration>
|
345 |
<reports>
|
346 |
<report>javadoc</report> |
347 |
</reports>
|
348 |
</reportSet>
|
349 |
<reportSet>
|
350 |
<id>cresques-impl</id> |
351 |
<configuration>
|
352 |
<doctitle>${project.name} ${project.version} Cresques implementation</doctitle> |
353 |
<subpackages>org.cresques.impl</subpackages> |
354 |
<name>Javadoc: Cresques impl</name> |
355 |
<destDir>cresquesdoc</destDir> |
356 |
<windowtitle>Cresques implementation Documentation</windowtitle> |
357 |
<links>
|
358 |
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
359 |
<link>http://www.slf4j.org/api/</link> |
360 |
<link>../apidoc/</link> |
361 |
<link>${site-repository}/org.gvsig.tools/2.0.0/apidocs/</link> |
362 |
<link>${site-repository}/org.gvsig.i18n/2.0.0/apidocs/</link> |
363 |
<link>${site-repository}/org.gvsig.metadata/2.0.0/apidocs/</link> |
364 |
<link>${site-repository}/org.gvsig.compat/2.0.0/apidocs/</link> |
365 |
</links>
|
366 |
</configuration>
|
367 |
<reports>
|
368 |
<report>javadoc</report> |
369 |
</reports>
|
370 |
</reportSet>
|
371 |
</reportSets>
|
372 |
</plugin>
|
373 |
</plugins>
|
374 |
</reporting>
|
375 |
|
376 |
</project>
|