Strabon

view endpoint/pom.xml @ 306:cf6202c799f3

added log4j.properties file in endpoint to override the one used in strabon
author Babis Nikolaou <charnik@di.uoa.gr>
date Wed Jun 20 17:01:03 2012 +0300 (2012-06-20)
parents c91ab390b86d
children 998fb3bcc29e
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>/WEB-INF/classes</targetPath>
165 <directory>${basedir}/src</directory>
166 <includes>
167 <include>log4j.properties</include>
168 </includes>
169 </resource>
171 <resource>
172 <targetPath>/</targetPath>
173 <directory>${basedir}/WebContent</directory>
174 <includes>
175 <include>style.css</include>
176 <include>store.jsp</include>
177 </includes>
178 </resource>
180 <resource>
181 <targetPath>/</targetPath>
182 <directory>${basedir}/WebContent</directory>
183 <includes>
184 <include>images/**</include>
185 </includes>
186 </resource>
187 </webResources>
188 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
189 </archive> -->
190 </configuration>
191 </plugin>
192 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
193 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
194 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
196 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
197 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
198 </configuration> </plugin> -->
199 <plugin>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-dependency-plugin</artifactId>
202 <version>2.4</version>
203 <executions>
204 <execution>
205 <!-- <phase>validate</phase> -->
206 <phase>package</phase>
207 <goals>
208 <goal>copy</goal>
209 </goals>
210 <configuration>
211 <outputDirectory>${endorsed.dir}</outputDirectory>
212 <silent>true</silent>
213 <artifactItems>
214 <artifactItem>
215 <groupId>javax</groupId>
216 <artifactId>javaee-endorsed-api</artifactId>
217 <version>6.0</version>
218 <type>jar</type>
219 </artifactItem>
220 </artifactItems>
221 </configuration>
222 </execution>
223 </executions>
224 </plugin>
225 <plugin>
226 <artifactId>maven-release-plugin</artifactId>
227 <version>2.2.2</version>
228 <configuration>
229 <tagNameFormat>v@{project.version}</tagNameFormat>
230 <autoVersionSubmodules>true</autoVersionSubmodules>
231 </configuration>
232 </plugin>
233 <plugin>
234 <groupId>org.apache.tomcat.maven</groupId>
235 <artifactId>tomcat7-maven-plugin</artifactId>
236 <executions>
237 <execution>
238 <id>tomcat-run</id>
239 <goals>
240 <goal>exec-war-only</goal>
241 </goals>
242 <phase>package</phase>
243 <configuration>
244 <enableNaming>true</enableNaming>
245 </configuration>
246 </execution>
247 </executions>
248 </plugin>
249 </plugins>
251 <pluginManagement>
252 <plugins>
253 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
254 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
255 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
257 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
258 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
259 </configuration> </plugin> -->
260 <plugin>
261 <groupId>org.eclipse.m2e</groupId>
262 <artifactId>lifecycle-mapping</artifactId>
263 <version>1.0.0</version>
264 <configuration>
265 <lifecycleMappingMetadata>
266 <pluginExecutions>
267 <pluginExecution>
268 <pluginExecutionFilter>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-dependency-plugin</artifactId>
271 <versionRange>[2.1,)</versionRange>
272 <goals>
273 <goal>copy-dependencies</goal>
274 </goals>
275 </pluginExecutionFilter>
276 <action>
277 <ignore />
278 </action>
279 </pluginExecution>
280 </pluginExecutions>
281 </lifecycleMappingMetadata>
282 </configuration>
283 </plugin>
284 </plugins>
285 </pluginManagement>
286 </build>
287 </project>