From 8a116d5a94a76c55818ec4d98e7c75d45763e742 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Thu, 8 Oct 2009 06:40:21 +0000 Subject: [PATCH] [MRM-636] war:inplace usage is not compatible with cobertura o unpack redback war in target dir o configure jetty plugin to use multiple source dirs o cleaned up clean-plugin config git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823065 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp/pom.xml | 123 ++++++++---------- 1 file changed, 55 insertions(+), 68 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 293117d08..6477f4fef 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -275,91 +275,40 @@ - --> + --> org.apache.maven.plugins maven-clean-plugin 2.1.1 - + - ${basedir}/src/main/webapp + ${basedir} - META-INF - archiva-applet.jar - images/redback - - template/redback - - WEB-INF/classes - - WEB-INF/lib - - WEB-INF/database - - WEB-INF/logs - - redback - - css/redback - WEB-INF/jsp/redback - - WEB-INF/template/redback - - WEB-INF/logs - - WEB-INF/temp - + appserver-base - - - org.apache.maven.plugins - maven-war-plugin - 2.0.1 - - - false - META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml,WEB-INF/lib/** - WEB-INF/lib/xalan-*.jar,WEB-INF/lib/velocity-dep-*.jar,WEB-INF/lib/xml-apis-*.jar,WEB-INF/lib/wstx-asl-*.jar,WEB-INF/lib/stax-utils-*.jar,WEB-INF/lib/xercesImpl-*.jar - - - - - compile - - - inplace - - - - - + + maven-antrun-plugin - cleanup-struts-jar-in-webapp - compile + copy-web-config-files run + compile - - - - - - + + + + @@ -378,18 +327,56 @@ + + maven-dependency-plugin + + + unpack-redback-war + + unpack + + compile + + + + org.codehaus.redback + redback-struts2-content + ${redback.version} + war + false + ${project.build.directory}/redback + **/struts-security.xml + + + + + + + + org.apache.maven.plugins + maven-war-plugin + 2.0.1 + + + false + META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml,WEB-INF/lib/** + WEB-INF/lib/xalan-*.jar,WEB-INF/lib/velocity-dep-*.jar,WEB-INF/lib/xml-apis-*.jar,WEB-INF/lib/wstx-asl-*.jar,WEB-INF/lib/stax-utils-*.jar,WEB-INF/lib/xercesImpl-*.jar + + org.mortbay.jetty maven-jetty-plugin - 6.1.14 + ${jetty.version} - 10 - / - src/jetty-env.xml / - src/jetty-env.xml + + src/main/webapp,target/archiva,target/redback + + 10 + src/jetty-env.xml 9091 -- 2.39.5