Problem is fixed in SVN. See http://jira.codehaus.org/browse/MOJO-262 Many thanks.
Regards, Gonne -----Ursprüngliche Nachricht----- Von: Gonne Martens [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Januar 2006 16:57 An: [email protected] Betreff: [mojo-user] Problem using jboss-sar-maven-plugin: can not get referenced plugin maven-sar-plugin Hello, I'm trying to use the jboss-sar-maven-plugin to build sar archives. When I start the build with "mvn package" I get the error: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ ---- [INFO] The plugin 'org.apache.maven.plugins:maven-sar-plugin' does not exist or no valid version could be found 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. <component-set> <components> <component> <role>org.apache.maven.artifact.handler.ArtifactHandler</role> <role-hint>sar</role-hint> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler </implementation> <configuration> <classifier></classifier> <extension>sar</extension> <type>sar</type> <packaging>jar</packaging> <language>java</language> <addedToClasspath>false</addedToClasspath> </configuration> </component> <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>sar</role-hint> <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMappi ng</implementation> <configuration> <phases> <process-resources>org.apache.maven.plugins:maven-resources-plugin:resou rces</process-resources> <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile > <process-test-resources>org.apache.maven.plugins:maven-resources-plugin: testResources</process-test-resources> <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile </test-compile> <test>org.apache.maven.plugins:maven-surefire-plugin:test</test> <package>org.apache.maven.plugins:maven-sar-plugin:sar</package> <install>org.apache.maven.plugins:maven-install-plugin:install</install> <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy> </phases> </configuration> </component> </components> </component-set> Any help is appreciated. Thanks in advance, Gonne
