[ http://jira.codehaus.org/browse/MOJO-262?page=all ]
Corridor Software Developer closed MOJO-262:
--------------------------------------------
Resolution: Fixed
Fix Version: 2.0
Okay, tested this locally and I'm satisfied that the mapping works. Be sure to
add the following to your plugins:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-sar-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
And the sar packaging should be recognized.
> jboss-sar-maven-plugin does not work because of an invalid reference to the
> not existing plugin org.apache.maven.plugins:maven-sar-plugin
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MOJO-262
> URL: http://jira.codehaus.org/browse/MOJO-262
> Project: Mojo
> Type: Bug
> Components: sandbox
> Environment: Windows XP, Maven 2.0.2
> Reporter: Gonne Martens
> Assignee: Corridor Software Developer
> Priority: Critical
> Fix For: 2.0
>
>
> The plugin jboss-sar-maven-plugin does not work.
> After starting with "mvn package" I got the error:
> {quote}
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-sar-plugin' does not exist
> or no valid version could be found
> {quote}
> It seems that the plugin jar contains a typo in the file components.xml for
> the phase "package":
> it references "org.apache.maven.plugins:maven-sar-plugin:sar" instead of
> "org.codehaus.mojo:jboss-sar-maven-plugin:sar" as I expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira