I have it configured exactly like you. Except it keeps asking for org.apache.maven.plugins:maven-sar-plugin to be present when I set the packaging to sar. Could you perhaps verify you have that plugin in your repository?
-----Oorspronkelijk bericht----- Van: Tom Huybrechts [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 7 april 2006 11:22 Aan: Maven Users List Onderwerp: Re: jboss-sar-maven-plugin and packaging "sar" This is the pom for my sar project, which is working for me: <project> <modelVersion>4.0.0</modelVersion> <groupId>xxx</groupId> <artifactId>xxx</artifactId> <packaging>sar</packaging> <version>1.0.0-SNAPSHOT</version> <description></description> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jboss-sar-maven-plugin</artifactId> <version>2.0-SNAPSHOT</version> <extensions>true</extensions> </plugin> </plugins> </build> </project> On 4/6/06, Peschier J. (Jeroen) <[EMAIL PROTECTED]> wrote: > > > I got this when trying your suggestion. > > [INFO] > -------------------------------------------------------------------- -- > [INFO] The plugin 'org.apache.maven.plugins:maven-sar-plugin' does not > exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin > 'org.apache.maven.plugins:maven-sar-plugin' does not exist or no valid > version could be found > > > Why is it looking for org.apache.maven.plugins:maven-sar-plugin? The > plugin I built is org.codehaus.mojo:jboss-sar-maven-plugin. Am I correct > in assuming there are different plugins for the same task? Or perhaps > one plugin for the SAR-packaging-type and one for building a SAR > archive? > > The org.apache.maven.plugins:maven-sar-plugin is not available at > ibiblio. I found loom:maven-sar-plugin, but it's just an empty stub on > ibiblio. Any ideas where it can be found? > > > > Add: <extensions>true</extensions> to the <plugin> element for the > > jboss-sar-maven-plugin. > > > > Tom > > > --------------------------------------------------------------------- > 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]