svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libCompat / pom.xml @ 39939
History | View | Annotate | Download (7.82 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 |
|
7 |
<modelVersion>4.0.0</modelVersion> |
8 |
<groupId>org.gvsig</groupId> |
9 |
<artifactId>org.gvsig.compat</artifactId> |
10 |
<version>2.0-SNAPSHOT</version> |
11 |
<name>libCompat</name> |
12 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop</url> |
13 |
<parent>
|
14 |
<groupId>org.gvsig</groupId> |
15 |
<artifactId>gvsig-base-library-pom</artifactId> |
16 |
<version>2.0</version> |
17 |
</parent>
|
18 |
|
19 |
<scm>
|
20 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/${name}/</connection> |
21 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/${name}/</developerConnection> |
22 |
<url>https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/${name}</url> |
23 |
</scm>
|
24 |
|
25 |
<properties>
|
26 |
<build-dir>${basedir}/../build</build-dir> |
27 |
<eclipse.project.name>libCompat</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.slf4j</groupId> |
37 |
<artifactId>slf4j-log4j12</artifactId> |
38 |
<scope>runtime</scope> |
39 |
</dependency>
|
40 |
</dependencies>
|
41 |
|
42 |
<!-- Build Settings -->
|
43 |
<build>
|
44 |
<sourceDirectory>src</sourceDirectory> |
45 |
<testSourceDirectory>src-test</testSourceDirectory> |
46 |
<testResources>
|
47 |
<testResource>
|
48 |
<directory>${basedir}/resources-test</directory> |
49 |
</testResource>
|
50 |
</testResources>
|
51 |
<plugins>
|
52 |
<plugin>
|
53 |
<artifactId>maven-release-plugin</artifactId> |
54 |
<version>2.0</version> |
55 |
<configuration>
|
56 |
<tagBase>https://devel.gvsig.org/svn/gvsig-desktop/tags/libraries/${artifactId}</tagBase> |
57 |
</configuration>
|
58 |
</plugin>
|
59 |
</plugins>
|
60 |
</build>
|
61 |
|
62 |
<profiles>
|
63 |
<profile>
|
64 |
<id>se</id> |
65 |
<activation>
|
66 |
<activeByDefault>true</activeByDefault> |
67 |
</activation>
|
68 |
|
69 |
<build>
|
70 |
<plugins>
|
71 |
<plugin>
|
72 |
<groupId>org.apache.maven.plugins</groupId> |
73 |
<artifactId>maven-compiler-plugin</artifactId> |
74 |
<configuration>
|
75 |
<source>1.4</source> |
76 |
<target>1.4</target> |
77 |
<!-- put your configurations here -->
|
78 |
<encoding>ISO-8859-1</encoding> |
79 |
</configuration>
|
80 |
</plugin>
|
81 |
<plugin>
|
82 |
<groupId>org.apache.maven.plugins</groupId> |
83 |
<artifactId>maven-jar-plugin</artifactId> |
84 |
<configuration>
|
85 |
<excludes>
|
86 |
<exclude>**/se/**</exclude> |
87 |
</excludes>
|
88 |
</configuration>
|
89 |
|
90 |
<executions>
|
91 |
<!-- Generates a jar file only with the libCompat SE implementation. -->
|
92 |
<execution>
|
93 |
<id>se</id> |
94 |
<phase>package</phase> |
95 |
<goals>
|
96 |
<goal>jar</goal> |
97 |
</goals>
|
98 |
<configuration>
|
99 |
<classifier>se</classifier> |
100 |
<excludes>
|
101 |
<exclude>NONE</exclude> |
102 |
</excludes>
|
103 |
<includes>
|
104 |
<include>**/se/**</include> |
105 |
</includes>
|
106 |
</configuration>
|
107 |
</execution>
|
108 |
<!--
|
109 |
Generates a jar file with the test, to be reused by other library
|
110 |
implementations.
|
111 |
-->
|
112 |
<execution>
|
113 |
<goals>
|
114 |
<goal>test-jar</goal> |
115 |
</goals>
|
116 |
</execution>
|
117 |
</executions>
|
118 |
</plugin>
|
119 |
<plugin>
|
120 |
<artifactId>maven-antrun-plugin</artifactId> |
121 |
<executions>
|
122 |
<execution>
|
123 |
<id>services</id> |
124 |
<phase>package</phase> |
125 |
<goals>
|
126 |
<goal>run</goal> |
127 |
</goals>
|
128 |
<configuration>
|
129 |
<tasks>
|
130 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
131 |
update="true"> |
132 |
<fileset dir="${basedir}/resources/api" /> |
133 |
</jar>
|
134 |
<jar destfile="${project.build.directory}/${project.build.finalName}-se.jar" |
135 |
update="true"> |
136 |
<fileset dir="${basedir}/resources/se" /> |
137 |
</jar>
|
138 |
</tasks>
|
139 |
</configuration>
|
140 |
</execution>
|
141 |
</executions>
|
142 |
</plugin>
|
143 |
<plugin>
|
144 |
<groupId>org.apache.maven.plugins</groupId> |
145 |
<artifactId>maven-surefire-plugin</artifactId> |
146 |
<configuration>
|
147 |
<additionalClasspathElements>
|
148 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
149 |
<additionalClasspathElement>${basedir}/resources/se</additionalClasspathElement> |
150 |
</additionalClasspathElements>
|
151 |
</configuration>
|
152 |
</plugin>
|
153 |
</plugins>
|
154 |
</build>
|
155 |
</profile>
|
156 |
|
157 |
<profile>
|
158 |
<id>cdc</id> |
159 |
<activation>
|
160 |
<activeByDefault>false</activeByDefault> |
161 |
</activation>
|
162 |
<build>
|
163 |
<plugins>
|
164 |
<plugin>
|
165 |
<groupId>org.apache.maven.plugins</groupId> |
166 |
<artifactId>maven-compiler-plugin</artifactId> |
167 |
<configuration>
|
168 |
<excludes>
|
169 |
<exclude>**/se/**</exclude> |
170 |
</excludes>
|
171 |
<testExcludes>
|
172 |
<exclude>**/se/**</exclude> |
173 |
</testExcludes>
|
174 |
</configuration>
|
175 |
</plugin>
|
176 |
|
177 |
<plugin>
|
178 |
<groupId>org.apache.maven.plugins</groupId> |
179 |
<artifactId>maven-jar-plugin</artifactId> |
180 |
<configuration>
|
181 |
<excludes>
|
182 |
<exclude>**/se/**</exclude> |
183 |
</excludes>
|
184 |
</configuration>
|
185 |
<executions>
|
186 |
<!--
|
187 |
Generates a jar file only with the libCompat API. <execution>
|
188 |
<id>api</id> <phase>package</phase> <goals><goal>jar</goal></goals>
|
189 |
<configuration> <classifier>api</classifier> <excludes>
|
190 |
<exclude>**/se/**</exclude> </excludes> </configuration> </execution>
|
191 |
-->
|
192 |
<!--
|
193 |
Generates a jar file with the test, to be reused by other library
|
194 |
implementations.
|
195 |
-->
|
196 |
<execution>
|
197 |
<goals>
|
198 |
<goal>test-jar</goal> |
199 |
</goals>
|
200 |
</execution>
|
201 |
</executions>
|
202 |
</plugin>
|
203 |
<plugin>
|
204 |
<artifactId>maven-antrun-plugin</artifactId> |
205 |
<executions>
|
206 |
<execution>
|
207 |
<id>services</id> |
208 |
<phase>package</phase> |
209 |
<goals>
|
210 |
<goal>run</goal> |
211 |
</goals>
|
212 |
<configuration>
|
213 |
<tasks>
|
214 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
215 |
update="true"> |
216 |
<fileset dir="${basedir}/resources/api" /> |
217 |
</jar>
|
218 |
</tasks>
|
219 |
</configuration>
|
220 |
</execution>
|
221 |
</executions>
|
222 |
</plugin>
|
223 |
|
224 |
</plugins>
|
225 |
</build>
|
226 |
|
227 |
</profile>
|
228 |
<profile>
|
229 |
<id>eclipse-project</id> |
230 |
<build>
|
231 |
<plugins>
|
232 |
<plugin>
|
233 |
<artifactId>maven-antrun-plugin</artifactId> |
234 |
<configuration>
|
235 |
<tasks>
|
236 |
<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml" target="eclipse.all" /> |
237 |
</tasks>
|
238 |
</configuration>
|
239 |
</plugin>
|
240 |
</plugins>
|
241 |
</build>
|
242 |
</profile>
|
243 |
</profiles>
|
244 |
|
245 |
<reporting>
|
246 |
<plugins>
|
247 |
<plugin>
|
248 |
<groupId>org.apache.maven.plugins</groupId> |
249 |
<artifactId>maven-javadoc-plugin</artifactId> |
250 |
<reportSets>
|
251 |
<reportSet>
|
252 |
<id>api</id> |
253 |
<configuration>
|
254 |
<excludePackageNames>org.gvsig.compat.se</excludePackageNames> |
255 |
<name>Javadoc: API</name> |
256 |
<destDir>apidoc</destDir> |
257 |
<windowtitle>API Documentation</windowtitle> |
258 |
</configuration>
|
259 |
<reports>
|
260 |
<report>javadoc</report> |
261 |
</reports>
|
262 |
</reportSet>
|
263 |
<reportSet>
|
264 |
<id>se-impl</id> |
265 |
<configuration>
|
266 |
<doctitle>${project.name} ${project.version} SE
|
267 |
Implementation</doctitle>
|
268 |
<subpackages>org.gvsig.compat.se</subpackages> |
269 |
<name>Javadoc: SE impl</name> |
270 |
<destDir>sedoc</destDir> |
271 |
<windowtitle>SE implementation Documentation</windowtitle> |
272 |
<links>
|
273 |
<link>../apidoc/</link> |
274 |
</links>
|
275 |
</configuration>
|
276 |
<reports>
|
277 |
<report>javadoc</report> |
278 |
</reports>
|
279 |
</reportSet>
|
280 |
</reportSets>
|
281 |
</plugin>
|
282 |
</plugins>
|
283 |
</reporting>
|
284 |
</project>
|