Strabon

view endpoint/pom.xml @ 1277:92b90ac06d39

[maven-release-plugin] prepare release v3.2.9
author Babis Nikolaou <charnik@di.uoa.gr>
date Sat Oct 19 23:37:23 2013 +0300 (2013-10-19)
parents e2b76cad5b7c
children a424d0977de3
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</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>strabon-vocabulary</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 <!--
212 <plugin>
213 <groupId>org.eclipse.m2e</groupId>
214 <artifactId>lifecycle-mapping</artifactId>
215 <version>1.0.0</version>
216 <configuration>
217 <lifecycleMappingMetadata>
218 <pluginExecutions>
219 <pluginExecution>
220 <pluginExecutionFilter>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-dependency-plugin</artifactId>
223 <versionRange>[2.1,)</versionRange>
224 <goals>
225 <goal>copy-dependencies</goal>
226 </goals>
227 </pluginExecutionFilter>
228 <action>
229 <ignore />
230 </action>
231 </pluginExecution>
232 </pluginExecutions>
233 </lifecycleMappingMetadata>
234 </configuration>
235 </plugin>
236 -->
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-dependency-plugin</artifactId>
240 <version>2.4</version>
241 <executions>
242 <execution>
243 <!-- <phase>validate</phase> -->
244 <phase>package</phase>
245 <goals>
246 <goal>copy</goal>
247 </goals>
248 <configuration>
249 <outputDirectory>${endorsed.dir}</outputDirectory>
250 <silent>true</silent>
251 <artifactItems>
252 <artifactItem>
253 <groupId>javax</groupId>
254 <artifactId>javaee-endorsed-api</artifactId>
255 <version>6.0</version>
256 <type>jar</type>
257 </artifactItem>
258 </artifactItems>
259 </configuration>
260 </execution>
261 </executions>
262 </plugin>
263 <plugin>
264 <artifactId>maven-release-plugin</artifactId>
265 <version>2.2.2</version>
266 <configuration>
267 <tagNameFormat>v@{project.version}</tagNameFormat>
268 <autoVersionSubmodules>true</autoVersionSubmodules>
269 </configuration>
270 </plugin>
271 </plugins>
273 <pluginManagement>
274 <plugins>
275 <!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
276 <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
277 <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange>
279 <goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter>
280 <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
281 </configuration> </plugin> -->
282 <plugin>
283 <groupId>org.eclipse.m2e</groupId>
284 <artifactId>lifecycle-mapping</artifactId>
285 <version>1.0.0</version>
286 <configuration>
287 <lifecycleMappingMetadata>
288 <pluginExecutions>
289 <pluginExecution>
290 <pluginExecutionFilter>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-dependency-plugin</artifactId>
293 <versionRange>[2.4,)</versionRange>
294 <goals>
295 <goal>copy-dependencies</goal>
296 </goals>
297 </pluginExecutionFilter>
298 <action>
299 <ignore />
300 </action>
301 </pluginExecution>
302 </pluginExecutions>
303 </lifecycleMappingMetadata>
304 </configuration>
305 </plugin>
306 </plugins>
307 </pluginManagement>
308 </build>
309 </project>