From 924368de7612a161182a0e4c3209bd508eb4f453 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 5 Dec 2008 04:25:20 +0000 Subject: [PATCH] run Jetty from outside the target so that you have to use -PcleanJetty to clean up, generally persisting the server and configuration that you used merged from: r721951, 721953 git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@723581 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp/pom.xml | 38 +++++++++++++++++-- .../src/appserver-base/conf/archiva.xml | 1 + 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 archiva-modules/archiva-web/archiva-webapp/src/appserver-base/conf/archiva.xml diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 290363605..f353e46b0 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -353,11 +353,11 @@ plexus.home - ${project.build.directory}/appserver-base + ${basedir}/appserver-base appserver.base - ${project.build.directory}/appserver-base + ${basedir}/appserver-base appserver.home @@ -365,7 +365,7 @@ derby.system.home - ${project.build.directory}/appserver-base/logs + ${basedir}/appserver-base/logs @@ -444,7 +444,7 @@ - + @@ -497,5 +497,35 @@ + + cleanJetty + + + + org.apache.maven.plugins + maven-clean-plugin + + + cleanJetty + clean + + + + ${basedir}/appserver-base + + **/** + + + + + + clean + + + + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/appserver-base/conf/archiva.xml b/archiva-modules/archiva-web/archiva-webapp/src/appserver-base/conf/archiva.xml new file mode 100644 index 000000000..9afb83352 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/appserver-base/conf/archiva.xml @@ -0,0 +1 @@ + -- 2.39.5