Strabon

view endpoint/pom.xml @ 308:7f1078abc31f

Added the Geonames parser
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Wed Jun 20 19:03:13 2012 +0300 (2012-06-20)
parents 809c08f7b984
children cf6202c799f3
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.10-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 </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 <!--
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 <exclusions>
105 <exclusion>
106 <artifactId>slf4j-jdk14</artifactId>
107 <groupId>org.slf4j</groupId>
108 </exclusion>
109 </exclusions>
110 </dependency>
111 -->
112 <dependency>
113 <groupId>commons-validator</groupId>
114 <artifactId>commons-validator</artifactId>
115 </dependency>
116 </dependencies>
118 <build>
119 <plugins>
120 <plugin>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-compiler-plugin</artifactId>
123 <version>2.3.2</version>
124 <configuration>
125 <source>1.6</source>
126 <target>1.6</target>
127 <compilerArguments>
128 <endorseddirs>${endorsed.dir}</endorseddirs>
129 </compilerArguments>
130 </configuration>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-war-plugin</artifactId>
135 <version>2.1.1</version>
136 <configuration>
137 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
138 <webResources>
139 <resource>
140 <targetPath>/WEB-INF</targetPath>
141 <directory>${basedir}/WebContent/WEB-INF</directory>
142 <includes>
143 <include>lib/**</include>
144 </includes>
145 </resource>
147 <resource>
148 <targetPath>/WEB-INF</targetPath>
149 <directory>${basedir}</directory>
150 <includes>
151 <include>wsdl/**</include>
152 </includes>
153 </resource>
155 <resource>
156 <targetPath>/WEB-INF</targetPath>
157 <directory>${basedir}/WebContent/WEB-INF</directory>
158 <includes>
159 <include>beans.xml</include>
160 </includes>
161 </resource>
163 <resource>
164 <targetPath>/</targetPath>
165 <directory>${basedir}/WebContent</directory>
166 <includes>
167 <include>style.css</include>
168 <include>store.jsp</include>
169 </includes>
170 </resource>
172 <resource>
173 <targetPath>/</targetPath>
174 <directory>${basedir}/WebContent</directory>
175 <includes>
176 <include>images/**</include>
177 </includes>
178 </resource>
179 </webResources>
180 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
181 </archive> -->
182 </configuration>
183 </plugin>
184 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
185 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
186 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
188 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
189 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
190 </configuration> </plugin> -->
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-dependency-plugin</artifactId>
194 <version>2.4</version>
195 <executions>
196 <execution>
197 <!-- <phase>validate</phase> -->
198 <phase>package</phase>
199 <goals>
200 <goal>copy</goal>
201 </goals>
202 <configuration>
203 <outputDirectory>${endorsed.dir}</outputDirectory>
204 <silent>true</silent>
205 <artifactItems>
206 <artifactItem>
207 <groupId>javax</groupId>
208 <artifactId>javaee-endorsed-api</artifactId>
209 <version>6.0</version>
210 <type>jar</type>
211 </artifactItem>
212 </artifactItems>
213 </configuration>
214 </execution>
215 </executions>
216 </plugin>
217 <plugin>
218 <artifactId>maven-release-plugin</artifactId>
219 <version>2.2.2</version>
220 <configuration>
221 <tagNameFormat>v@{project.version}</tagNameFormat>
222 <autoVersionSubmodules>true</autoVersionSubmodules>
223 </configuration>
224 </plugin>
225 <plugin>
226 <groupId>org.apache.tomcat.maven</groupId>
227 <artifactId>tomcat7-maven-plugin</artifactId>
228 <executions>
229 <execution>
230 <id>tomcat-run</id>
231 <goals>
232 <goal>exec-war-only</goal>
233 </goals>
234 <phase>package</phase>
235 <configuration>
236 <enableNaming>true</enableNaming>
237 </configuration>
238 </execution>
239 </executions>
240 </plugin>
241 </plugins>
243 <pluginManagement>
244 <plugins>
245 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
246 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
247 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
249 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
250 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
251 </configuration> </plugin> -->
252 <plugin>
253 <groupId>org.eclipse.m2e</groupId>
254 <artifactId>lifecycle-mapping</artifactId>
255 <version>1.0.0</version>
256 <configuration>
257 <lifecycleMappingMetadata>
258 <pluginExecutions>
259 <pluginExecution>
260 <pluginExecutionFilter>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-dependency-plugin</artifactId>
263 <versionRange>[2.1,)</versionRange>
264 <goals>
265 <goal>copy-dependencies</goal>
266 </goals>
267 </pluginExecutionFilter>
268 <action>
269 <ignore />
270 </action>
271 </pluginExecution>
272 </pluginExecutions>
273 </lifecycleMappingMetadata>
274 </configuration>
275 </plugin>
276 </plugins>
277 </pluginManagement>
278 </build>
279 </project>