Strabon

view endpoint/pom.xml @ 1517:bb3bcc0b9637

Cleaned remaining poms.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Wed Apr 29 19:46:51 2015 +0300 (2015-04-29)
parents c009d1364185
children 166971ffb60b
line source
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>eu.earthobservatory</groupId>
7 <artifactId>strabon</artifactId>
8 <version>3.3.2-SNAPSHOT</version>
9 </parent>
11 <artifactId>strabon-endpoint</artifactId>
12 <packaging>war</packaging>
14 <name>Strabon: Endpoint</name>
15 <description>An endpoint for Strabon</description>
17 <properties>
18 <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
19 </properties>
21 <dependencies>
23 <!-- Core Dependencies -->
24 <dependency>
25 <groupId>eu.earthobservatory</groupId>
26 <artifactId>strabon-vocabulary</artifactId>
27 </dependency>
29 <dependency>
30 <groupId>eu.earthobservatory</groupId>
31 <artifactId>strabon-runtime</artifactId>
32 <type>jar</type>
33 <scope>compile</scope>
34 </dependency>
35 <!-- Core Dependencies -->
37 <!-- Java -->
38 <dependency>
39 <groupId>javax</groupId>
40 <artifactId>javaee-web-api</artifactId>
41 <scope>provided</scope>
42 </dependency>
43 <!-- Java -->
45 <!-- Apache Commons -->
46 <dependency>
47 <groupId>commons-fileupload</groupId>
48 <artifactId>commons-fileupload</artifactId>
49 </dependency>
50 <dependency>
51 <groupId>commons-io</groupId>
52 <artifactId>commons-io</artifactId>
53 </dependency>
54 <dependency>
55 <groupId>commons-codec</groupId>
56 <artifactId>commons-codec</artifactId>
57 </dependency>
58 <!-- Apache Commons -->
60 <!-- Spring framework -->
61 <dependency>
62 <groupId>org.springframework</groupId>
63 <artifactId>spring-webmvc</artifactId>
64 <exclusions>
65 <exclusion>
66 <groupId>commons-logging</groupId>
67 <artifactId>commons-logging</artifactId>
68 </exclusion>
69 </exclusions>
70 </dependency>
71 <dependency>
72 <groupId>org.springframework</groupId>
73 <artifactId>spring-aop</artifactId>
74 <exclusions>
75 <exclusion>
76 <groupId>commons-logging</groupId>
77 <artifactId>commons-logging</artifactId>
78 </exclusion>
79 </exclusions>
80 </dependency>
81 <!-- Spring framework -->
82 </dependencies>
84 <build>
85 <resources>
86 <resource>
87 <directory>src/main/resources</directory>
88 <filtering>true</filtering>
89 <includes>
90 <include>**/version.properties</include>
91 </includes>
92 </resource>
93 <resource>
94 <directory>src/main/resources</directory>
95 <filtering>false</filtering>
96 <excludes>
97 <exclude>**/version.properties</exclude>
98 </excludes>
99 </resource>
100 </resources>
101 <plugins>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-compiler-plugin</artifactId>
105 <version>2.3.2</version>
106 <configuration>
107 <source>1.6</source>
108 <target>1.6</target>
109 <compilerArguments>
110 <endorseddirs>${endorsed.dir}</endorseddirs>
111 </compilerArguments>
112 </configuration>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-war-plugin</artifactId>
117 <version>2.1.1</version>
118 <configuration>
119 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
120 <webResources>
121 <resource>
122 <targetPath>/WEB-INF</targetPath>
123 <directory>${basedir}/WebContent/WEB-INF</directory>
124 <includes>
125 <include>lib/**</include>
126 </includes>
127 </resource>
129 <resource>
130 <targetPath>/WEB-INF</targetPath>
131 <directory>${basedir}</directory>
132 <includes>
133 <include>wsdl/**</include>
134 </includes>
135 </resource>
137 <resource>
138 <targetPath>/WEB-INF</targetPath>
139 <directory>${basedir}/WebContent/WEB-INF</directory>
140 <includes>
141 <include>beans.xml</include>
142 <include>connection.properties</include>
143 <include>credentials.properties</include>
144 </includes>
145 </resource>
147 <resource>
148 <targetPath>/WEB-INF/classes</targetPath>
149 <directory>${basedir}/src</directory>
150 <includes>
151 <include>log4j.properties</include>
152 </includes>
153 </resource>
155 <resource>
156 <targetPath>/</targetPath>
157 <directory>${basedir}/WebContent</directory>
158 <includes>
159 <include>style.css</include>
160 <include>style-menu.css</include>
161 <include>store.jsp</include>
162 <include>query.jsp</include>
163 <include>describe.jsp</include>
164 <include>connection.jsp</include>
165 <include>connection.jsp</include>
166 <include>browse.jsp</include>
167 <include>header.html</include>
168 </includes>
169 </resource>
171 <resource>
172 <targetPath>/</targetPath>
173 <directory>${basedir}/WebContent</directory>
174 <includes>
175 <include>images/**</include>
176 <include>js/**</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 </plugins>
227 <pluginManagement>
228 <plugins>
229 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
230 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
231 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
233 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
234 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
235 </configuration> </plugin> -->
236 <plugin>
237 <groupId>org.eclipse.m2e</groupId>
238 <artifactId>lifecycle-mapping</artifactId>
239 <version>1.0.0</version>
240 <configuration>
241 <lifecycleMappingMetadata>
242 <pluginExecutions>
243 <pluginExecution>
244 <pluginExecutionFilter>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-dependency-plugin</artifactId>
247 <versionRange>[2.4,)</versionRange>
248 <goals>
249 <goal>copy-dependencies</goal>
250 </goals>
251 </pluginExecutionFilter>
252 <action>
253 <ignore />
254 </action>
255 </pluginExecution>
256 </pluginExecutions>
257 </lifecycleMappingMetadata>
258 </configuration>
259 </plugin>
260 </plugins>
261 </pluginManagement>
262 </build>
263 </project>