at least we now know where the additional copy comes from :)

thanks

Brett Porter wrote:

"Use the source".

From ~/.maven/plugins/maven-plugin-plugin-1.1/plugin.jelly:

<goal name="plugin" description="Build a plugin jar and install to the maven.repo.local">

    <!-- Plugins are just a jar. -->
    <attainGoal name="jar:jar"/>

    <copy file="${maven.build.dir}/${maven.final.name}.jar"
      todir="${maven.repo.local}/maven/plugins" />

</goal>

  <goal name="plugin:install" prereqs="plugin"
    description="Install the plugin jar, prepare Maven to expand it locally
and clear caches">
...

So plugin:install calls "plugin", which executes jar:jar, and then copies it
to maven plugins.
Probably just need to change maven in that line to ${pom.groupId}... I'll do
that when I can get at CVS.

- Brett


-----Original Message-----
From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 2:34 PM
To: Maven Developers List
Subject: Re: I'm confused - plugin installation dirs



any idea how this output would be generated? theres no copy command in the jar:jar goal


jar:jar:
[jar] Building jar: D:\op\ejbgen\target\maven-ejbgen-plugin-1.0.jar


[copy] Copying 1 file to D:\apache\maven\local\repository\maven\plugins
plugin:install:





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to