o update plugin descriptors to match changes in maven-core.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162616 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-03-19 16:13:14 +00:00
parent a75e6d61dd
commit 3d28ca82f2
4 changed files with 86 additions and 26 deletions

View File

@ -12,10 +12,22 @@
<goal> <goal>
<name>compile</name> <name>compile</name>
<parameters> <parameters>
<sourceDirectory>#project.build.sourceDirectory</sourceDirectory> <parameter>
<outputDirectory>#maven.build.dest</outputDirectory> <name>sourceDirectory</name>
<classpathElements>#project.classpathElements</classpathElements> <expression>#project.build.sourceDirectory</expression>
<compiler>javac</compiler> </parameter>
<parameter>
<name>outputDirectory</name>
<expression>#maven.build.dest</expression>
</parameter>
<parameter>
<name>classpathElements</name>
<expression>#project.classpathElements</expression>
</parameter>
<parameter>
<name>compiler</name>
<expression>javac</expression>
</parameter>
</parameters> </parameters>
</goal> </goal>
<goal> <goal>
@ -24,10 +36,22 @@
<prereq>compile</prereq> <prereq>compile</prereq>
</prereqs> </prereqs>
<parameters> <parameters>
<sourceDirectory>#project.build.unitTestSourceDirectory</sourceDirectory> <parameter>
<outputDirectory>#maven.test.dest</outputDirectory> <name>sourceDirectory</name>
<classpathElements>#project.classpathElements</classpathElements> <expression>#project.build.unitTestSourceDirectory</expression>
<compiler>javac</compiler> </parameter>
<parameter>
<name>outputDirectory</name>
<expression>#maven.test.dest</expression>
</parameter>
<parameter>
<name>classpathElements</name>
<expression>#project.classpathElements</expression>
</parameter>
<parameter>
<name>compiler</name>
<expression>javac</expression>
</parameter>
</parameters> </parameters>
</goal> </goal>
</goals> </goals>

View File

@ -9,11 +9,20 @@
<prereq>test</prereq> <prereq>test</prereq>
<prereq>resources</prereq> <prereq>resources</prereq>
</prereqs> </prereqs>
<fields> <parameters>
<jarName>#maven.final.name</jarName> <parameter>
<outputDirectory>#maven.build.dir</outputDirectory> <name>jarName</name>
<basedir>#maven.build.dest</basedir> <expression>#maven.final.name</expression>
</fields> </parameter>
<parameter>
<name>outputDirectory</name>
<expression>#maven.build.dir</expression>
</parameter>
<parameter>
<name>basedir</name>
<expression>#maven.build.dest</expression>
</parameter>
</parameters>
</goal> </goal>
</goals> </goals>
</plugin> </plugin>

View File

@ -5,17 +5,29 @@
<goals> <goals>
<goal> <goal>
<name>resources</name> <name>resources</name>
<fields> <parameters>
<outputDirectory>#maven.build.dest</outputDirectory> <parameter>
<resources>#project.build.resources</resources> <name>outputDirectory</name>
</fields> <expression>#maven.build.dest</expression>
</parameter>
<parameter>
<name>resources</name>
<expression>#project.build.resources</expression>
</parameter>
</parameters>
</goal> </goal>
<goal> <goal>
<name>test:resources</name> <name>test:resources</name>
<fields> <parameters>
<outputDirectory>#maven.test.dest</outputDirectory> <parameter>
<resources>#project.build.unitTest.resources</resources> <name>outputDirectory</name>
</fields> <expression>#maven.test.dest</expression>
</parameter>
<parameter>
<name>resources</name>
<expression>#project.build.unitTeset.resources</expression>
</parameter>
</parameters>
</goal> </goal>
</goals> </goals>
</plugin> </plugin>

View File

@ -13,11 +13,26 @@
<method> <method>
<name>execute</name> <name>execute</name>
<parameters> <parameters>
<mavenRepoLocal>#maven.repo.local</mavenRepoLocal> <parameter>
<basedir>#basedir</basedir> <name>mavenRepoLocal</name>
<includes>#project.build.unitTest.includes</includes> <expression>#maven.repo.local</expression>
<excludes>#project.build.unitTest.excludes</excludes> </parameter>
<classpathElements>#project.classpathElements</classpathElements> <parameter>
<name>basedir</name>
<expression>#basedir</expression>
</parameter>
<parameter>
<name>includes</name>
<expression>#project.build.unitTest.includes</expression>
</parameter>
<parameter>
<name>excludes</name>
<expression>#project.build.unitTest.excludes</expression>
</parameter>
<parameter>
<name>classpathElements</name>
<expression>#project.classpathElements</expression>
</parameter>
</parameters> </parameters>
</method> </method>
</goal> </goal>