Strabon

view endpoint/pom.xml @ 1518:166971ffb60b

Cleaned remaining poms.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Thu Apr 30 02:44:22 2015 +0300 (2015-04-30)
parents bb3bcc0b9637
children 94599fbf9c01
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 -->
83 <!-- JDBC Drivers -->
84 <dependency>
85 <groupId>postgresql</groupId>
86 <artifactId>postgresql</artifactId>
87 </dependency>
89 <dependency>
90 <groupId>monetdb</groupId>
91 <artifactId>jdbcclient</artifactId>
92 </dependency>
93 <!-- JDBC Drivers -->
94 </dependencies>
96 <build>
97 <resources>
98 <resource>
99 <directory>src/main/resources</directory>
100 <filtering>true</filtering>
101 <includes>
102 <include>**/version.properties</include>
103 </includes>
104 </resource>
105 <resource>
106 <directory>src/main/resources</directory>
107 <filtering>false</filtering>
108 <excludes>
109 <exclude>**/version.properties</exclude>
110 </excludes>
111 </resource>
112 </resources>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-compiler-plugin</artifactId>
117 <version>2.3.2</version>
118 <configuration>
119 <source>1.6</source>
120 <target>1.6</target>
121 <compilerArguments>
122 <endorseddirs>${endorsed.dir}</endorseddirs>
123 </compilerArguments>
124 </configuration>
125 </plugin>
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-war-plugin</artifactId>
129 <version>2.1.1</version>
130 <configuration>
131 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
132 <webResources>
133 <resource>
134 <targetPath>/WEB-INF</targetPath>
135 <directory>${basedir}/WebContent/WEB-INF</directory>
136 <includes>
137 <include>lib/**</include>
138 </includes>
139 </resource>
141 <resource>
142 <targetPath>/WEB-INF</targetPath>
143 <directory>${basedir}</directory>
144 <includes>
145 <include>wsdl/**</include>
146 </includes>
147 </resource>
149 <resource>
150 <targetPath>/WEB-INF</targetPath>
151 <directory>${basedir}/WebContent/WEB-INF</directory>
152 <includes>
153 <include>beans.xml</include>
154 <include>connection.properties</include>
155 <include>credentials.properties</include>
156 </includes>
157 </resource>
159 <resource>
160 <targetPath>/WEB-INF/classes</targetPath>
161 <directory>${basedir}/src</directory>
162 <includes>
163 <include>log4j.properties</include>
164 </includes>
165 </resource>
167 <resource>
168 <targetPath>/</targetPath>
169 <directory>${basedir}/WebContent</directory>
170 <includes>
171 <include>style.css</include>
172 <include>style-menu.css</include>
173 <include>store.jsp</include>
174 <include>query.jsp</include>
175 <include>describe.jsp</include>
176 <include>connection.jsp</include>
177 <include>connection.jsp</include>
178 <include>browse.jsp</include>
179 <include>header.html</include>
180 </includes>
181 </resource>
183 <resource>
184 <targetPath>/</targetPath>
185 <directory>${basedir}/WebContent</directory>
186 <includes>
187 <include>images/**</include>
188 <include>js/**</include>
189 </includes>
190 </resource>
191 </webResources>
192 <!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest>
193 </archive> -->
194 </configuration>
195 </plugin>
196 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
197 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
198 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange>
200 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
201 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
202 </configuration> </plugin> -->
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-dependency-plugin</artifactId>
206 <version>2.4</version>
207 <executions>
208 <execution>
209 <!-- <phase>validate</phase> -->
210 <phase>package</phase>
211 <goals>
212 <goal>copy</goal>
213 </goals>
214 <configuration>
215 <outputDirectory>${endorsed.dir}</outputDirectory>
216 <silent>true</silent>
217 <artifactItems>
218 <artifactItem>
219 <groupId>javax</groupId>
220 <artifactId>javaee-endorsed-api</artifactId>
221 <version>6.0</version>
222 <type>jar</type>
223 </artifactItem>
224 </artifactItems>
225 </configuration>
226 </execution>
227 </executions>
228 </plugin>
229 <plugin>
230 <artifactId>maven-release-plugin</artifactId>
231 <version>2.2.2</version>
232 <configuration>
233 <tagNameFormat>v@{project.version}</tagNameFormat>
234 <autoVersionSubmodules>true</autoVersionSubmodules>
235 </configuration>
236 </plugin>
237 </plugins>
239 <pluginManagement>
240 <plugins>
241 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
242 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
243 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
245 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
246 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
247 </configuration> </plugin> -->
248 <plugin>
249 <groupId>org.eclipse.m2e</groupId>
250 <artifactId>lifecycle-mapping</artifactId>
251 <version>1.0.0</version>
252 <configuration>
253 <lifecycleMappingMetadata>
254 <pluginExecutions>
255 <pluginExecution>
256 <pluginExecutionFilter>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-dependency-plugin</artifactId>
259 <versionRange>[2.4,)</versionRange>
260 <goals>
261 <goal>copy-dependencies</goal>
262 </goals>
263 </pluginExecutionFilter>
264 <action>
265 <ignore />
266 </action>
267 </pluginExecution>
268 </pluginExecutions>
269 </lifecycleMappingMetadata>
270 </configuration>
271 </plugin>
272 </plugins>
273 </pluginManagement>
274 </build>
275 </project>