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