Hi,
Marco, presumably you are using RC1 as I've had a similar issue? If so
there is a bug in the plugin goal that copies the jar file to
maven/plugins in the repo rather than ${pom.groupId}/plugins, which I
believe will be fixed in RC2 [see the goal lifted from plugin.jelly,
specifically the copy todir attribute].
<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>
You can work around this for the timebeing by adding a post-goal to the
plugin goal in your project specific maven.xml file to copy the jar file
to the correct location. For example:
<!--
this is bugged in RC1 to copy to maven/plugins rather than
${pom.groupId}/plugins. Remove when moved to RC2.
-->
<postGoal name="plugin">
<copy file="${maven.build.dir}/${maven.final.name}.jar"
todir="${maven.repo.local}/${pom.groupId}/plugins" />
</postGoal>
Hopefully this fixes your problem.
Kris.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]