Strabon

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/endpoint/pom.xml	Thu Mar 22 12:34:16 2012 +0100
     1.3 @@ -0,0 +1,217 @@
     1.4 +<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">
     1.5 +	<modelVersion>4.0.0</modelVersion>
     1.6 +
     1.7 +	<parent>
     1.8 +		<groupId>eu.earthobservatory</groupId>
     1.9 +		<artifactId>strabon</artifactId>	
    1.10 +		<version>3.1.8-SNAPSHOT</version>
    1.11 +	</parent>
    1.12 +  
    1.13 +	<artifactId>strabon-endpoint</artifactId>
    1.14 +	<packaging>war</packaging>
    1.15 +
    1.16 +	<name>StrabonEndpoint</name>
    1.17 +	<description>An endpoint for Strabon</description>
    1.18 +
    1.19 +	<properties>
    1.20 +		<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
    1.21 +	</properties>
    1.22 +
    1.23 +	<dependencies>
    1.24 +		<dependency>
    1.25 +			<groupId>javax</groupId>
    1.26 +			<artifactId>javaee-web-api</artifactId>
    1.27 +			<scope>provided</scope>
    1.28 +		</dependency>
    1.29 +
    1.30 +		<dependency>
    1.31 +			<groupId>eu.earthobservatory</groupId>
    1.32 +			<artifactId>strabon-runtime</artifactId>
    1.33 +			<type>jar</type>
    1.34 +			<scope>compile</scope>
    1.35 +		</dependency>
    1.36 +
    1.37 +		<!-- GeoTools -->
    1.38 +		<dependency>
    1.39 +			<groupId>org.geotools.xsd</groupId>
    1.40 +			<artifactId>gt-xsd-kml</artifactId>
    1.41 +		</dependency>
    1.42 +
    1.43 +		<dependency>
    1.44 +			<groupId>org.geotools</groupId>
    1.45 +			<artifactId>gt-xml</artifactId>
    1.46 +		</dependency>
    1.47 +
    1.48 +		<dependency>
    1.49 +			<groupId>org.geotools</groupId>
    1.50 +			<artifactId>gt-epsg-hsql</artifactId>
    1.51 +		</dependency>
    1.52 +		<dependency>
    1.53 +			<groupId>org.geotools</groupId>
    1.54 +			<artifactId>gt-shapefile</artifactId>
    1.55 +		</dependency>
    1.56 +
    1.57 +		<!-- Testing: JUnit -->
    1.58 +		<dependency>
    1.59 +			<groupId>junit</groupId>
    1.60 +			<artifactId>junit</artifactId>
    1.61 +			<scope>test</scope>
    1.62 +		</dependency>
    1.63 +
    1.64 +		<!-- JDBC Drivers -->
    1.65 +
    1.66 +		<dependency>
    1.67 +			<groupId>postgresql</groupId>
    1.68 +			<artifactId>postgresql</artifactId>
    1.69 +		</dependency>
    1.70 +
    1.71 +		<!-- Spring framework -->
    1.72 +		<dependency>
    1.73 +			<groupId>org.springframework</groupId>
    1.74 +			<artifactId>spring-webmvc</artifactId>
    1.75 +			<exclusions>
    1.76 +				<exclusion>
    1.77 +					<groupId>commons-logging</groupId>
    1.78 +					<artifactId>commons-logging</artifactId>
    1.79 +				</exclusion>
    1.80 +			</exclusions>
    1.81 +		</dependency>
    1.82 +		<dependency>
    1.83 +			<groupId>org.springframework</groupId>
    1.84 +			<artifactId>spring-aop</artifactId>
    1.85 +			<exclusions>
    1.86 +				<exclusion>
    1.87 +					<groupId>commons-logging</groupId>
    1.88 +					<artifactId>commons-logging</artifactId>
    1.89 +				</exclusion>
    1.90 +			</exclusions>
    1.91 +		</dependency>
    1.92 +		
    1.93 +		<dependency>
    1.94 +			<groupId>org.apache.cxf</groupId>
    1.95 +			<artifactId>cxf-rt-frontend-jaxws</artifactId>
    1.96 +		</dependency>
    1.97 +
    1.98 +		<dependency>
    1.99 +			<groupId>org.apache.cxf</groupId>
   1.100 +			<artifactId>cxf-rt-transports-http</artifactId>
   1.101 +		</dependency>
   1.102 +
   1.103 +		<dependency>
   1.104 +			<groupId>org.apache.cxf</groupId>
   1.105 +			<artifactId>cxf-rt-transports-http-jetty</artifactId>
   1.106 +		</dependency>
   1.107 +
   1.108 +		<dependency>
   1.109 +			<groupId>commons-validator</groupId>
   1.110 +			<artifactId>commons-validator</artifactId>
   1.111 +		</dependency>
   1.112 +	</dependencies>
   1.113 +
   1.114 +	<build>
   1.115 +		<plugins>
   1.116 +			<plugin>
   1.117 +				<groupId>org.apache.maven.plugins</groupId>
   1.118 +				<artifactId>maven-compiler-plugin</artifactId>
   1.119 +				<version>2.3.2</version>
   1.120 +				<configuration>
   1.121 +					<source>1.6</source>
   1.122 +					<target>1.6</target>
   1.123 +					<compilerArguments>
   1.124 +						<endorseddirs>${endorsed.dir}</endorseddirs>
   1.125 +					</compilerArguments>
   1.126 +				</configuration>
   1.127 +			</plugin>
   1.128 +			<plugin>
   1.129 +				<groupId>org.apache.maven.plugins</groupId>
   1.130 +				<artifactId>maven-war-plugin</artifactId>
   1.131 +				<version>2.1.1</version>
   1.132 +				<configuration>
   1.133 +					<webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
   1.134 +					<webResources>
   1.135 +						<resource>
   1.136 +							<targetPath>/WEB-INF</targetPath>
   1.137 +							<directory>${basedir}/WebContent/WEB-INF</directory>
   1.138 +							<includes>
   1.139 +								<include>lib/**</include>
   1.140 +							</includes>
   1.141 +						</resource>
   1.142 +
   1.143 +						<resource>
   1.144 +							<targetPath>/WEB-INF</targetPath>
   1.145 +							<directory>${basedir}</directory>
   1.146 +							<includes>
   1.147 +								<include>wsdl/**</include>
   1.148 +							</includes>
   1.149 +						</resource>
   1.150 +
   1.151 +						<resource>
   1.152 +							<targetPath>/WEB-INF</targetPath>
   1.153 +							<directory>${basedir}/WebContent/WEB-INF</directory>
   1.154 +							<includes>
   1.155 +								<include>beans.xml</include>
   1.156 +							</includes>
   1.157 +						</resource>
   1.158 +						
   1.159 +						<resource>
   1.160 +							<targetPath>/</targetPath>
   1.161 +							<directory>${basedir}/WebContent</directory>
   1.162 +							<includes>
   1.163 +								<include>style.css</include>
   1.164 +								<include>store.jsp</include>
   1.165 +							</includes>
   1.166 +						</resource>
   1.167 +						
   1.168 +						<resource>
   1.169 +							<targetPath>/</targetPath>
   1.170 +							<directory>${basedir}/WebContent</directory>
   1.171 +							<includes>
   1.172 +								<include>images/**</include>
   1.173 +							</includes>
   1.174 +						</resource>
   1.175 +					</webResources>
   1.176 +					<!-- 
   1.177 +					<archive>
   1.178 +						<manifest>
   1.179 +							<addClasspath>true</addClasspath>
   1.180 +						</manifest>
   1.181 +					</archive>
   1.182 +					 -->
   1.183 +				</configuration>
   1.184 +			</plugin>
   1.185 +			<plugin>
   1.186 +				<groupId>org.apache.maven.plugins</groupId>
   1.187 +				<artifactId>maven-dependency-plugin</artifactId>
   1.188 +				<version>2.1</version>
   1.189 +				<executions>
   1.190 +					<execution>
   1.191 +						<phase>validate</phase>
   1.192 +						<goals>
   1.193 +							<goal>copy</goal>
   1.194 +						</goals>
   1.195 +						<configuration>
   1.196 +							<outputDirectory>${endorsed.dir}</outputDirectory>
   1.197 +							<silent>true</silent>
   1.198 +							<artifactItems>
   1.199 +								<artifactItem>
   1.200 +									<groupId>javax</groupId>
   1.201 +									<artifactId>javaee-endorsed-api</artifactId>
   1.202 +									<version>6.0</version>
   1.203 +									<type>jar</type>
   1.204 +								</artifactItem>
   1.205 +							</artifactItems>
   1.206 +						</configuration>
   1.207 +					</execution>
   1.208 +				</executions>
   1.209 +			</plugin>
   1.210 +			<plugin>
   1.211 +				<artifactId>maven-release-plugin</artifactId>
   1.212 +				<version>2.2.2</version>
   1.213 +				<configuration>
   1.214 +					<tagNameFormat>v@{project.version}</tagNameFormat>
   1.215 +					<autoVersionSubmodules>true</autoVersionSubmodules>
   1.216 +				</configuration>
   1.217 +			</plugin>
   1.218 +		</plugins>
   1.219 +	</build>
   1.220 +</project>