Strabon

changeset 82:e2f2da9fceb5

Modified enpoint/pom.xml to remove the m2e error in eclipse.
Remember to update the project configuration after updating.
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Fri Mar 30 13:52:57 2012 +0300 (2012-03-30)
parents 86e205ec5819
children 6f653aacd449
files endpoint/pom.xml
line diff
     1.1 --- a/endpoint/pom.xml	Tue Mar 27 16:05:56 2012 +0300
     1.2 +++ b/endpoint/pom.xml	Fri Mar 30 13:52:57 2012 +0300
     1.3 @@ -1,12 +1,13 @@
     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 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     1.6 +	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     1.7  	<modelVersion>4.0.0</modelVersion>
     1.8  
     1.9  	<parent>
    1.10  		<groupId>eu.earthobservatory</groupId>
    1.11 -		<artifactId>strabon</artifactId>	
    1.12 +		<artifactId>strabon</artifactId>
    1.13  		<version>3.1.8-SNAPSHOT</version>
    1.14  	</parent>
    1.15 -  
    1.16 +
    1.17  	<artifactId>strabon-endpoint</artifactId>
    1.18  	<packaging>war</packaging>
    1.19  
    1.20 @@ -86,7 +87,7 @@
    1.21  				</exclusion>
    1.22  			</exclusions>
    1.23  		</dependency>
    1.24 -		
    1.25 +
    1.26  		<dependency>
    1.27  			<groupId>org.apache.cxf</groupId>
    1.28  			<artifactId>cxf-rt-frontend-jaxws</artifactId>
    1.29 @@ -152,7 +153,7 @@
    1.30  								<include>beans.xml</include>
    1.31  							</includes>
    1.32  						</resource>
    1.33 -						
    1.34 +
    1.35  						<resource>
    1.36  							<targetPath>/</targetPath>
    1.37  							<directory>${basedir}/WebContent</directory>
    1.38 @@ -161,7 +162,7 @@
    1.39  								<include>store.jsp</include>
    1.40  							</includes>
    1.41  						</resource>
    1.42 -						
    1.43 +
    1.44  						<resource>
    1.45  							<targetPath>/</targetPath>
    1.46  							<directory>${basedir}/WebContent</directory>
    1.47 @@ -170,22 +171,42 @@
    1.48  							</includes>
    1.49  						</resource>
    1.50  					</webResources>
    1.51 -					<!-- 
    1.52 -					<archive>
    1.53 -						<manifest>
    1.54 -							<addClasspath>true</addClasspath>
    1.55 -						</manifest>
    1.56 -					</archive>
    1.57 -					 -->
    1.58 +					<!-- <archive> <manifest> <addClasspath>true</addClasspath> </manifest> 
    1.59 +						</archive> -->
    1.60 +				</configuration>
    1.61 +			</plugin>
    1.62 +			<plugin>
    1.63 +				<groupId>org.eclipse.m2e</groupId>
    1.64 +				<artifactId>lifecycle-mapping</artifactId>
    1.65 +				<version>1.0.0</version>
    1.66 +				<configuration>
    1.67 +					<lifecycleMappingMetadata>
    1.68 +						<pluginExecutions>
    1.69 +							<pluginExecution>
    1.70 +								<pluginExecutionFilter>
    1.71 +									<groupId>org.apache.maven.plugins</groupId>
    1.72 +									<artifactId>maven-dependency-plugin</artifactId>
    1.73 +									<versionRange>[2.1,)</versionRange>
    1.74 +									<goals>
    1.75 +										<goal>copy-dependencies</goal>
    1.76 +									</goals>
    1.77 +								</pluginExecutionFilter>
    1.78 +								<action>
    1.79 +									<ignore />
    1.80 +								</action>
    1.81 +							</pluginExecution>
    1.82 +						</pluginExecutions>
    1.83 +					</lifecycleMappingMetadata>
    1.84  				</configuration>
    1.85  			</plugin>
    1.86  			<plugin>
    1.87  				<groupId>org.apache.maven.plugins</groupId>
    1.88  				<artifactId>maven-dependency-plugin</artifactId>
    1.89 -				<version>2.1</version>
    1.90 +				<version>2.4</version>
    1.91  				<executions>
    1.92  					<execution>
    1.93 -						<phase>validate</phase>
    1.94 +						<!-- <phase>validate</phase> -->
    1.95 +						<phase>package</phase>
    1.96  						<goals>
    1.97  							<goal>copy</goal>
    1.98  						</goals>
    1.99 @@ -213,5 +234,35 @@
   1.100  				</configuration>
   1.101  			</plugin>
   1.102  		</plugins>
   1.103 +
   1.104 +		<pluginManagement>
   1.105 +			<plugins>
   1.106 +				<plugin>
   1.107 +					<groupId>org.eclipse.m2e</groupId>
   1.108 +					<artifactId>lifecycle-mapping</artifactId>
   1.109 +					<version>1.0.0</version>
   1.110 +					<configuration>
   1.111 +						<lifecycleMappingMetadata>
   1.112 +							<pluginExecutions>
   1.113 +								<pluginExecution>
   1.114 +									<pluginExecutionFilter>
   1.115 +										<groupId>org.apache.maven.plugins</groupId>
   1.116 +										<artifactId>maven-dependency-plugin</artifactId>
   1.117 +										<versionRange>[2.3,)</versionRange>
   1.118 +										<goals>
   1.119 +											<goal>copy-dependencies</goal>
   1.120 +										</goals>
   1.121 +									</pluginExecutionFilter>
   1.122 +									<action>
   1.123 +										<ignore />
   1.124 +									</action>
   1.125 +								</pluginExecution>
   1.126 +							</pluginExecutions>
   1.127 +						</lifecycleMappingMetadata>
   1.128 +					</configuration>
   1.129 +				</plugin>
   1.130 +			</plugins>
   1.131 +		</pluginManagement>
   1.132 +
   1.133  	</build>
   1.134  </project>