Strabon

view endpoint/pom.xml @ 93:cd9be1ed7ba4

correct usage
author George Garbis <ggarbis@di.uoa.gr>
date Wed Apr 04 19:06:16 2012 +0300 (2012-04-04)
parents e2f2da9fceb5
children 4291d3c2a7d0
line source
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>eu.earthobservatory</groupId>
7 <artifactId>strabon</artifactId>
8 <version>3.1.8-SNAPSHOT</version>
9 </parent>
11 <artifactId>strabon-endpoint</artifactId>
12 <packaging>war</packaging>
14 <name>StrabonEndpoint</name>
15 <description>An endpoint for Strabon</description>
17 <properties>
18 <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
19 </properties>
21 <dependencies>
22 <dependency>
23 <groupId>javax</groupId>
24 <artifactId>javaee-web-api</artifactId>
25 <scope>provided</scope>
26 </dependency>
28 <dependency>
29 <groupId>eu.earthobservatory</groupId>
30 <artifactId>strabon-runtime</artifactId>
31 <type>jar</type>
32 <scope>compile</scope>
33 </dependency>
35 <!-- GeoTools -->
36 <dependency>
37 <groupId>org.geotools.xsd</groupId>
38 <artifactId>gt-xsd-kml</artifactId>
39 </dependency>
41 <dependency>
42 <groupId>org.geotools</groupId>
43 <artifactId>gt-xml</artifactId>
44 </dependency>
46 <dependency>
47 <groupId>org.geotools</groupId>
48 <artifactId>gt-epsg-hsql</artifactId>
49 </dependency>
50 <dependency>
51 <groupId>org.geotools</groupId>
52 <artifactId>gt-shapefile</artifactId>
53 </dependency>
55 <!-- Testing: JUnit -->
56 <dependency>
57 <groupId>junit</groupId>
58 <artifactId>junit</artifactId>
59 <scope>test</scope>
60 </dependency>
62 <!-- JDBC Drivers -->
64 <dependency>
65 <groupId>postgresql</groupId>
66 <artifactId>postgresql</artifactId>
67 </dependency>
69 <!-- Spring framework -->
70 <dependency>
71 <groupId>org.springframework</groupId>
72 <artifactId>spring-webmvc</artifactId>
73 <exclusions>
74 <exclusion>
75 <groupId>commons-logging</groupId>
76 <artifactId>commons-logging</artifactId>
77 </exclusion>
78 </exclusions>
79 </dependency>
80 <dependency>
81 <groupId>org.springframework</groupId>
82 <artifactId>spring-aop</artifactId>
83 <exclusions>
84 <exclusion>
85 <groupId>commons-logging</groupId>
86 <artifactId>commons-logging</artifactId>
87 </exclusion>
88 </exclusions>
89 </dependency>
91 <dependency>
92 <groupId>org.apache.cxf</groupId>
93 <artifactId>cxf-rt-frontend-jaxws</artifactId>
94 </dependency>
96 <dependency>
97 <groupId>org.apache.cxf</groupId>
98 <artifactId>cxf-rt-transports-http</artifactId>
99 </dependency>
101 <dependency>
102 <groupId>org.apache.cxf</groupId>
103 <artifactId>cxf-rt-transports-http-jetty</artifactId>
104 </dependency>
106 <dependency>
107 <groupId>commons-validator</groupId>
108 <artifactId>commons-validator</artifactId>
109 </dependency>
110 </dependencies>
112 <build>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-compiler-plugin</artifactId>
117 <version>2.3.2</version>
118 <configuration>
119 <source>1.6</source>
120 <target>1.6</target>
121 <compilerArguments>
122 <endorseddirs>${endorsed.dir}</endorseddirs>
123 </compilerArguments>
124 </configuration>
125 </plugin>
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-war-plugin</artifactId>
129 <version>2.1.1</version>
130 <configuration>
131 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
132 <webResources>
133 <resource>
134 <targetPath>/WEB-INF</targetPath>
135 <directory>${basedir}/WebContent/WEB-INF</directory>
136 <includes>
137 <include>lib/**</include>
138 </includes>
139 </resource>
141 <resource>
142 <targetPath>/WEB-INF</targetPath>
143 <directory>${basedir}</directory>
144 <includes>
145 <include>wsdl/**</include>
146 </includes>
147 </resource>
149 <resource>
150 <targetPath>/WEB-INF</targetPath>
151 <directory>${basedir}/WebContent/WEB-INF</directory>
152 <includes>
153 <include>beans.xml</include>
154 </includes>
155 </resource>
157 <resource>
158 <targetPath>/</targetPath>
159 <directory>${basedir}/WebContent</directory>
160 <includes>
161 <include>style.css</include>
162 <include>store.jsp</include>
163 </includes>
164 </resource>
166 <resource>
167 <targetPath>/</targetPath>
168 <directory>${basedir}/WebContent</directory>
169 <includes>
170 <include>images/**</include>
171 </includes>
172 </resource>
173 </webResources>
174 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
175 </archive> -->
176 </configuration>
177 </plugin>
178 <!--
179 <plugin>
180 <groupId>org.eclipse.m2e</groupId>
181 <artifactId>lifecycle-mapping</artifactId>
182 <version>1.0.0</version>
183 <configuration>
184 <lifecycleMappingMetadata>
185 <pluginExecutions>
186 <pluginExecution>
187 <pluginExecutionFilter>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-dependency-plugin</artifactId>
190 <versionRange>[2.1,)</versionRange>
191 <goals>
192 <goal>copy-dependencies</goal>
193 </goals>
194 </pluginExecutionFilter>
195 <action>
196 <ignore />
197 </action>
198 </pluginExecution>
199 </pluginExecutions>
200 </lifecycleMappingMetadata>
201 </configuration>
202 </plugin>
203 -->
204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-dependency-plugin</artifactId>
207 <version>2.4</version>
208 <executions>
209 <execution>
210 <!-- <phase>validate</phase> -->
211 <phase>package</phase>
212 <goals>
213 <goal>copy</goal>
214 </goals>
215 <configuration>
216 <outputDirectory>${endorsed.dir}</outputDirectory>
217 <silent>true</silent>
218 <artifactItems>
219 <artifactItem>
220 <groupId>javax</groupId>
221 <artifactId>javaee-endorsed-api</artifactId>
222 <version>6.0</version>
223 <type>jar</type>
224 </artifactItem>
225 </artifactItems>
226 </configuration>
227 </execution>
228 </executions>
229 </plugin>
230 <plugin>
231 <artifactId>maven-release-plugin</artifactId>
232 <version>2.2.2</version>
233 <configuration>
234 <tagNameFormat>v@{project.version}</tagNameFormat>
235 <autoVersionSubmodules>true</autoVersionSubmodules>
236 </configuration>
237 </plugin>
238 </plugins>
240 <pluginManagement>
241 <plugins>
242 <!--
243 <plugin>
244 <groupId>org.eclipse.m2e</groupId>
245 <artifactId>lifecycle-mapping</artifactId>
246 <version>1.0.0</version>
247 <configuration>
248 <lifecycleMappingMetadata>
249 <pluginExecutions>
250 <pluginExecution>
251 <pluginExecutionFilter>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-dependency-plugin</artifactId>
254 <versionRange>[2.3,)</versionRange>
255 <goals>
256 <goal>copy-dependencies</goal>
257 </goals>
258 </pluginExecutionFilter>
259 <action>
260 <ignore />
261 </action>
262 </pluginExecution>
263 </pluginExecutions>
264 </lifecycleMappingMetadata>
265 </configuration>
266 </plugin>
267 -->
268 <plugin>
269 <groupId>org.eclipse.m2e</groupId>
270 <artifactId>lifecycle-mapping</artifactId>
271 <version>1.0.0</version>
272 <configuration>
273 <lifecycleMappingMetadata>
274 <pluginExecutions>
275 <pluginExecution>
276 <pluginExecutionFilter>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-dependency-plugin</artifactId>
279 <versionRange>[2.1,)</versionRange>
280 <goals>
281 <goal>copy-dependencies</goal>
282 </goals>
283 </pluginExecutionFilter>
284 <action>
285 <ignore />
286 </action>
287 </pluginExecution>
288 </pluginExecutions>
289 </lifecycleMappingMetadata>
290 </configuration>
291 </plugin>
292 </plugins>
293 </pluginManagement>
295 </build>
296 </project>