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

View File

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

View File

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

View File

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