Strabon

view endpoint/pom.xml @ 73:c0ff52c25cb3

adding endpoint component
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Thu Mar 22 12:34:16 2012 +0100 (2012-03-22)
parents
children e2f2da9fceb5
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.8-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 <dependency>
91 <groupId>org.apache.cxf</groupId>
92 <artifactId>cxf-rt-frontend-jaxws</artifactId>
93 </dependency>
95 <dependency>
96 <groupId>org.apache.cxf</groupId>
97 <artifactId>cxf-rt-transports-http</artifactId>
98 </dependency>
100 <dependency>
101 <groupId>org.apache.cxf</groupId>
102 <artifactId>cxf-rt-transports-http-jetty</artifactId>
103 </dependency>
105 <dependency>
106 <groupId>commons-validator</groupId>
107 <artifactId>commons-validator</artifactId>
108 </dependency>
109 </dependencies>
111 <build>
112 <plugins>
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-compiler-plugin</artifactId>
116 <version>2.3.2</version>
117 <configuration>
118 <source>1.6</source>
119 <target>1.6</target>
120 <compilerArguments>
121 <endorseddirs>${endorsed.dir}</endorseddirs>
122 </compilerArguments>
123 </configuration>
124 </plugin>
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-war-plugin</artifactId>
128 <version>2.1.1</version>
129 <configuration>
130 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
131 <webResources>
132 <resource>
133 <targetPath>/WEB-INF</targetPath>
134 <directory>${basedir}/WebContent/WEB-INF</directory>
135 <includes>
136 <include>lib/**</include>
137 </includes>
138 </resource>
140 <resource>
141 <targetPath>/WEB-INF</targetPath>
142 <directory>${basedir}</directory>
143 <includes>
144 <include>wsdl/**</include>
145 </includes>
146 </resource>
148 <resource>
149 <targetPath>/WEB-INF</targetPath>
150 <directory>${basedir}/WebContent/WEB-INF</directory>
151 <includes>
152 <include>beans.xml</include>
153 </includes>
154 </resource>
156 <resource>
157 <targetPath>/</targetPath>
158 <directory>${basedir}/WebContent</directory>
159 <includes>
160 <include>style.css</include>
161 <include>store.jsp</include>
162 </includes>
163 </resource>
165 <resource>
166 <targetPath>/</targetPath>
167 <directory>${basedir}/WebContent</directory>
168 <includes>
169 <include>images/**</include>
170 </includes>
171 </resource>
172 </webResources>
173 <!--
174 <archive>
175 <manifest>
176 <addClasspath>true</addClasspath>
177 </manifest>
178 </archive>
179 -->
180 </configuration>
181 </plugin>
182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-dependency-plugin</artifactId>
185 <version>2.1</version>
186 <executions>
187 <execution>
188 <phase>validate</phase>
189 <goals>
190 <goal>copy</goal>
191 </goals>
192 <configuration>
193 <outputDirectory>${endorsed.dir}</outputDirectory>
194 <silent>true</silent>
195 <artifactItems>
196 <artifactItem>
197 <groupId>javax</groupId>
198 <artifactId>javaee-endorsed-api</artifactId>
199 <version>6.0</version>
200 <type>jar</type>
201 </artifactItem>
202 </artifactItems>
203 </configuration>
204 </execution>
205 </executions>
206 </plugin>
207 <plugin>
208 <artifactId>maven-release-plugin</artifactId>
209 <version>2.2.2</version>
210 <configuration>
211 <tagNameFormat>v@{project.version}</tagNameFormat>
212 <autoVersionSubmodules>true</autoVersionSubmodules>
213 </configuration>
214 </plugin>
215 </plugins>
216 </build>
217 </project>