Strabon

view endpoint/pom.xml @ 113:2338da456072

[maven-release-plugin] prepare release v3.1.8
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Wed Apr 11 15:21:40 2012 +0300 (2012-04-11)
parents 189bc5ff8fde
children 54b1e8b253b3
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.1.8</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 </dependency>
34 <!-- GeoTools -->
35 <dependency>
36 <groupId>org.geotools.xsd</groupId>
37 <artifactId>gt-xsd-kml</artifactId>
38 </dependency>
40 <dependency>
41 <groupId>org.geotools</groupId>
42 <artifactId>gt-xml</artifactId>
43 </dependency>
45 <dependency>
46 <groupId>org.geotools</groupId>
47 <artifactId>gt-epsg-hsql</artifactId>
48 </dependency>
49 <dependency>
50 <groupId>org.geotools</groupId>
51 <artifactId>gt-shapefile</artifactId>
52 </dependency>
54 <!-- Testing: JUnit -->
55 <dependency>
56 <groupId>junit</groupId>
57 <artifactId>junit</artifactId>
58 <scope>test</scope>
59 </dependency>
61 <!-- JDBC Drivers -->
63 <dependency>
64 <groupId>postgresql</groupId>
65 <artifactId>postgresql</artifactId>
66 </dependency>
68 <!-- Spring framework -->
69 <dependency>
70 <groupId>org.springframework</groupId>
71 <artifactId>spring-webmvc</artifactId>
72 <exclusions>
73 <exclusion>
74 <groupId>commons-logging</groupId>
75 <artifactId>commons-logging</artifactId>
76 </exclusion>
77 </exclusions>
78 </dependency>
79 <dependency>
80 <groupId>org.springframework</groupId>
81 <artifactId>spring-aop</artifactId>
82 <exclusions>
83 <exclusion>
84 <groupId>commons-logging</groupId>
85 <artifactId>commons-logging</artifactId>
86 </exclusion>
87 </exclusions>
88 </dependency>
90 <dependency>
91 <groupId>org.apache.cxf</groupId>
92 <artifactId>cxf-rt-frontend-jaxws</artifactId>
93 </dependency>
95 <dependency>
96 <groupId>org.apache.cxf</groupId>
97 <artifactId>cxf-rt-transports-http</artifactId>
98 </dependency>
100 <dependency>
101 <groupId>org.apache.cxf</groupId>
102 <artifactId>cxf-rt-transports-http-jetty</artifactId>
103 </dependency>
105 <dependency>
106 <groupId>commons-validator</groupId>
107 <artifactId>commons-validator</artifactId>
108 </dependency>
109 </dependencies>
111 <build>
112 <plugins>
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-compiler-plugin</artifactId>
116 <version>2.3.2</version>
117 <configuration>
118 <source>1.6</source>
119 <target>1.6</target>
120 <compilerArguments>
121 <endorseddirs>${endorsed.dir}</endorseddirs>
122 </compilerArguments>
123 </configuration>
124 </plugin>
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-war-plugin</artifactId>
128 <version>2.1.1</version>
129 <configuration>
130 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
131 <webResources>
132 <resource>
133 <targetPath>/WEB-INF</targetPath>
134 <directory>${basedir}/WebContent/WEB-INF</directory>
135 <includes>
136 <include>lib/**</include>
137 </includes>
138 </resource>
140 <resource>
141 <targetPath>/WEB-INF</targetPath>
142 <directory>${basedir}</directory>
143 <includes>
144 <include>wsdl/**</include>
145 </includes>
146 </resource>
148 <resource>
149 <targetPath>/WEB-INF</targetPath>
150 <directory>${basedir}/WebContent/WEB-INF</directory>
151 <includes>
152 <include>beans.xml</include>
153 </includes>
154 </resource>
156 <resource>
157 <targetPath>/</targetPath>
158 <directory>${basedir}/WebContent</directory>
159 <includes>
160 <include>style.css</include>
161 <include>store.jsp</include>
162 </includes>
163 </resource>
165 <resource>
166 <targetPath>/</targetPath>
167 <directory>${basedir}/WebContent</directory>
168 <includes>
169 <include>images/**</include>
170 </includes>
171 </resource>
172 </webResources>
173 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
174 </archive> -->
175 </configuration>
176 </plugin>
177 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
178 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
179 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
181 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
182 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
183 </configuration> </plugin> -->
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-dependency-plugin</artifactId>
187 <version>2.4</version>
188 <executions>
189 <execution>
190 <!-- <phase>validate</phase> -->
191 <phase>package</phase>
192 <goals>
193 <goal>copy</goal>
194 </goals>
195 <configuration>
196 <outputDirectory>${endorsed.dir}</outputDirectory>
197 <silent>true</silent>
198 <artifactItems>
199 <artifactItem>
200 <groupId>javax</groupId>
201 <artifactId>javaee-endorsed-api</artifactId>
202 <version>6.0</version>
203 <type>jar</type>
204 </artifactItem>
205 </artifactItems>
206 </configuration>
207 </execution>
208 </executions>
209 </plugin>
210 <plugin>
211 <artifactId>maven-release-plugin</artifactId>
212 <version>2.2.2</version>
213 <configuration>
214 <tagNameFormat>v@{project.version}</tagNameFormat>
215 <autoVersionSubmodules>true</autoVersionSubmodules>
216 </configuration>
217 </plugin>
218 <!--
219 <plugin>
220 <groupId>org.apache.tomcat.maven</groupId>
221 <artifactId>tomcat7-maven-plugin</artifactId>
222 <executions>
223 <execution>
224 <id>tomcat-run</id>
225 <goals>
226 <goal>exec-war-only</goal>
227 </goals>
228 <phase>package</phase>
229 <configuration>
230 <enableNaming>true</enableNaming>
231 </configuration>
232 </execution>
233 </executions>
234 </plugin>
235 -->
236 </plugins>
238 <pluginManagement>
239 <plugins>
240 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
241 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
242 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
244 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
245 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
246 </configuration> </plugin> -->
247 <plugin>
248 <groupId>org.eclipse.m2e</groupId>
249 <artifactId>lifecycle-mapping</artifactId>
250 <version>1.0.0</version>
251 <configuration>
252 <lifecycleMappingMetadata>
253 <pluginExecutions>
254 <pluginExecution>
255 <pluginExecutionFilter>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-dependency-plugin</artifactId>
258 <versionRange>[2.1,)</versionRange>
259 <goals>
260 <goal>copy-dependencies</goal>
261 </goals>
262 </pluginExecutionFilter>
263 <action>
264 <ignore />
265 </action>
266 </pluginExecution>
267 </pluginExecutions>
268 </lifecycleMappingMetadata>
269 </configuration>
270 </plugin>
271 </plugins>
272 </pluginManagement>
274 </build>
275 </project>