Strabon

diff pom.xml @ 102:05b72446dc14

added plugin and respective repository for being able to run tomcat6/7:run and deploying/running the StrabonEndpoint.war
Currently, it fails to run, but the configuration is needed anyway (one can run tomcat:run as well)
author Babis Nikolaou <charnik@di.uoa.gr>
date Thu Apr 05 23:14:23 2012 +0300 (2012-04-05)
parents e2a9aab812bf
children 46100d1fac09
line diff
     1.1 --- a/pom.xml	Thu Mar 22 13:16:35 2012 +0100
     1.2 +++ b/pom.xml	Thu Apr 05 23:14:23 2012 +0300
     1.3 @@ -473,6 +473,14 @@
     1.4  					<artifactId>maven-assembly-plugin</artifactId>
     1.5  					<version>2.3</version>
     1.6  				</plugin>
     1.7 +				
     1.8 +				<!-- The following plugin is for being able to run tomcat6/7:run -->
     1.9 +				<plugin>
    1.10 +					<groupId>org.apache.tomcat.maven</groupId>
    1.11 +					<artifactId>tomcat7-maven-plugin</artifactId>
    1.12 +					<!--artifactId>tomcat6-maven-plugin</artifactId-->
    1.13 +					<version>2.0-SNAPSHOT</version>
    1.14 +				</plugin>
    1.15  			</plugins>
    1.16  		</pluginManagement>
    1.17  
    1.18 @@ -519,6 +527,21 @@
    1.19  
    1.20  	<!-- <pluginRepositories> <pluginRepository> <id>elca-services</id> <url>http://el4.elca-services.ch/el4j/maven2repository</url> 
    1.21  		<releases> <enabled>true</enabled> </releases> </pluginRepository> </pluginRepositories> -->
    1.22 +	
    1.23 +	<pluginRepositories>
    1.24 +		<!-- The following repository is for being able to run tomcat7:run -->
    1.25 +		<pluginRepository>
    1.26 +			<id>apache.snapshots</id>
    1.27 +			<name>Apache Snapshots</name>
    1.28 +			<url>http://people.apache.org/repo/m2-snapshot-repository</url>
    1.29 +			<releases>
    1.30 +				<enabled>false</enabled>
    1.31 +			</releases>
    1.32 +			<snapshots>
    1.33 +				<enabled>true</enabled>
    1.34 +			</snapshots>
    1.35 +		</pluginRepository>
    1.36 +	</pluginRepositories>
    1.37  
    1.38  	<scm>
    1.39  		<connection>scm:hg:ssh://hg.strabon.di.uoa.gr//opt/hg/Strabon/</connection>