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