Strabon

changeset 263:e9ded8878b78

an old endpint/pom.xml that makes store.jsp to work
author George Garbis <ggarbis@di.uoa.gr>
date Fri Jun 08 15:29:38 2012 +0300 (2012-06-08)
parents eaef3863cd22
children b46fde34ad71
files endpoint/pom.xml
line diff
     1.1 --- a/endpoint/pom.xml	Thu Jun 07 00:20:46 2012 +0300
     1.2 +++ b/endpoint/pom.xml	Fri Jun 08 15:29:38 2012 +0300
     1.3 @@ -1,32 +1,36 @@
     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.10-SNAPSHOT</version>
    1.11 -	</parent>
    1.12 -
    1.13 +	<groupId>eu.earthobservatory</groupId>
    1.14  	<artifactId>strabon-endpoint</artifactId>
    1.15 +	<version>0.0.11-SNAPSHOT</version>
    1.16  	<packaging>war</packaging>
    1.17  
    1.18 -	<name>StrabonEndpoint</name>
    1.19 -	<description>An endpoint for Strabon</description>
    1.20 +	<name>strabon-endpoint</name>
    1.21  
    1.22  	<properties>
    1.23 +                <eu.earthobservatory.version>3.1.7</eu.earthobservatory.version>
    1.24  		<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
    1.25 +		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.26 +		<sesame.version>2.6.3</sesame.version>
    1.27 +		<aduna.appbase.version>3.5.0</aduna.appbase.version>
    1.28 +		<slf4j.version>1.6.1</slf4j.version>
    1.29 +		<spring.version>2.5.6</spring.version>
    1.30 +		<geotools.version>2.6.6</geotools.version>
    1.31  	</properties>
    1.32  
    1.33  	<dependencies>
    1.34  		<dependency>
    1.35  			<groupId>javax</groupId>
    1.36  			<artifactId>javaee-web-api</artifactId>
    1.37 +			<version>6.0</version>
    1.38  			<scope>provided</scope>
    1.39  		</dependency>
    1.40  
    1.41  		<dependency>
    1.42  			<groupId>eu.earthobservatory</groupId>
    1.43  			<artifactId>strabon-runtime</artifactId>
    1.44 +			<version>${eu.earthobservatory.version}</version>
    1.45  			<type>jar</type>
    1.46  			<scope>compile</scope>
    1.47  		</dependency>
    1.48 @@ -35,26 +39,31 @@
    1.49  		<dependency>
    1.50  			<groupId>org.geotools.xsd</groupId>
    1.51  			<artifactId>gt-xsd-kml</artifactId>
    1.52 +			<version>${geotools.version}</version>
    1.53  		</dependency>
    1.54  
    1.55  		<dependency>
    1.56  			<groupId>org.geotools</groupId>
    1.57  			<artifactId>gt-xml</artifactId>
    1.58 +			<version>${geotools.version}</version>
    1.59  		</dependency>
    1.60  
    1.61  		<dependency>
    1.62  			<groupId>org.geotools</groupId>
    1.63  			<artifactId>gt-epsg-hsql</artifactId>
    1.64 +			<version>${geotools.version}</version>
    1.65  		</dependency>
    1.66  		<dependency>
    1.67  			<groupId>org.geotools</groupId>
    1.68  			<artifactId>gt-shapefile</artifactId>
    1.69 +			<version>${geotools.version}</version>
    1.70  		</dependency>
    1.71  
    1.72  		<!-- Testing: JUnit -->
    1.73  		<dependency>
    1.74  			<groupId>junit</groupId>
    1.75  			<artifactId>junit</artifactId>
    1.76 +			<version>4.7</version>
    1.77  			<scope>test</scope>
    1.78  		</dependency>
    1.79  
    1.80 @@ -63,12 +72,14 @@
    1.81  		<dependency>
    1.82  			<groupId>postgresql</groupId>
    1.83  			<artifactId>postgresql</artifactId>
    1.84 +			<version>9.0-801.jdbc3</version>
    1.85  		</dependency>
    1.86  
    1.87  		<!-- Spring framework -->
    1.88  		<dependency>
    1.89  			<groupId>org.springframework</groupId>
    1.90  			<artifactId>spring-webmvc</artifactId>
    1.91 +			<version>2.5.1</version>
    1.92  			<exclusions>
    1.93  				<exclusion>
    1.94  					<groupId>commons-logging</groupId>
    1.95 @@ -79,6 +90,7 @@
    1.96  		<dependency>
    1.97  			<groupId>org.springframework</groupId>
    1.98  			<artifactId>spring-aop</artifactId>
    1.99 +			<version>2.5.1</version>
   1.100  			<exclusions>
   1.101  				<exclusion>
   1.102  					<groupId>commons-logging</groupId>
   1.103 @@ -86,27 +98,31 @@
   1.104  				</exclusion>
   1.105  			</exclusions>
   1.106  		</dependency>
   1.107 +		
   1.108 +		<dependency>
   1.109 +				<groupId>org.apache.cxf</groupId>
   1.110 +				<artifactId>cxf-rt-frontend-jaxws</artifactId>
   1.111 +				<version>2.2.5</version>
   1.112 +			</dependency>
   1.113 +			<dependency>
   1.114 +				<groupId>org.apache.cxf</groupId>
   1.115 +				<artifactId>cxf-rt-transports-http</artifactId>
   1.116 +				<version>2.2.5</version>
   1.117 +			</dependency>
   1.118 +			<dependency>
   1.119 +				<groupId>org.apache.cxf</groupId>
   1.120 +				<artifactId>cxf-rt-transports-http-jetty</artifactId>
   1.121 +				<version>2.2.5</version>
   1.122 +			</dependency>
   1.123  
   1.124 -		<dependency>
   1.125 -			<groupId>org.apache.cxf</groupId>
   1.126 -			<artifactId>cxf-rt-frontend-jaxws</artifactId>
   1.127 -		</dependency>
   1.128 +			<dependency>
   1.129 +				<groupId>commons-validator</groupId>
   1.130 +				<artifactId>commons-validator</artifactId>
   1.131 +				<version>1.3.1</version>
   1.132 +			</dependency>
   1.133 +	</dependencies>
   1.134  
   1.135 -		<dependency>
   1.136 -			<groupId>org.apache.cxf</groupId>
   1.137 -			<artifactId>cxf-rt-transports-http</artifactId>
   1.138 -		</dependency>
   1.139  
   1.140 -		<dependency>
   1.141 -			<groupId>org.apache.cxf</groupId>
   1.142 -			<artifactId>cxf-rt-transports-http-jetty</artifactId>
   1.143 -		</dependency>
   1.144 -
   1.145 -		<dependency>
   1.146 -			<groupId>commons-validator</groupId>
   1.147 -			<artifactId>commons-validator</artifactId>
   1.148 -		</dependency>
   1.149 -	</dependencies>
   1.150  
   1.151  	<build>
   1.152  		<plugins>
   1.153 @@ -152,7 +168,7 @@
   1.154  								<include>beans.xml</include>
   1.155  							</includes>
   1.156  						</resource>
   1.157 -
   1.158 +						
   1.159  						<resource>
   1.160  							<targetPath>/</targetPath>
   1.161  							<directory>${basedir}/WebContent</directory>
   1.162 @@ -161,7 +177,7 @@
   1.163  								<include>store.jsp</include>
   1.164  							</includes>
   1.165  						</resource>
   1.166 -
   1.167 +						
   1.168  						<resource>
   1.169  							<targetPath>/</targetPath>
   1.170  							<directory>${basedir}/WebContent</directory>
   1.171 @@ -170,25 +186,22 @@
   1.172  							</includes>
   1.173  						</resource>
   1.174  					</webResources>
   1.175 -					<!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest> 
   1.176 -						</archive> -->
   1.177 +					<!-- 
   1.178 +					<archive>
   1.179 +						<manifest>
   1.180 +							<addClasspath>true</addClasspath>
   1.181 +						</manifest>
   1.182 +					</archive>
   1.183 +					 -->
   1.184  				</configuration>
   1.185  			</plugin>
   1.186 -			<!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> 
   1.187 -				<version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> 
   1.188 -				<pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> 
   1.189 -				<artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.1,)</versionRange> 
   1.190 -				<goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter> 
   1.191 -				<action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> 
   1.192 -				</configuration> </plugin> -->
   1.193  			<plugin>
   1.194  				<groupId>org.apache.maven.plugins</groupId>
   1.195  				<artifactId>maven-dependency-plugin</artifactId>
   1.196 -				<version>2.4</version>
   1.197 +				<version>2.1</version>
   1.198  				<executions>
   1.199  					<execution>
   1.200 -						<!-- <phase>validate</phase> -->
   1.201 -						<phase>package</phase>
   1.202 +						<phase>validate</phase>
   1.203  						<goals>
   1.204  							<goal>copy</goal>
   1.205  						</goals>
   1.206 @@ -215,58 +228,81 @@
   1.207  					<autoVersionSubmodules>true</autoVersionSubmodules>
   1.208  				</configuration>
   1.209  			</plugin>
   1.210 -			<plugin>
   1.211 -				<groupId>org.apache.tomcat.maven</groupId>
   1.212 -				<artifactId>tomcat7-maven-plugin</artifactId>
   1.213 -				<executions>
   1.214 -					<execution>
   1.215 -						<id>tomcat-run</id>
   1.216 -						<goals>
   1.217 -							<goal>exec-war-only</goal>
   1.218 -						</goals>
   1.219 -						<phase>package</phase>
   1.220 -						<configuration>
   1.221 -							<enableNaming>true</enableNaming>
   1.222 -						</configuration>
   1.223 -					</execution>
   1.224 -				</executions>
   1.225 -			</plugin>
   1.226  		</plugins>
   1.227 +	</build>
   1.228 +	<scm>
   1.229 +		<connection>scm:hg:http://hg.strabon.di.uoa.gr/StrabonEndpoint/</connection>
   1.230 +		<developerConnection>scm:hg:ssh://hg.strabon.di.uoa.gr///opt/hg/StrabonEndpoint/</developerConnection>
   1.231 +		<url>http://hg.strabon.di.uoa.gr/StrabonEndpoint/</url>
   1.232 +	</scm>
   1.233  
   1.234 -		<pluginManagement>
   1.235 -			<plugins>
   1.236 -				<!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> 
   1.237 -					<version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> 
   1.238 -					<pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> 
   1.239 -					<artifactId>maven-dependency-plugin</artifactId> <versionRange>[2.3,)</versionRange> 
   1.240 -					<goals> <goal>copy-dependencies</goal> </goals> </pluginExecutionFilter> 
   1.241 -					<action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> 
   1.242 -					</configuration> </plugin> -->
   1.243 -				<plugin>
   1.244 -					<groupId>org.eclipse.m2e</groupId>
   1.245 -					<artifactId>lifecycle-mapping</artifactId>
   1.246 -					<version>1.0.0</version>
   1.247 -					<configuration>
   1.248 -						<lifecycleMappingMetadata>
   1.249 -							<pluginExecutions>
   1.250 -								<pluginExecution>
   1.251 -									<pluginExecutionFilter>
   1.252 -										<groupId>org.apache.maven.plugins</groupId>
   1.253 -										<artifactId>maven-dependency-plugin</artifactId>
   1.254 -										<versionRange>[2.1,)</versionRange>
   1.255 -										<goals>
   1.256 -											<goal>copy-dependencies</goal>
   1.257 -										</goals>
   1.258 -									</pluginExecutionFilter>
   1.259 -									<action>
   1.260 -										<ignore />
   1.261 -									</action>
   1.262 -								</pluginExecution>
   1.263 -							</pluginExecutions>
   1.264 -						</lifecycleMappingMetadata>
   1.265 -					</configuration>
   1.266 -				</plugin>
   1.267 -			</plugins>
   1.268 -		</pluginManagement>
   1.269 -	</build>
   1.270 +	<repositories>
   1.271 +		<repository>
   1.272 +			<releases>
   1.273 +				<enabled>true</enabled>
   1.274 +			</releases>
   1.275 +			<snapshots>
   1.276 +				<enabled>false</enabled>
   1.277 +			</snapshots>
   1.278 +			<id>strabon</id>
   1.279 +			<name>Strabon - maven repository</name>
   1.280 +			<url>http://maven.strabon.di.uoa.gr/content/repositories/releases</url>
   1.281 +		</repository>
   1.282 +                <repository>
   1.283 +                        <releases>
   1.284 +                                <enabled>false</enabled>
   1.285 +                        </releases>
   1.286 +                        <snapshots>
   1.287 +                                <enabled>true</enabled>
   1.288 +                        </snapshots>
   1.289 +                        <id>strabon.snapshot</id>
   1.290 +                        <name>Strabon - maven repository - snapshots</name>
   1.291 +                        <url>http://maven.strabon.di.uoa.gr/content/repositories/snapshots</url>
   1.292 +                </repository>
   1.293 +
   1.294 +
   1.295 +		<repository>
   1.296 +			<releases>
   1.297 +				<enabled>true</enabled>
   1.298 +			</releases>
   1.299 +			<snapshots>
   1.300 +				<enabled>false</enabled>
   1.301 +			</snapshots>
   1.302 +			<id>aduna-opensource.releases</id>
   1.303 +			<name>Aduna Open Source - Maven releases</name>
   1.304 +			<url>http://repo.aduna-software.org/maven2/releases</url>
   1.305 +		</repository>
   1.306 +		<repository>
   1.307 +			<releases>
   1.308 +				<enabled>false</enabled>
   1.309 +			</releases>
   1.310 +			<snapshots>
   1.311 +				<enabled>true</enabled>
   1.312 +			</snapshots>
   1.313 +			<id>aduna-opensource.snapshots</id>
   1.314 +			<name>Aduna Open Source - Maven snapshots</name>
   1.315 +			<url>http://repo.aduna-software.org/maven2/snapshots</url>
   1.316 +		</repository>
   1.317 +		<repository>
   1.318 +			<snapshots>
   1.319 +				<enabled>true</enabled>
   1.320 +			</snapshots>
   1.321 +			<id>opengeo</id>
   1.322 +			<name>OpenGeo Maven Repository</name>
   1.323 +			<url>http://download.osgeo.org/webdav/geotools/</url>
   1.324 +		</repository>
   1.325 +	</repositories>
   1.326 +
   1.327 +	<distributionManagement>
   1.328 +		<repository>
   1.329 +			<id>strabon</id>
   1.330 +			<name>Strabon maven repo</name>
   1.331 +			<url>http://maven.strabon.di.uoa.gr/content/repositories/releases</url>
   1.332 +		</repository>
   1.333 +		<snapshotRepository>
   1.334 +			<id>strabon.snapshot</id>
   1.335 +			<name>Strabon maven repo</name>
   1.336 +			<url>http://maven.strabon.di.uoa.gr/content/repositories/snapshots</url>
   1.337 +		</snapshotRepository>
   1.338 +	</distributionManagement>
   1.339  </project>