From ed9c117919f5ea7206784092bc4147b81e5f3c45 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 3 Feb 2012 16:05:48 +0000 Subject: [PATCH] use tomcat plugin from Apache only git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240226 13f79535-47bb-0310-9956-ffa450edef68 --- README.txt | 6 ++- .../archiva-web/archiva-webapp-js/pom.xml | 41 ++----------------- .../archiva-web/archiva-webapp/pom.xml | 33 +-------------- 3 files changed, 10 insertions(+), 70 deletions(-) diff --git a/README.txt b/README.txt index f3c8dbca0..1ed9145ce 100644 --- a/README.txt +++ b/README.txt @@ -9,7 +9,7 @@ Running from Source Code With maven 3 and the tomcat-maven-plugin, you will be able to run the webapp from the top and include all the other modules in the webapp classloader. No more need to install everything to run the jetty plugin. -So just use : mvn tomcat:run -Pdev +So just use : mvn tomcat6:run -Pdev -Ptomcat or mvn tomcat7:run -Pdev -Ptomcat and hit in your browser : http://localhost:9091/archiva note with dev profile admin account is automatically created with password admin123 @@ -22,7 +22,9 @@ export MAVEN_OPTS="-Xmx768m -Xms768m -XX:MaxPermSize=256m" Running webapp full js ======================== As webapp js is in dev and won't probably be released soon, the module is not activated by default and it's included only in a profile -mvn tomcat:run -pl :archiva-webapp-js -Pjs -am -Pdev +mvn tomcat7:run -pl :archiva-webapp-js -Pjs -am -Pdev +or +mvn tomcat6:run -pl :archiva-webapp-js -Pjs -am -Pdev Test Registration email ======================== diff --git a/archiva-modules/archiva-web/archiva-webapp-js/pom.xml b/archiva-modules/archiva-web/archiva-webapp-js/pom.xml index cf0132c06..0997d144f 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp-js/pom.xml @@ -528,40 +528,6 @@ - - org.codehaus.mojo - tomcat-maven-plugin - - ${tomcatRunPort} - ${tomcatRunPath} - ${tomcatContextXml} - - ${project.build.directory}/appserver-base - ${project.build.directory}/appserver-base - ${project.build.directory}/appserver-home - ${project.build.directory}/appserver-base/logs - ${basedir}/target/auto-admin-creation.properties - ${project.build.directory} - ${project.build.directory}/appserver-base/conf/archiva.xml - ${archiva.devMode} - ${archiva.javascriptLog} - ${archiva.logMissingI18n} - - - - - org.apache.derby - derby - ${derbyVersion} - - - javax.mail - mail - ${javaxMailVersion} - - - - org.apache.tomcat.maven tomcat6-maven-plugin @@ -582,6 +548,9 @@ ${archiva.javascriptLog} ${archiva.logMissingI18n} + + ${basedir}/src/test/tomcat + @@ -616,7 +585,7 @@ ${archiva.logMissingI18n} - src/test/tomcat + ${basedir}/src/test/tomcat @@ -671,8 +640,6 @@ - diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 184c84648..907901309 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -1032,35 +1032,7 @@ - - org.codehaus.mojo - tomcat-maven-plugin - - 9091 - /archiva - ${tomcatContextXml} - - ${project.build.directory}/appserver-base - ${project.build.directory}/appserver-base - ${project.build.directory}/appserver-home - ${project.build.directory}/appserver-base/logs - ${basedir}/target/auto-admin-creation.properties - ${project.build.directory} - - - - - org.apache.derby - derby - ${derbyVersion} - - - javax.mail - mail - ${javaxMailVersion} - - - + org.mortbay.jetty jetty-maven-plugin @@ -1328,8 +1300,7 @@ - - tdev + tomcat -- 2.39.5