From 6801d9ed6285f6c83a298a70b663a1f3e26387a9 Mon Sep 17 00:00:00 2001 From: jvanzyl Date: Sun, 27 Jul 2003 23:34:00 +0000 Subject: [PATCH] o RC1 Refactoring PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113732 13f79535-47bb-0310-9956-ffa450edef68 --- clean/clean/plugin.jelly | 12 +++ clean/plugin.jelly | 12 +++ jar/plugin.jelly | 44 +++++++- jar/project.xml | 5 +- java/plugin.jelly | 61 ++++------- java/plugin.properties | 5 +- java/project.xml | 58 ----------- license/plugin.jelly | 19 ++-- license/project.xml | 11 +- plugin/plugin.jelly | 5 +- test/plugin.jelly | 178 +++++++++++++++++--------------- test/plugin.properties | 11 +- test/project.xml | 2 +- touchstone-partner/plugin.jelly | 1 + touchstone/plugin.properties | 8 +- 15 files changed, 221 insertions(+), 211 deletions(-) diff --git a/clean/clean/plugin.jelly b/clean/clean/plugin.jelly index ca5ff76f..6a98b3c0 100644 --- a/clean/clean/plugin.jelly +++ b/clean/clean/plugin.jelly @@ -13,4 +13,16 @@ + + + + + + + + + + diff --git a/clean/plugin.jelly b/clean/plugin.jelly index ca5ff76f..6a98b3c0 100644 --- a/clean/plugin.jelly +++ b/clean/plugin.jelly @@ -13,4 +13,16 @@ + + + + + + + + + + diff --git a/jar/plugin.jelly b/jar/plugin.jelly index ee2f12ff..1bbbdbae 100644 --- a/jar/plugin.jelly +++ b/jar/plugin.jelly @@ -9,7 +9,47 @@ xmlns:resources="resources" xmlns:util="jelly:util" xmlns:doc="doc" - xmlns:m="maven"> + xmlns:m="maven" + xmlns:define="jelly:define" + xmlns:velocity="jelly:velocity" + > + + + + + + + + + + + + + + + + + + Creating MANIFEST file:${destFile} + + + + + + @@ -36,11 +76,13 @@ + diff --git a/jar/project.xml b/jar/project.xml index b1b976df..86b531ac 100644 --- a/jar/project.xml +++ b/jar/project.xml @@ -5,7 +5,7 @@ 3 maven-jar-plugin Maven Jar Plug-in - 1.1-SNAPSHOT + 1.0 Java Project Management Tools http://maven.apache.org/reference/plugins/jar/ @@ -28,8 +28,9 @@ velocity - 1.4-dev + 1.3 + diff --git a/java/plugin.jelly b/java/plugin.jelly index fada81b2..df68103a 100644 --- a/java/plugin.jelly +++ b/java/plugin.jelly @@ -4,28 +4,8 @@ xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:define="jelly:define" - xmlns:resources="resources"> - - - - - - - - - - - - - - - - - - - - - + xmlns:resources="resources" + xmlns:maven="jelly:maven"> @@ -45,24 +25,25 @@ prereqs="java:prepare-filesystem"> Compiling to ${maven.build.dest} - - + - - - - + debug="${plugins.java.compileDebug}" + deprecation="${plugins.java.compileDeprecation}" + target="${plugins.java.compileTarget}" + optimize="${plugins.java.compileOptimize}"> + + + + + - + @@ -102,6 +83,7 @@ + @@ -122,14 +104,11 @@ - - - - - + + + diff --git a/java/plugin.properties b/java/plugin.properties index b16dad0c..e9a7ad7a 100644 --- a/java/plugin.properties +++ b/java/plugin.properties @@ -4,4 +4,7 @@ maven.jar.manifest = ${maven.conf.dir}/Manifest.mf maven.jar.mainclass = -maven.compile.target = 1.1 \ No newline at end of file +compileTarget = 1.1 +compileDebug = on +compileOptimize = off +compileDeprecation = off diff --git a/java/project.xml b/java/project.xml index d0cf475a..1c4a60bb 100644 --- a/java/project.xml +++ b/java/project.xml @@ -14,62 +14,4 @@ scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/java/ http://cvs.apache.org/viewcvs/maven/src/plugins-build/java/ - - - dIon Gillard - dion - dion@multitask.com.au - Multitask Consulting - - Documentation - Jelly Developer - - - - Bob McWhirter - werken - bob@werken.com - The Werken Company - - Java Developer - - - - Vincent Massol - vmassol - vmassol@octo.com - Octo Technology - - Java Developer - - - - St?phane Mor - smor - stephanemor@yahoo.fr - Hasgard Syst?mes et R?seaux - - Java Developer - - - - Kurt Schrader - kschrader - kschrader@karmalab.org - University of Michigan - - Java Developer - - - - Jason van Zyl - jvanzyl - jason@zenplex.com - Zenplex - - Architect - Release Manager - - - diff --git a/license/plugin.jelly b/license/plugin.jelly index 08dbdc10..6f921c70 100644 --- a/license/plugin.jelly +++ b/license/plugin.jelly @@ -28,7 +28,7 @@ - + @@ -46,18 +46,11 @@ - - - - - - - - + diff --git a/license/project.xml b/license/project.xml index b94aaab9..a8079f37 100644 --- a/license/project.xml +++ b/license/project.xml @@ -5,7 +5,7 @@ 3 maven-license-plugin Maven License Plug-in - 1.1-SNAPSHOT + 1.0 Java Project Management Tools http://maven.apache.org/reference/plugins/license/ @@ -24,15 +24,6 @@ Java Developer - - Emmanuel Venisse - evenisse - evenisse@ifrance.com - Fi System - - Java Developer - - dIon Gillard dion diff --git a/plugin/plugin.jelly b/plugin/plugin.jelly index b9e6242d..3e55825b 100644 --- a/plugin/plugin.jelly +++ b/plugin/plugin.jelly @@ -7,7 +7,10 @@ - + - - - + + - - + + - + - + + - - - - - - - - - - - - - - + Compiling test sources ... + + - - No test source files to compile. - - + + + + + + + + + + + + + + + + + No test sources to compile. + + - - - + + @@ -99,19 +110,24 @@ + + + + - - - + No tests to run. - + + + + --> - + ${maven.junit.sysproperties} @@ -130,7 +146,7 @@ - + @@ -138,29 +154,29 @@ description="Execute a single test defined using the 'testcase' variable" prereqs="test:compile"> - - + + You must define the test case to run via -Dtestcase=classname - Example: maven -Dtestcase=MyTest test:single + Example: maven -Dtestcase=MyTest test:single-test - + - + - - + ${maven.junit.sysproperties} @@ -182,13 +198,13 @@ - + - + - + No tests to run. @@ -200,29 +216,29 @@ description="Execute all the tests matching the given 'testmatch' variable" prereqs="test:compile"> - - + + You must define the test case to run via -Dtestmatch=pattern - Example: maven -Dtestmatch=*Foo* test:match + Example: maven -Dtestmatch=*Foo* test:match-test - + - + - - - + ${maven.junit.sysproperties} @@ -249,13 +265,13 @@ - + - + - + No tests to run. @@ -264,9 +280,9 @@ - + [deprecated] please use the test:single goal instead - + @@ -274,14 +290,14 @@ description="[deprecated] please use the test:match goal instead"> [deprecated] please use the test:match goal instead - + - + Used by eclipse to drag in test plugin context - + @@ -291,16 +307,16 @@ prereqs="test:prepare-filesystem" xmlns:resources="resources"> - + - - + diff --git a/test/plugin.properties b/test/plugin.properties index ed13ce25..89ec4e93 100644 --- a/test/plugin.properties +++ b/test/plugin.properties @@ -10,4 +10,13 @@ maven.junit.usefile = true maven.test.dest = ${maven.build.dir}/test-classes maven.test.reportsDirectory = ${maven.build.dir}/test-reports maven.test.skip = false -maven.junit.jvmargs= \ No newline at end of file +maven.junit.jvmargs= + +skipTests = false + +compileDebug = on +compileDeprecation = on +compileOptimize = off + +testDest = ${basedir}/target/test-classes +reportsDirectory = ${basedir}/target/test-reports diff --git a/test/project.xml b/test/project.xml index 98194a17..28f18f6d 100644 --- a/test/project.xml +++ b/test/project.xml @@ -33,7 +33,7 @@ xerces - 2.4.0 + 2.0.2 http://xml.apache.org/xerces2-j/ root diff --git a/touchstone-partner/plugin.jelly b/touchstone-partner/plugin.jelly index d49b1302..ca2cd731 100644 --- a/touchstone-partner/plugin.jelly +++ b/touchstone-partner/plugin.jelly @@ -6,6 +6,7 @@ preGoal for touchstone-goal-C is running ... + inside touchstone-partner : ${plugin.id} diff --git a/touchstone/plugin.properties b/touchstone/plugin.properties index 257e5552..9f1fa64c 100644 --- a/touchstone/plugin.properties +++ b/touchstone/plugin.properties @@ -6,7 +6,13 @@ # ------------------------------------------------------------------- maven.touchstone.A = A -maven.touchstone.B = C +maven.touchstone.B = B maven.touchstone.C = C maven.touchstone.D = D maven.touchstone.E = E + +touchstoneA = A +touchstoneB = B +touchstoneC = C +touchstoneD = D +touchstoneE = E