From: Mathieu Baudier Date: Wed, 9 Jul 2008 12:44:23 +0000 (+0000) Subject: Automated packaging with custom plugin X-Git-Tag: argeo-slc-2.1.7~2651 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=5c521c621a7aa3019b2f377299e5a26cbe770ed5;p=gpl%2Fargeo-slc.git Automated packaging with custom plugin git-svn-id: https://svn.argeo.org/slc/trunk@1392 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/maven/plugins/maven-argeo-pde-plugin/src/main/scripts/argeo-pde.build.xml b/maven/plugins/maven-argeo-pde-plugin/src/main/scripts/argeo-pde.build.xml index 29ca2ea2e..69b97229b 100644 --- a/maven/plugins/maven-argeo-pde-plugin/src/main/scripts/argeo-pde.build.xml +++ b/maven/plugins/maven-argeo-pde-plugin/src/main/scripts/argeo-pde.build.xml @@ -1,24 +1,123 @@ + + + - - + + + + - - + + + + + + + + + + + + + + + + - - + + - - - - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -26,29 +125,73 @@ - + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + - - - + + + + + + + + + + + - - - + + + + @@ -56,15 +199,14 @@ - - - - - - + + + + - diff --git a/maven/plugins/maven-argeo-pde-plugin/src/main/scripts/argeo-pde.mojos.xml b/maven/plugins/maven-argeo-pde-plugin/src/main/scripts/argeo-pde.mojos.xml index 9c35af257..fcd66bf95 100644 --- a/maven/plugins/maven-argeo-pde-plugin/src/main/scripts/argeo-pde.mojos.xml +++ b/maven/plugins/maven-argeo-pde-plugin/src/main/scripts/argeo-pde.mojos.xml @@ -1,21 +1,49 @@ - build - build - Generate PDE build scripts + buildElement + buildElement + + Builds an element (plugin or feature) + true + - baseLocation - baseLocation + eclipseBuildDir + eclipseBuildDir true - ${baseLocation} + ${eclipseBuildDir} java.lang.String - The Eclipse base location + + The Eclipse build dir location + + + + eclipseAntArgs + eclipseAntArgs + ${eclipseAntArgs} + + java.lang.String + + Additional args passed to Eclipse Ant (such as + verbose/debug level) + + + elementId + elementId + true + ${project.artifactId} + java.lang.String + + The artifact id of the project by default, will + be used as element id. + + + buildScriptTargets buildScriptTargets @@ -42,6 +70,29 @@ script + + + + + + buildProduct + buildProduct + Builds a product + + true + + + + + eclipseBuildDir + eclipseBuildDir + true + ${eclipseBuildDir} + java.lang.String + + The Eclipse build dir location + + eclipseAntArgs eclipseAntArgs @@ -57,7 +108,6 @@ elementId elementId true - true ${project.artifactId} java.lang.String @@ -65,14 +115,28 @@ be used as element id. + + + buildConfiguration + buildConfiguration + true + buildConfiguration + ${buildConfiguration} + java.lang.String + + Relative path to the product build directory + + + + clean clean Clean generated artifacts - true + elementId