From d9c7f7f5299532d3c9d753b3e904fc1c4918f094 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Sat, 29 Mar 2008 10:12:41 +0000 Subject: [PATCH] arrange plugin declarations to minimise need to release parent while maximising reuse. Move all reporting and Java configuration into modules section git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642524 13f79535-47bb-0310-9956-ffa450edef68 --- archiva-modules/pom.xml | 189 +++++++++++++++++++++ pom.xml | 354 +++++++++++++--------------------------- 2 files changed, 302 insertions(+), 241 deletions(-) diff --git a/archiva-modules/pom.xml b/archiva-modules/pom.xml index 1ae0b1d69..d62cad0ad 100644 --- a/archiva-modules/pom.xml +++ b/archiva-modules/pom.xml @@ -36,4 +36,193 @@ archiva-scheduled archiva-web + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.2 + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.1 + + true + config/maven_checks.xml + + + + + + org.codehaus.mojo + changelog-maven-plugin + + + org.codehaus.mojo + taglist-maven-plugin + + + maven-jxr-plugin + + true + + + + maven-surefire-report-plugin + 2.4.2 + + + maven-javadoc-plugin + 2.4 + + 1.5 + true + gr.spinellis.umlgraph.doclet.UmlGraphDoc + + gr.spinellis + UmlGraph + 4.6 + + + -inferrel -inferdep -quiet -hide java.* + -collpackages java.util.* -qualify + -postfixpackage -nodefontsize 9 + -nodefontpackagesize 7 + + + http://java.sun.com/j2se/1.4.2/docs/api + http://java.sun.com/j2ee/1.4/docs/api + http://java.sun.com/j2se/1.5.0/docs/api + http://commons.apache.org/collections/apidocs-COLLECTIONS_3_0/ + http://commons.apache.org/dbcp/apidocs/ + http://commons.apache.org/fileupload/apidocs/ + http://commons.apache.org/httpclient/apidocs/ + http://commons.apache.org/logging/apidocs/ + http://commons.apache.org/pool/apidocs/ + http://junit.sourceforge.net/javadoc/ + http://logging.apache.org/log4j/1.2/apidocs/ + http://jakarta.apache.org/regexp/apidocs/ + http://velocity.apache.org/engine/releases/velocity-1.5/apidocs/ + + + + + org.apache.maven.plugins + maven-pmd-plugin + + + 1.5 + + + + org.codehaus.mojo + clirr-maven-plugin + + + + + + ci + + + + org.apache.maven.plugins + maven-pmd-plugin + + + + + cpd-check + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + + + + + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.2 + + + + 77 + 95 + + + + **/*$* + + + + + + clean + + clean + + + + check + + check + + + + + + + + + + + apache.website + ${siteBaseDeployment}/ref/${project.version} + + + + + + org.codehaus.modello + modello-maven-plugin + 1.0-alpha-15 + + + org.codehaus.plexus + plexus-maven-plugin + 1.3.5 + + + generate + + descriptor + + + + + + diff --git a/pom.xml b/pom.xml index aaf211e5f..315ca9be3 100644 --- a/pom.xml +++ b/pom.xml @@ -43,16 +43,20 @@ http://maven.apache.org/archiva/ + - org.codehaus.plexus - plexus-maven-plugin - 1.3.5 + org.apache.maven.plugins + maven-remote-resources-plugin - generate - descriptor + process + + + org.apache:apache-jar-resource-bundle:1.3 + + @@ -76,102 +80,77 @@ --> - - maven-compiler-plugin - - 1.5 - 1.5 - - - - maven-idea-plugin - - 1.5 - - - - maven-surefire-plugin - 2.4.2 - - - maven-checkstyle-plugin - 2.1 - - true - config/maven_checks.xml - - - - - - org.apache.maven.plugins - maven-remote-resources-plugin - 1.0-alpha-6 - - - - process - - - - org.apache:apache-jar-resource-bundle:1.3 - - - - - - maven-idea-plugin + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 - 1.4 + 1.5 + 1.5 + org.apache.maven.plugins + maven-remote-resources-plugin + 1.0-beta-2 + + + org.apache.maven.plugins + maven-deploy-plugin + 2.3 + + + org.apache.maven.plugins + maven-gpg-plugin + 1.0-alpha-4 + + + org.apache.maven.plugins + maven-install-plugin + 2.2 + + + org.apache.maven.plugins + maven-jar-plugin + 2.2 + + + org.apache.maven.plugins maven-release-plugin + 2.0-beta-7 https://svn.apache.org/repos/asf/archiva/tags + false + deploy clean install + -Prelease - org.codehaus.modello - modello-maven-plugin - 1.0-alpha-15 + org.apache.maven.plugins + maven-resources-plugin + 2.2 + + + org.apache.maven.plugins + maven-surefire-plugin + 2.4.2 + + + maven-idea-plugin + + 1.5 + - archiva-cli - archiva-jetty archiva-modules @@ -281,12 +260,6 @@ archiva-model 1.1-SNAPSHOT - - org.apache.archiva - archiva-plexus-application - 1.1-SNAPSHOT - plexus-application - org.apache.archiva archiva-policies @@ -763,156 +736,16 @@ - - - - org.codehaus.mojo - cobertura-maven-plugin - 2.2 - - - maven-checkstyle-plugin - - - - org.codehaus.mojo - changelog-maven-plugin - - - org.codehaus.mojo - taglist-maven-plugin - - - maven-jxr-plugin - - true - - - - - maven-javadoc-plugin - 2.4 - - 1.5 - true - gr.spinellis.umlgraph.doclet.UmlGraphDoc - - gr.spinellis - UmlGraph - 4.6 - - - -inferrel -inferdep -quiet -hide java.* - -collpackages java.util.* -qualify - -postfixpackage -nodefontsize 9 - -nodefontpackagesize 7 - - - - - maven-pmd-plugin - - - 1.5 - - - - + + 2.0.5 + 1.0-rc1-SNAPSHOT + 1.1-SNAPSHOT + - - ci - - - enableCiProfile - true - - - - - - org.apache.maven.plugins - maven-pmd-plugin - - - process-sources - - - cpd-check - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - - process-sources - - - - - - - - org.codehaus.mojo - cobertura-maven-plugin - 2.2 - - - - 77 - 95 - - - - **/*$* - - - - - - clean - - clean - - - - check - - check - - - - - - - release - - - maven-gpg-plugin - 1.0-alpha-3 - maven-assembly-plugin 2.1 @@ -935,15 +768,60 @@ + + + org.apache.maven.plugins + maven-gpg-plugin + + ${gpg.passphrase} + + + + + sign + + + + + + + true + org.apache.maven.plugins + maven-deploy-plugin + + ${deploy.altRepository} + true + + + + org.apache.maven.plugins + maven-source-plugin + 2.0.4 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + - - 2.0.5 - 1.0-rc1-SNAPSHOT - 1.1-SNAPSHOT - snapshots.codehaus.org @@ -956,10 +834,4 @@ - - - apache.website - ${siteBaseDeployment}/ref/${project.version} - -