root / branches / v2_0_0_prep / libraries / libProjection / pom.xml @ 30769
History | View | Annotate | Download (11 KB)
1 | 27509 | cmartinez | <?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 | 27761 | cordinyana | http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 | 27509 | cmartinez | <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 | 29631 | jpiera | <artifactId>gvsig-base-library-pom</artifactId> |
16 | 27509 | cmartinez | <version>2.0-SNAPSHOT</version> |
17 | </parent>
|
||
18 | 28599 | rgaitan | <properties>
|
19 | <build-dir>${basedir}/../build</build-dir> |
||
20 | </properties>
|
||
21 | 29109 | cordinyana | <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 | 27509 | cmartinez | <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 | 27549 | jcarrasco | |
41 | <build>
|
||
42 | 27509 | cmartinez | <sourceDirectory>src</sourceDirectory> |
43 | <testSourceDirectory>src-test</testSourceDirectory> |
||
44 | 27549 | jcarrasco | </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 | 30769 | jcarrasco | <optional>true</optional> |
61 | 27549 | jcarrasco | </dependency>
|
62 | <dependency>
|
||
63 | <groupId>org.gvsig.legacy</groupId> |
||
64 | <artifactId>gt2-legacy</artifactId> |
||
65 | <version>gvsig</version> |
||
66 | 30769 | jcarrasco | <optional>true</optional> |
67 | 27549 | jcarrasco | </dependency>
|
68 | <dependency>
|
||
69 | <groupId>org.gvsig.legacy</groupId> |
||
70 | <artifactId>gt2-main</artifactId> |
||
71 | <version>gvsig</version> |
||
72 | 30769 | jcarrasco | <optional>true</optional> |
73 | 27549 | jcarrasco | </dependency>
|
74 | <dependency>
|
||
75 | <groupId>org.gvsig.legacy</groupId> |
||
76 | <artifactId>geojava</artifactId> |
||
77 | <version>gvsig</version> |
||
78 | 30769 | jcarrasco | <optional>true</optional> |
79 | 27549 | jcarrasco | </dependency>
|
80 | <dependency>
|
||
81 | <groupId>org.gvsig.legacy</groupId> |
||
82 | <artifactId>vecmath</artifactId> |
||
83 | <version>gvsig</version> |
||
84 | 30769 | jcarrasco | <optional>true</optional> |
85 | 27549 | jcarrasco | </dependency>
|
86 | <dependency>
|
||
87 | <groupId>javax.media</groupId> |
||
88 | <artifactId>jai_core</artifactId> |
||
89 | <version>1.1.3</version> |
||
90 | 30769 | jcarrasco | <optional>true</optional> |
91 | 27549 | jcarrasco | </dependency>
|
92 | <dependency>
|
||
93 | <groupId>javax.media</groupId> |
||
94 | <artifactId>jai_codec</artifactId> |
||
95 | <version>1.1.3</version> |
||
96 | 30769 | jcarrasco | <optional>true</optional> |
97 | 27549 | jcarrasco | </dependency>
|
98 | <dependency>
|
||
99 | 28117 | cmartinez | <groupId>org.gvsig.legacy</groupId> |
100 | <artifactId>units</artifactId> |
||
101 | <version>gvsig</version> |
||
102 | 30769 | jcarrasco | <optional>true</optional> |
103 | 27549 | jcarrasco | </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 | 27509 | cmartinez | <configuration>
|
121 | 27549 | jcarrasco | <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 | 27509 | cmartinez | <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 | 27549 | jcarrasco | <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 | 30580 | cordinyana | <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 | 27549 | jcarrasco | </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 | 27554 | cordinyana | <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 | 27549 | jcarrasco | <artifactId>maven-jar-plugin</artifactId> |
241 | 27509 | cmartinez | <configuration>
|
242 | <excludes>
|
||
243 | 27549 | jcarrasco | <exclude>**/org/cresques/impl/**</exclude> |
244 | <exclude>**/org/cresques/ui/**</exclude> |
||
245 | 27509 | cmartinez | </excludes>
|
246 | </configuration>
|
||
247 | 27549 | jcarrasco | </plugin>
|
248 | 30580 | cordinyana | <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 | 27549 | jcarrasco | </plugins>
|
278 | </build>
|
||
279 | |||
280 | </profile>
|
||
281 | </profiles>
|
||
282 | 28554 | cordinyana | |
283 | <reporting>
|
||
284 | <plugins>
|
||
285 | <plugin>
|
||
286 | <groupId>org.apache.maven.plugins</groupId> |
||
287 | <artifactId>maven-javadoc-plugin</artifactId> |
||
288 | 29169 | cordinyana | <reportSets>
|
289 | <reportSet>
|
||
290 | <id>api</id> |
||
291 | <configuration>
|
||
292 | <excludePackageNames>org.cresques.ui:org.cresques.impl</excludePackageNames> |
||
293 | <name>Javadoc: API</name> |
||
294 | <destDir>apidoc</destDir> |
||
295 | <windowtitle>API Documentation</windowtitle> |
||
296 | <links>
|
||
297 | <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
||
298 | <link>http://www.slf4j.org/api/</link> |
||
299 | <link>${site-repository}/org.gvsig.tools/2.0.0/apidocs/</link> |
||
300 | <link>${site-repository}/org.gvsig.i18n/2.0.0/apidocs/</link> |
||
301 | <link>${site-repository}/org.gvsig.metadata/2.0.0/apidocs/</link> |
||
302 | <link>${site-repository}/org.gvsig.compat/2.0.0/apidocs/</link> |
||
303 | </links>
|
||
304 | </configuration>
|
||
305 | <reports>
|
||
306 | <report>javadoc</report> |
||
307 | </reports>
|
||
308 | </reportSet>
|
||
309 | <reportSet>
|
||
310 | <id>ui</id> |
||
311 | <configuration>
|
||
312 | <doctitle>${project.name} ${project.version} User interface</doctitle> |
||
313 | <subpackages>org.cresques.ui</subpackages> |
||
314 | <name>Javadoc: UI</name> |
||
315 | <destDir>uidoc</destDir> |
||
316 | <windowtitle>User interface Documentation</windowtitle> |
||
317 | <links>
|
||
318 | <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
||
319 | <link>http://www.slf4j.org/api/</link> |
||
320 | <link>../apidoc/</link> |
||
321 | <link>${site-repository}/org.gvsig.tools/2.0.0/apidocs/</link> |
||
322 | <link>${site-repository}/org.gvsig.i18n/2.0.0/apidocs/</link> |
||
323 | <link>${site-repository}/org.gvsig.metadata/2.0.0/apidocs/</link> |
||
324 | <link>${site-repository}/org.gvsig.compat/2.0.0/apidocs/</link> |
||
325 | </links>
|
||
326 | </configuration>
|
||
327 | <reports>
|
||
328 | <report>javadoc</report> |
||
329 | </reports>
|
||
330 | </reportSet>
|
||
331 | <reportSet>
|
||
332 | <id>cresques-impl</id> |
||
333 | <configuration>
|
||
334 | <doctitle>${project.name} ${project.version} Cresques implementation</doctitle> |
||
335 | <subpackages>org.cresques.impl</subpackages> |
||
336 | <name>Javadoc: Cresques impl</name> |
||
337 | <destDir>cresquesdoc</destDir> |
||
338 | <windowtitle>Cresques implementation Documentation</windowtitle> |
||
339 | <links>
|
||
340 | <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
||
341 | <link>http://www.slf4j.org/api/</link> |
||
342 | <link>../apidoc/</link> |
||
343 | <link>${site-repository}/org.gvsig.tools/2.0.0/apidocs/</link> |
||
344 | <link>${site-repository}/org.gvsig.i18n/2.0.0/apidocs/</link> |
||
345 | <link>${site-repository}/org.gvsig.metadata/2.0.0/apidocs/</link> |
||
346 | <link>${site-repository}/org.gvsig.compat/2.0.0/apidocs/</link> |
||
347 | </links>
|
||
348 | </configuration>
|
||
349 | <reports>
|
||
350 | <report>javadoc</report> |
||
351 | </reports>
|
||
352 | </reportSet>
|
||
353 | </reportSets>
|
||
354 | 28554 | cordinyana | </plugin>
|
355 | </plugins>
|
||
356 | </reporting>
|
||
357 | |||
358 | 27509 | cmartinez | </project> |