Strabon

view endpoint/pom.xml @ 1514:c009d1364185

Cleaned endpoint dependencies.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Wed Apr 29 13:26:26 2015 +0300 (2015-04-29)
parents f5e6db1a2ca6
children bb3bcc0b9637
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.3.2-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>
22 <!-- Core Dependencies -->
23 <dependency>
24 <groupId>eu.earthobservatory</groupId>
25 <artifactId>strabon-vocabulary</artifactId>
26 </dependency>
28 <dependency>
29 <groupId>eu.earthobservatory</groupId>
30 <artifactId>strabon-runtime</artifactId>
31 <type>jar</type>
32 <scope>compile</scope>
33 </dependency>
34 <!-- Core Dependencies -->
36 <!-- Java -->
37 <dependency>
38 <groupId>javax</groupId>
39 <artifactId>javaee-web-api</artifactId>
40 <scope>provided</scope>
41 </dependency>
42 <!-- Java -->
44 <!-- Apache Commons -->
45 <dependency>
46 <groupId>commons-fileupload</groupId>
47 <artifactId>commons-fileupload</artifactId>
48 </dependency>
49 <dependency>
50 <groupId>commons-io</groupId>
51 <artifactId>commons-io</artifactId>
52 </dependency>
53 <!-- Apache Commons -->
55 <!-- Spring framework -->
56 <dependency>
57 <groupId>org.springframework</groupId>
58 <artifactId>spring-webmvc</artifactId>
59 <exclusions>
60 <exclusion>
61 <groupId>commons-logging</groupId>
62 <artifactId>commons-logging</artifactId>
63 </exclusion>
64 </exclusions>
65 </dependency>
66 <dependency>
67 <groupId>org.springframework</groupId>
68 <artifactId>spring-aop</artifactId>
69 <exclusions>
70 <exclusion>
71 <groupId>commons-logging</groupId>
72 <artifactId>commons-logging</artifactId>
73 </exclusion>
74 </exclusions>
75 </dependency>
76 <!-- Spring framework -->
77 </dependencies>
79 <build>
80 <resources>
81 <resource>
82 <directory>src/main/resources</directory>
83 <filtering>true</filtering>
84 <includes>
85 <include>**/version.properties</include>
86 </includes>
87 </resource>
88 <resource>
89 <directory>src/main/resources</directory>
90 <filtering>false</filtering>
91 <excludes>
92 <exclude>**/version.properties</exclude>
93 </excludes>
94 </resource>
95 </resources>
96 <plugins>
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-compiler-plugin</artifactId>
100 <version>2.3.2</version>
101 <configuration>
102 <source>1.6</source>
103 <target>1.6</target>
104 <compilerArguments>
105 <endorseddirs>${endorsed.dir}</endorseddirs>
106 </compilerArguments>
107 </configuration>
108 </plugin>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-war-plugin</artifactId>
112 <version>2.1.1</version>
113 <configuration>
114 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
115 <webResources>
116 <resource>
117 <targetPath>/WEB-INF</targetPath>
118 <directory>${basedir}/WebContent/WEB-INF</directory>
119 <includes>
120 <include>lib/**</include>
121 </includes>
122 </resource>
124 <resource>
125 <targetPath>/WEB-INF</targetPath>
126 <directory>${basedir}</directory>
127 <includes>
128 <include>wsdl/**</include>
129 </includes>
130 </resource>
132 <resource>
133 <targetPath>/WEB-INF</targetPath>
134 <directory>${basedir}/WebContent/WEB-INF</directory>
135 <includes>
136 <include>beans.xml</include>
137 <include>connection.properties</include>
138 <include>credentials.properties</include>
139 </includes>
140 </resource>
142 <resource>
143 <targetPath>/WEB-INF/classes</targetPath>
144 <directory>${basedir}/src</directory>
145 <includes>
146 <include>log4j.properties</include>
147 </includes>
148 </resource>
150 <resource>
151 <targetPath>/</targetPath>
152 <directory>${basedir}/WebContent</directory>
153 <includes>
154 <include>style.css</include>
155 <include>style-menu.css</include>
156 <include>store.jsp</include>
157 <include>query.jsp</include>
158 <include>describe.jsp</include>
159 <include>connection.jsp</include>
160 <include>connection.jsp</include>
161 <include>browse.jsp</include>
162 <include>header.html</include>
163 </includes>
164 </resource>
166 <resource>
167 <targetPath>/</targetPath>
168 <directory>${basedir}/WebContent</directory>
169 <includes>
170 <include>images/**</include>
171 <include>js/**</include>
172 </includes>
173 </resource>
174 </webResources>
175 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
176 </archive> -->
177 </configuration>
178 </plugin>
179 <!--
180 <plugin>
181 <groupId>org.eclipse.m2e</groupId>
182 <artifactId>lifecycle-mapping</artifactId>
183 <version>1.0.0</version>
184 <configuration>
185 <lifecycleMappingMetadata>
186 <pluginExecutions>
187 <pluginExecution>
188 <pluginExecutionFilter>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-dependency-plugin</artifactId>
191 <versionRange>[2.1,)</versionRange>
192 <goals>
193 <goal>copy-dependencies</goal>
194 </goals>
195 </pluginExecutionFilter>
196 <action>
197 <ignore />
198 </action>
199 </pluginExecution>
200 </pluginExecutions>
201 </lifecycleMappingMetadata>
202 </configuration>
203 </plugin>
204 -->
205 <plugin>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-dependency-plugin</artifactId>
208 <version>2.4</version>
209 <executions>
210 <execution>
211 <!-- <phase>validate</phase> -->
212 <phase>package</phase>
213 <goals>
214 <goal>copy</goal>
215 </goals>
216 <configuration>
217 <outputDirectory>${endorsed.dir}</outputDirectory>
218 <silent>true</silent>
219 <artifactItems>
220 <artifactItem>
221 <groupId>javax</groupId>
222 <artifactId>javaee-endorsed-api</artifactId>
223 <version>6.0</version>
224 <type>jar</type>
225 </artifactItem>
226 </artifactItems>
227 </configuration>
228 </execution>
229 </executions>
230 </plugin>
231 <plugin>
232 <artifactId>maven-release-plugin</artifactId>
233 <version>2.2.2</version>
234 <configuration>
235 <tagNameFormat>v@{project.version}</tagNameFormat>
236 <autoVersionSubmodules>true</autoVersionSubmodules>
237 </configuration>
238 </plugin>
239 </plugins>
241 <pluginManagement>
242 <plugins>
243 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
244 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
245 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
247 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
248 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
249 </configuration> </plugin> -->
250 <plugin>
251 <groupId>org.eclipse.m2e</groupId>
252 <artifactId>lifecycle-mapping</artifactId>
253 <version>1.0.0</version>
254 <configuration>
255 <lifecycleMappingMetadata>
256 <pluginExecutions>
257 <pluginExecution>
258 <pluginExecutionFilter>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-dependency-plugin</artifactId>
261 <versionRange>[2.4,)</versionRange>
262 <goals>
263 <goal>copy-dependencies</goal>
264 </goals>
265 </pluginExecutionFilter>
266 <action>
267 <ignore />
268 </action>
269 </pluginExecution>
270 </pluginExecutions>
271 </lifecycleMappingMetadata>
272 </configuration>
273 </plugin>
274 </plugins>
275 </pluginManagement>
276 </build>
277 </project>