Strabon

view endpoint/pom.xml @ 646:300e958d034b

temporals
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Tue Oct 16 15:47:04 2012 +0300 (2012-10-16)
parents 0223607ec93f db5318effac8
children 3135a083daa2
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.5-SNAPSHOT</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>style-menu.css</include>
188 <include>store.jsp</include>
189 <include>query.jsp</include>
190 <include>describe.jsp</include>
191 <include>connection.jsp</include>
192 <include>connection.jsp</include>
193 <include>browse.jsp</include>
194 <include>teleios-header.html</include>
195 </includes>
196 </resource>
198 <resource>
199 <targetPath>/</targetPath>
200 <directory>${basedir}/WebContent</directory>
201 <includes>
202 <include>images/**</include>
203 <include>js/**</include>
204 </includes>
205 </resource>
206 </webResources>
207 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
208 </archive> -->
209 </configuration>
210 </plugin>
211 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
212 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
213 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
215 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
216 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
217 </configuration> </plugin> -->
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-dependency-plugin</artifactId>
221 <version>2.4</version>
222 <executions>
223 <execution>
224 <!-- <phase>validate</phase> -->
225 <phase>package</phase>
226 <goals>
227 <goal>copy</goal>
228 </goals>
229 <configuration>
230 <outputDirectory>${endorsed.dir}</outputDirectory>
231 <silent>true</silent>
232 <artifactItems>
233 <artifactItem>
234 <groupId>javax</groupId>
235 <artifactId>javaee-endorsed-api</artifactId>
236 <version>6.0</version>
237 <type>jar</type>
238 </artifactItem>
239 </artifactItems>
240 </configuration>
241 </execution>
242 </executions>
243 </plugin>
244 <plugin>
245 <artifactId>maven-release-plugin</artifactId>
246 <version>2.2.2</version>
247 <configuration>
248 <tagNameFormat>v@{project.version}</tagNameFormat>
249 <autoVersionSubmodules>true</autoVersionSubmodules>
250 </configuration>
251 </plugin>
252 <plugin>
253 <groupId>org.apache.tomcat.maven</groupId>
254 <artifactId>tomcat7-maven-plugin</artifactId>
255 <executions>
256 <execution>
257 <id>tomcat-run</id>
258 <goals>
259 <goal>exec-war-only</goal>
260 </goals>
261 <!-- <phase>package</phase> -->
262 <phase>integration-test</phase>
263 <configuration>
264 <enableNaming>true</enableNaming>
265 </configuration>
266 </execution>
267 </executions>
268 </plugin>
269 </plugins>
271 <pluginManagement>
272 <plugins>
273 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
274 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
275 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
277 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
278 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
279 </configuration> </plugin> -->
280 <plugin>
281 <groupId>org.eclipse.m2e</groupId>
282 <artifactId>lifecycle-mapping</artifactId>
283 <version>1.0.0</version>
284 <configuration>
285 <lifecycleMappingMetadata>
286 <pluginExecutions>
287 <pluginExecution>
288 <pluginExecutionFilter>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-dependency-plugin</artifactId>
291 <versionRange>[2.1,)</versionRange>
292 <goals>
293 <goal>copy-dependencies</goal>
294 </goals>
295 </pluginExecutionFilter>
296 <action>
297 <ignore />
298 </action>
299 </pluginExecution>
300 </pluginExecutions>
301 </lifecycleMappingMetadata>
302 </configuration>
303 </plugin>
304 </plugins>
305 </pluginManagement>
306 </build>
307 </project>