svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libGPE / pom.xml @ 30776
History | View | Annotate | Download (6.33 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.gpe</artifactId> |
9 |
<packaging>jar</packaging> |
10 |
<version>2.0-SNAPSHOT</version> |
11 |
<name>libGPE</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 |
<dependencies>
|
19 |
<dependency>
|
20 |
<groupId>org.gvsig</groupId> |
21 |
<artifactId>org.gvsig.tools</artifactId> |
22 |
<version>2.0-SNAPSHOT</version> |
23 |
</dependency>
|
24 |
<dependency>
|
25 |
<groupId>org.gvsig</groupId> |
26 |
<artifactId>org.gvsig.compat</artifactId> |
27 |
<version>2.0-SNAPSHOT</version> |
28 |
</dependency>
|
29 |
<dependency>
|
30 |
<groupId>org.gvsig</groupId> |
31 |
<artifactId>org.gvsig.compat</artifactId> |
32 |
<version>2.0-SNAPSHOT</version> |
33 |
<classifier>se</classifier> |
34 |
<scope>test</scope> |
35 |
</dependency>
|
36 |
</dependencies>
|
37 |
<properties>
|
38 |
<build-dir>${basedir}/../build</build-dir> |
39 |
</properties>
|
40 |
<build>
|
41 |
<sourceDirectory>src</sourceDirectory> |
42 |
<testSourceDirectory>src-test</testSourceDirectory> |
43 |
<plugins>
|
44 |
<plugin>
|
45 |
<groupId>org.apache.maven.plugins</groupId> |
46 |
<artifactId>maven-compiler-plugin</artifactId> |
47 |
<configuration>
|
48 |
<source>1.4</source> |
49 |
<target>1.4</target> |
50 |
</configuration>
|
51 |
</plugin>
|
52 |
</plugins>
|
53 |
</build>
|
54 |
<profiles>
|
55 |
<profile>
|
56 |
<id>se</id> |
57 |
<activation>
|
58 |
<activeByDefault>true</activeByDefault> |
59 |
</activation>
|
60 |
<dependencies>
|
61 |
<dependency>
|
62 |
<groupId>org.gvsig</groupId> |
63 |
<artifactId>org.gvsig.compat</artifactId> |
64 |
<version>2.0-SNAPSHOT</version> |
65 |
<classifier>se</classifier> |
66 |
<scope>runtime</scope> |
67 |
</dependency>
|
68 |
</dependencies>
|
69 |
<build>
|
70 |
<plugins>
|
71 |
<plugin>
|
72 |
<groupId>org.apache.maven.plugins</groupId> |
73 |
<artifactId>maven-jar-plugin</artifactId> |
74 |
<configuration>
|
75 |
<excludes>
|
76 |
<exclude>org/gvsig/xmlschema/**</exclude> |
77 |
</excludes>
|
78 |
</configuration>
|
79 |
<executions>
|
80 |
<!--
|
81 |
Generates a jar file only with the xmlschema drivers
|
82 |
-->
|
83 |
<execution>
|
84 |
<id>xmlschema</id> |
85 |
<phase>package</phase> |
86 |
<goals>
|
87 |
<goal>jar</goal> |
88 |
</goals>
|
89 |
<configuration>
|
90 |
<classifier>xmlschema</classifier> |
91 |
<excludes>
|
92 |
<exclude>org/gvsig/gpe/**</exclude> |
93 |
</excludes>
|
94 |
</configuration>
|
95 |
</execution>
|
96 |
<!--
|
97 |
Generates a jar file only with the test classes
|
98 |
-->
|
99 |
<execution>
|
100 |
<goals>
|
101 |
<goal>test-jar</goal> |
102 |
</goals>
|
103 |
<configuration>
|
104 |
<excludes>
|
105 |
<exclude>org/gvsig/xmlschema/**</exclude> |
106 |
</excludes>
|
107 |
</configuration>
|
108 |
</execution>
|
109 |
</executions>
|
110 |
</plugin>
|
111 |
<plugin>
|
112 |
<artifactId>maven-antrun-plugin</artifactId> |
113 |
<executions>
|
114 |
<execution>
|
115 |
<id>services</id> |
116 |
<phase>package</phase> |
117 |
<goals>
|
118 |
<goal>run</goal> |
119 |
</goals>
|
120 |
<configuration>
|
121 |
<tasks>
|
122 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
123 |
update="true"> |
124 |
<fileset dir="${basedir}/resources/api" /> |
125 |
</jar>
|
126 |
</tasks>
|
127 |
</configuration>
|
128 |
</execution>
|
129 |
</executions>
|
130 |
</plugin>
|
131 |
<plugin>
|
132 |
<groupId>org.apache.maven.plugins</groupId> |
133 |
<artifactId>maven-surefire-plugin</artifactId> |
134 |
<configuration>
|
135 |
<additionalClasspathElements>
|
136 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
137 |
</additionalClasspathElements>
|
138 |
</configuration>
|
139 |
</plugin>
|
140 |
</plugins>
|
141 |
</build>
|
142 |
</profile>
|
143 |
<profile>
|
144 |
<id>cdc</id> |
145 |
<activation>
|
146 |
<activeByDefault>false</activeByDefault> |
147 |
</activation>
|
148 |
<dependencies>
|
149 |
<!--
|
150 |
<dependency>
|
151 |
<groupId>org.gvsig</groupId>
|
152 |
<artifactId>org.gvsig.compat</artifactId>
|
153 |
<version>2.0-SNAPSHOT</version>
|
154 |
<classifier>cdc</classifier>
|
155 |
<scope>test</scope>
|
156 |
</dependency>
|
157 |
-->
|
158 |
</dependencies>
|
159 |
<build>
|
160 |
<plugins>
|
161 |
<plugin>
|
162 |
<groupId>org.apache.maven.plugins</groupId> |
163 |
<artifactId>maven-compiler-plugin</artifactId> |
164 |
<configuration>
|
165 |
<excludes>
|
166 |
<exclude>org/gvsig/xmlschema/**</exclude> |
167 |
</excludes>
|
168 |
<testExcludes>
|
169 |
<exclude>org/gvsig/xmlschema/**</exclude> |
170 |
</testExcludes>
|
171 |
</configuration>
|
172 |
</plugin>
|
173 |
<plugin>
|
174 |
<groupId>org.apache.maven.plugins</groupId> |
175 |
<artifactId>maven-jar-plugin</artifactId> |
176 |
<configuration>
|
177 |
<excludes>
|
178 |
<exclude>org/gvsig/xmlschema/**</exclude> |
179 |
</excludes>
|
180 |
</configuration>
|
181 |
<executions>
|
182 |
<!--
|
183 |
Generates a jar file only with the test classes
|
184 |
-->
|
185 |
<execution>
|
186 |
<goals>
|
187 |
<goal>test-jar</goal> |
188 |
</goals>
|
189 |
<configuration>
|
190 |
<excludes>
|
191 |
<exclude>org/gvsig/xmlschema/**</exclude> |
192 |
</excludes>
|
193 |
</configuration>
|
194 |
</execution>
|
195 |
</executions>
|
196 |
</plugin>
|
197 |
<plugin>
|
198 |
<artifactId>maven-antrun-plugin</artifactId> |
199 |
<executions>
|
200 |
<execution>
|
201 |
<id>services</id> |
202 |
<phase>package</phase> |
203 |
<goals>
|
204 |
<goal>run</goal> |
205 |
</goals>
|
206 |
<configuration>
|
207 |
<tasks>
|
208 |
<jar destfile="${project.build.directory}/${project.build.finalName}.jar" |
209 |
update="true"> |
210 |
<fileset dir="${basedir}/resources/api" /> |
211 |
</jar>
|
212 |
</tasks>
|
213 |
</configuration>
|
214 |
</execution>
|
215 |
</executions>
|
216 |
</plugin>
|
217 |
<plugin>
|
218 |
<groupId>org.apache.maven.plugins</groupId> |
219 |
<artifactId>maven-surefire-plugin</artifactId> |
220 |
<configuration>
|
221 |
<additionalClasspathElements>
|
222 |
<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement> |
223 |
</additionalClasspathElements>
|
224 |
</configuration>
|
225 |
</plugin>
|
226 |
</plugins>
|
227 |
</build>
|
228 |
</profile>
|
229 |
</profiles>
|
230 |
</project>
|