Strabon

view endpoint/pom.xml @ 132:6945f58b1619

Added geojson support. more tests will follow
author Manos Karpathiotakis <mk@di.uoa.gr>
date Tue May 08 17:36:10 2012 +0300 (2012-05-08)
parents 54b1e8b253b3
children 30b26e89d085
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.9-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 <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 <plugin>
219 <groupId>org.apache.tomcat.maven</groupId>
220 <artifactId>tomcat7-maven-plugin</artifactId>
221 <executions>
222 <execution>
223 <id>tomcat-run</id>
224 <goals>
225 <goal>exec-war-only</goal>
226 </goals>
227 <phase>package</phase>
228 <configuration>
229 <enableNaming>true</enableNaming>
230 </configuration>
231 </execution>
232 </executions>
233 </plugin>
234 </plugins>
236 <pluginManagement>
237 <plugins>
238 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
239 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
240 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
242 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
243 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
244 </configuration> </plugin> -->
245 <plugin>
246 <groupId>org.eclipse.m2e</groupId>
247 <artifactId>lifecycle-mapping</artifactId>
248 <version>1.0.0</version>
249 <configuration>
250 <lifecycleMappingMetadata>
251 <pluginExecutions>
252 <pluginExecution>
253 <pluginExecutionFilter>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-dependency-plugin</artifactId>
256 <versionRange>[2.1,)</versionRange>
257 <goals>
258 <goal>copy-dependencies</goal>
259 </goals>
260 </pluginExecutionFilter>
261 <action>
262 <ignore />
263 </action>
264 </pluginExecution>
265 </pluginExecutions>
266 </lifecycleMappingMetadata>
267 </configuration>
268 </plugin>
269 </plugins>
270 </pluginManagement>
271 </build>
272 </project>