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