Strabon

view endpoint/pom.xml @ 533:8378166a5669

[maven-release-plugin] prepare release v3.2.2
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Wed Sep 05 21:49:15 2012 +0300 (2012-09-05)
parents a915117ecad3
children d2bb68cf75eb
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.2</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 </includes>
171 </resource>
173 <resource>
174 <targetPath>/WEB-INF/classes</targetPath>
175 <directory>${basedir}/src</directory>
176 <includes>
177 <include>log4j.properties</include>
178 </includes>
179 </resource>
181 <resource>
182 <targetPath>/</targetPath>
183 <directory>${basedir}/WebContent</directory>
184 <includes>
185 <include>style.css</include>
186 <include>store.jsp</include>
187 <include>query.jsp</include>
188 <include>describe.jsp</include>
189 <include>teleios-header.html</include>
190 </includes>
191 </resource>
193 <resource>
194 <targetPath>/</targetPath>
195 <directory>${basedir}/WebContent</directory>
196 <includes>
197 <include>images/**</include>
198 </includes>
199 </resource>
200 </webResources>
201 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
202 </archive> -->
203 </configuration>
204 </plugin>
205 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
206 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
207 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
209 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
210 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
211 </configuration> </plugin> -->
212 <plugin>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-dependency-plugin</artifactId>
215 <version>2.4</version>
216 <executions>
217 <execution>
218 <!-- <phase>validate</phase> -->
219 <phase>package</phase>
220 <goals>
221 <goal>copy</goal>
222 </goals>
223 <configuration>
224 <outputDirectory>${endorsed.dir}</outputDirectory>
225 <silent>true</silent>
226 <artifactItems>
227 <artifactItem>
228 <groupId>javax</groupId>
229 <artifactId>javaee-endorsed-api</artifactId>
230 <version>6.0</version>
231 <type>jar</type>
232 </artifactItem>
233 </artifactItems>
234 </configuration>
235 </execution>
236 </executions>
237 </plugin>
238 <plugin>
239 <artifactId>maven-release-plugin</artifactId>
240 <version>2.2.2</version>
241 <configuration>
242 <tagNameFormat>v@{project.version}</tagNameFormat>
243 <autoVersionSubmodules>true</autoVersionSubmodules>
244 </configuration>
245 </plugin>
246 <plugin>
247 <groupId>org.apache.tomcat.maven</groupId>
248 <artifactId>tomcat7-maven-plugin</artifactId>
249 <executions>
250 <execution>
251 <id>tomcat-run</id>
252 <goals>
253 <goal>exec-war-only</goal>
254 </goals>
255 <!-- <phase>package</phase> -->
256 <phase>integration-test</phase>
257 <configuration>
258 <enableNaming>true</enableNaming>
259 </configuration>
260 </execution>
261 </executions>
262 </plugin>
263 </plugins>
265 <pluginManagement>
266 <plugins>
267 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
268 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
269 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
271 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
272 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
273 </configuration> </plugin> -->
274 <plugin>
275 <groupId>org.eclipse.m2e</groupId>
276 <artifactId>lifecycle-mapping</artifactId>
277 <version>1.0.0</version>
278 <configuration>
279 <lifecycleMappingMetadata>
280 <pluginExecutions>
281 <pluginExecution>
282 <pluginExecutionFilter>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-dependency-plugin</artifactId>
285 <versionRange>[2.1,)</versionRange>
286 <goals>
287 <goal>copy-dependencies</goal>
288 </goals>
289 </pluginExecutionFilter>
290 <action>
291 <ignore />
292 </action>
293 </pluginExecution>
294 </pluginExecutions>
295 </lifecycleMappingMetadata>
296 </configuration>
297 </plugin>
298 </plugins>
299 </pluginManagement>
300 </build>
301 </project>