Strabon

view endpoint/pom.xml @ 574:66fbe30eb2e9

[maven-release-plugin] prepare release v3.2.4
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Oct 01 20:14:12 2012 +0300 (2012-10-01)
parents e53c5ec92c0a
children db5318effac8
line source
1 <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">
2 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>eu.earthobservatory</groupId>
6 <artifactId>strabon</artifactId>
7 <version>3.2.4</version>
8 </parent>
10 <artifactId>strabon-endpoint</artifactId>
11 <packaging>war</packaging>
13 <name>StrabonEndpoint</name>
14 <description>An endpoint for Strabon</description>
16 <properties>
17 <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
18 </properties>
20 <dependencies>
21 <dependency>
22 <groupId>javax</groupId>
23 <artifactId>javaee-web-api</artifactId>
24 <scope>provided</scope>
25 </dependency>
27 <dependency>
28 <groupId>eu.earthobservatory</groupId>
29 <artifactId>strabon-runtime</artifactId>
30 <type>jar</type>
31 <scope>compile</scope>
32 <exclusions>
33 <exclusion>
34 <artifactId>servlet-api-2.5</artifactId>
35 <groupId>org.mortbay.jetty</groupId>
36 </exclusion>
37 <exclusion>
38 <artifactId>jsp-api-2.1</artifactId>
39 <groupId>org.mortbay.jetty</groupId>
40 </exclusion>
41 </exclusions>
42 </dependency>
44 <!-- GeoTools -->
45 <dependency>
46 <groupId>org.geotools.xsd</groupId>
47 <artifactId>gt-xsd-kml</artifactId>
48 </dependency>
50 <dependency>
51 <groupId>org.geotools</groupId>
52 <artifactId>gt-xml</artifactId>
53 </dependency>
55 <dependency>
56 <groupId>org.geotools</groupId>
57 <artifactId>gt-epsg-hsql</artifactId>
58 </dependency>
59 <dependency>
60 <groupId>org.geotools</groupId>
61 <artifactId>gt-shapefile</artifactId>
62 </dependency>
64 <!-- Testing: JUnit -->
65 <dependency>
66 <groupId>junit</groupId>
67 <artifactId>junit</artifactId>
68 <scope>test</scope>
69 </dependency>
71 <!-- JDBC Drivers -->
73 <dependency>
74 <groupId>postgresql</groupId>
75 <artifactId>postgresql</artifactId>
76 </dependency>
78 <!-- Spring framework -->
79 <dependency>
80 <groupId>org.springframework</groupId>
81 <artifactId>spring-webmvc</artifactId>
82 <exclusions>
83 <exclusion>
84 <groupId>commons-logging</groupId>
85 <artifactId>commons-logging</artifactId>
86 </exclusion>
87 </exclusions>
88 </dependency>
89 <dependency>
90 <groupId>org.springframework</groupId>
91 <artifactId>spring-aop</artifactId>
92 <exclusions>
93 <exclusion>
94 <groupId>commons-logging</groupId>
95 <artifactId>commons-logging</artifactId>
96 </exclusion>
97 </exclusions>
98 </dependency>
100 <!--
101 <dependency>
102 <groupId>org.apache.cxf</groupId>
103 <artifactId>cxf-rt-frontend-jaxws</artifactId>
104 </dependency>
106 <dependency>
107 <groupId>org.apache.cxf</groupId>
108 <artifactId>cxf-rt-transports-http</artifactId>
109 </dependency>
111 <dependency>
112 <groupId>org.apache.cxf</groupId>
113 <artifactId>cxf-rt-transports-http-jetty</artifactId>
114 <exclusions>
115 <exclusion>
116 <artifactId>slf4j-jdk14</artifactId>
117 <groupId>org.slf4j</groupId>
118 </exclusion>
119 </exclusions>
120 </dependency>
121 -->
122 <dependency>
123 <groupId>commons-validator</groupId>
124 <artifactId>commons-validator</artifactId>
125 </dependency>
126 </dependencies>
128 <build>
129 <plugins>
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-compiler-plugin</artifactId>
133 <version>2.3.2</version>
134 <configuration>
135 <source>1.6</source>
136 <target>1.6</target>
137 <compilerArguments>
138 <endorseddirs>${endorsed.dir}</endorseddirs>
139 </compilerArguments>
140 </configuration>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-war-plugin</artifactId>
145 <version>2.1.1</version>
146 <configuration>
147 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
148 <webResources>
149 <resource>
150 <targetPath>/WEB-INF</targetPath>
151 <directory>${basedir}/WebContent/WEB-INF</directory>
152 <includes>
153 <include>lib/**</include>
154 </includes>
155 </resource>
157 <resource>
158 <targetPath>/WEB-INF</targetPath>
159 <directory>${basedir}</directory>
160 <includes>
161 <include>wsdl/**</include>
162 </includes>
163 </resource>
165 <resource>
166 <targetPath>/WEB-INF</targetPath>
167 <directory>${basedir}/WebContent/WEB-INF</directory>
168 <includes>
169 <include>beans.xml</include>
170 <include>connection.properties</include>
171 </includes>
172 </resource>
174 <resource>
175 <targetPath>/WEB-INF/classes</targetPath>
176 <directory>${basedir}/src</directory>
177 <includes>
178 <include>log4j.properties</include>
179 </includes>
180 </resource>
182 <resource>
183 <targetPath>/</targetPath>
184 <directory>${basedir}/WebContent</directory>
185 <includes>
186 <include>style.css</include>
187 <include>store.jsp</include>
188 <include>query.jsp</include>
189 <include>describe.jsp</include>
190 <include>connection.jsp</include>
191 <include>connection.jsp</include>
192 <include>browse.jsp</include>
193 <include>teleios-header.html</include>
194 </includes>
195 </resource>
197 <resource>
198 <targetPath>/</targetPath>
199 <directory>${basedir}/WebContent</directory>
200 <includes>
201 <include>images/**</include>
202 <include>js/**</include>
203 </includes>
204 </resource>
205 </webResources>
206 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
207 </archive> -->
208 </configuration>
209 </plugin>
210 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
211 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
212 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
214 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
215 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
216 </configuration> </plugin> -->
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-dependency-plugin</artifactId>
220 <version>2.4</version>
221 <executions>
222 <execution>
223 <!-- <phase>validate</phase> -->
224 <phase>package</phase>
225 <goals>
226 <goal>copy</goal>
227 </goals>
228 <configuration>
229 <outputDirectory>${endorsed.dir}</outputDirectory>
230 <silent>true</silent>
231 <artifactItems>
232 <artifactItem>
233 <groupId>javax</groupId>
234 <artifactId>javaee-endorsed-api</artifactId>
235 <version>6.0</version>
236 <type>jar</type>
237 </artifactItem>
238 </artifactItems>
239 </configuration>
240 </execution>
241 </executions>
242 </plugin>
243 <plugin>
244 <artifactId>maven-release-plugin</artifactId>
245 <version>2.2.2</version>
246 <configuration>
247 <tagNameFormat>v@{project.version}</tagNameFormat>
248 <autoVersionSubmodules>true</autoVersionSubmodules>
249 </configuration>
250 </plugin>
251 <plugin>
252 <groupId>org.apache.tomcat.maven</groupId>
253 <artifactId>tomcat7-maven-plugin</artifactId>
254 <executions>
255 <execution>
256 <id>tomcat-run</id>
257 <goals>
258 <goal>exec-war-only</goal>
259 </goals>
260 <!-- <phase>package</phase> -->
261 <phase>integration-test</phase>
262 <configuration>
263 <enableNaming>true</enableNaming>
264 </configuration>
265 </execution>
266 </executions>
267 </plugin>
268 </plugins>
270 <pluginManagement>
271 <plugins>
272 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
273 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
274 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
276 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
277 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
278 </configuration> </plugin> -->
279 <plugin>
280 <groupId>org.eclipse.m2e</groupId>
281 <artifactId>lifecycle-mapping</artifactId>
282 <version>1.0.0</version>
283 <configuration>
284 <lifecycleMappingMetadata>
285 <pluginExecutions>
286 <pluginExecution>
287 <pluginExecutionFilter>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-dependency-plugin</artifactId>
290 <versionRange>[2.1,)</versionRange>
291 <goals>
292 <goal>copy-dependencies</goal>
293 </goals>
294 </pluginExecutionFilter>
295 <action>
296 <ignore />
297 </action>
298 </pluginExecution>
299 </pluginExecutions>
300 </lifecycleMappingMetadata>
301 </configuration>
302 </plugin>
303 </plugins>
304 </pluginManagement>
305 </build>
306 </project>