Strabon

view endpoint/pom.xml @ 973:fd5c334c7fa8

Almost finished the test. Final check with the existing results need to be done.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Wed Apr 03 20:19:14 2013 +0300 (2013-04-03)
parents 318ed1e6dd14
children 8fb408631e75
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.9-SNAPSHOT</version>
8 </parent>
10 <artifactId>strabon-endpoint</artifactId>
11 <packaging>war</packaging>
13 <name>Strabon: Endpoint</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>spatial-temporal-constants</artifactId>
30 </dependency>
32 <dependency>
33 <groupId>eu.earthobservatory</groupId>
34 <artifactId>strabon-runtime</artifactId>
35 <type>jar</type>
36 <scope>compile</scope>
37 <exclusions>
38 <exclusion>
39 <artifactId>servlet-api-2.5</artifactId>
40 <groupId>org.mortbay.jetty</groupId>
41 </exclusion>
42 <exclusion>
43 <artifactId>jsp-api-2.1</artifactId>
44 <groupId>org.mortbay.jetty</groupId>
45 </exclusion>
46 </exclusions>
47 </dependency>
49 <!-- GeoTools -->
50 <dependency>
51 <groupId>org.geotools.xsd</groupId>
52 <artifactId>gt-xsd-kml</artifactId>
53 </dependency>
55 <dependency>
56 <groupId>org.geotools</groupId>
57 <artifactId>gt-xml</artifactId>
58 </dependency>
60 <dependency>
61 <groupId>org.geotools</groupId>
62 <artifactId>gt-epsg-hsql</artifactId>
63 </dependency>
64 <dependency>
65 <groupId>org.geotools</groupId>
66 <artifactId>gt-shapefile</artifactId>
67 </dependency>
69 <!-- Testing: JUnit -->
70 <dependency>
71 <groupId>junit</groupId>
72 <artifactId>junit</artifactId>
73 <scope>test</scope>
74 </dependency>
76 <!-- JDBC Drivers -->
78 <dependency>
79 <groupId>postgresql</groupId>
80 <artifactId>postgresql</artifactId>
81 </dependency>
83 <!-- Spring framework -->
84 <dependency>
85 <groupId>org.springframework</groupId>
86 <artifactId>spring-webmvc</artifactId>
87 <exclusions>
88 <exclusion>
89 <groupId>commons-logging</groupId>
90 <artifactId>commons-logging</artifactId>
91 </exclusion>
92 </exclusions>
93 </dependency>
94 <dependency>
95 <groupId>org.springframework</groupId>
96 <artifactId>spring-aop</artifactId>
97 <exclusions>
98 <exclusion>
99 <groupId>commons-logging</groupId>
100 <artifactId>commons-logging</artifactId>
101 </exclusion>
102 </exclusions>
103 </dependency>
105 <dependency>
106 <groupId>commons-validator</groupId>
107 <artifactId>commons-validator</artifactId>
108 </dependency>
109 </dependencies>
111 <build>
112 <resources>
113 <resource>
114 <directory>src/main/resources</directory>
115 <filtering>true</filtering>
116 <includes>
117 <include>**/version.properties</include>
118 </includes>
119 </resource>
120 <resource>
121 <directory>src/main/resources</directory>
122 <filtering>false</filtering>
123 <excludes>
124 <exclude>**/version.properties</exclude>
125 </excludes>
126 </resource>
127 </resources>
128 <plugins>
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-compiler-plugin</artifactId>
132 <version>2.3.2</version>
133 <configuration>
134 <source>1.6</source>
135 <target>1.6</target>
136 <compilerArguments>
137 <endorseddirs>${endorsed.dir}</endorseddirs>
138 </compilerArguments>
139 </configuration>
140 </plugin>
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-war-plugin</artifactId>
144 <version>2.1.1</version>
145 <configuration>
146 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
147 <webResources>
148 <resource>
149 <targetPath>/WEB-INF</targetPath>
150 <directory>${basedir}/WebContent/WEB-INF</directory>
151 <includes>
152 <include>lib/**</include>
153 </includes>
154 </resource>
156 <resource>
157 <targetPath>/WEB-INF</targetPath>
158 <directory>${basedir}</directory>
159 <includes>
160 <include>wsdl/**</include>
161 </includes>
162 </resource>
164 <resource>
165 <targetPath>/WEB-INF</targetPath>
166 <directory>${basedir}/WebContent/WEB-INF</directory>
167 <includes>
168 <include>beans.xml</include>
169 <include>connection.properties</include>
170 <include>credentials.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 </plugins>
254 <pluginManagement>
255 <plugins>
256 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
257 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
258 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
260 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
261 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
262 </configuration> </plugin> -->
263 <plugin>
264 <groupId>org.eclipse.m2e</groupId>
265 <artifactId>lifecycle-mapping</artifactId>
266 <version>1.0.0</version>
267 <configuration>
268 <lifecycleMappingMetadata>
269 <pluginExecutions>
270 <pluginExecution>
271 <pluginExecutionFilter>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-dependency-plugin</artifactId>
274 <versionRange>[2.1,)</versionRange>
275 <goals>
276 <goal>copy-dependencies</goal>
277 </goals>
278 </pluginExecutionFilter>
279 <action>
280 <ignore />
281 </action>
282 </pluginExecution>
283 </pluginExecutions>
284 </lifecycleMappingMetadata>
285 </configuration>
286 </plugin>
287 </plugins>
288 </pluginManagement>
289 </build>
290 </project>