Strabon

view webapp/pom.xml @ 72:0833b90288cb

fix pom.xml
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Thu Mar 22 12:33:35 2012 +0100 (2012-03-22)
parents
children
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 <groupId>eu.earthobservatory</groupId>
11 <artifactId>StrabonEndpoint</artifactId>
12 <version>3.1.8-SNAPSHOT</version>
13 <packaging>war</packaging>
15 <name>StrabonEndpoint</name>
16 <description>An endpoint for Strabon</description>
18 <properties>
19 <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
20 </properties>
22 <dependencies>
23 <dependency>
24 <groupId>javax</groupId>
25 <artifactId>javaee-web-api</artifactId>
26 <scope>provided</scope>
27 </dependency>
29 <dependency>
30 <groupId>eu.earthobservatory</groupId>
31 <artifactId>strabon-runtime</artifactId>
32 <type>jar</type>
33 <scope>compile</scope>
34 </dependency>
36 <!-- GeoTools -->
37 <dependency>
38 <groupId>org.geotools.xsd</groupId>
39 <artifactId>gt-xsd-kml</artifactId>
40 </dependency>
42 <dependency>
43 <groupId>org.geotools</groupId>
44 <artifactId>gt-xml</artifactId>
45 </dependency>
47 <dependency>
48 <groupId>org.geotools</groupId>
49 <artifactId>gt-epsg-hsql</artifactId>
50 </dependency>
51 <dependency>
52 <groupId>org.geotools</groupId>
53 <artifactId>gt-shapefile</artifactId>
54 </dependency>
56 <!-- Testing: JUnit -->
57 <dependency>
58 <groupId>junit</groupId>
59 <artifactId>junit</artifactId>
60 <scope>test</scope>
61 </dependency>
63 <!-- JDBC Drivers -->
65 <dependency>
66 <groupId>postgresql</groupId>
67 <artifactId>postgresql</artifactId>
68 </dependency>
70 <!-- Spring framework -->
71 <dependency>
72 <groupId>org.springframework</groupId>
73 <artifactId>spring-webmvc</artifactId>
74 <exclusions>
75 <exclusion>
76 <groupId>commons-logging</groupId>
77 <artifactId>commons-logging</artifactId>
78 </exclusion>
79 </exclusions>
80 </dependency>
81 <dependency>
82 <groupId>org.springframework</groupId>
83 <artifactId>spring-aop</artifactId>
84 <exclusions>
85 <exclusion>
86 <groupId>commons-logging</groupId>
87 <artifactId>commons-logging</artifactId>
88 </exclusion>
89 </exclusions>
90 </dependency>
92 <dependency>
93 <groupId>org.apache.cxf</groupId>
94 <artifactId>cxf-rt-frontend-jaxws</artifactId>
95 </dependency>
97 <dependency>
98 <groupId>org.apache.cxf</groupId>
99 <artifactId>cxf-rt-transports-http</artifactId>
100 </dependency>
102 <dependency>
103 <groupId>org.apache.cxf</groupId>
104 <artifactId>cxf-rt-transports-http-jetty</artifactId>
105 </dependency>
107 <dependency>
108 <groupId>commons-validator</groupId>
109 <artifactId>commons-validator</artifactId>
110 </dependency>
111 </dependencies>
113 <build>
114 <plugins>
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-compiler-plugin</artifactId>
118 <version>2.3.2</version>
119 <configuration>
120 <source>1.6</source>
121 <target>1.6</target>
122 <compilerArguments>
123 <endorseddirs>${endorsed.dir}</endorseddirs>
124 </compilerArguments>
125 </configuration>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-war-plugin</artifactId>
130 <version>2.1.1</version>
131 <configuration>
132 <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
133 <webResources>
134 <resource>
135 <targetPath>/WEB-INF</targetPath>
136 <directory>${basedir}/WebContent/WEB-INF</directory>
137 <includes>
138 <include>lib/**</include>
139 </includes>
140 </resource>
142 <resource>
143 <targetPath>/WEB-INF</targetPath>
144 <directory>${basedir}</directory>
145 <includes>
146 <include>wsdl/**</include>
147 </includes>
148 </resource>
150 <resource>
151 <targetPath>/WEB-INF</targetPath>
152 <directory>${basedir}/WebContent/WEB-INF</directory>
153 <includes>
154 <include>beans.xml</include>
155 </includes>
156 </resource>
158 <resource>
159 <targetPath>/</targetPath>
160 <directory>${basedir}/WebContent</directory>
161 <includes>
162 <include>style.css</include>
163 <include>store.jsp</include>
164 </includes>
165 </resource>
167 <resource>
168 <targetPath>/</targetPath>
169 <directory>${basedir}/WebContent</directory>
170 <includes>
171 <include>images/**</include>
172 </includes>
173 </resource>
174 </webResources>
175 <!--
176 <archive>
177 <manifest>
178 <addClasspath>true</addClasspath>
179 </manifest>
180 </archive>
181 -->
182 </configuration>
183 </plugin>
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-dependency-plugin</artifactId>
187 <version>2.1</version>
188 <executions>
189 <execution>
190 <phase>validate</phase>
191 <goals>
192 <goal>copy</goal>
193 </goals>
194 <configuration>
195 <outputDirectory>${endorsed.dir}</outputDirectory>
196 <silent>true</silent>
197 <artifactItems>
198 <artifactItem>
199 <groupId>javax</groupId>
200 <artifactId>javaee-endorsed-api</artifactId>
201 <version>6.0</version>
202 <type>jar</type>
203 </artifactItem>
204 </artifactItems>
205 </configuration>
206 </execution>
207 </executions>
208 </plugin>
209 <plugin>
210 <artifactId>maven-release-plugin</artifactId>
211 <version>2.2.2</version>
212 <configuration>
213 <tagNameFormat>v@{project.version}</tagNameFormat>
214 <autoVersionSubmodules>true</autoVersionSubmodules>
215 </configuration>
216 </plugin>
217 </plugins>
218 </build>
219 </project>