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