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