I think you need to define the sar package type as an extension in components.xml.
Since there's already a sar plugin which also makes available "sar" as a package type you could check the sources of the jboss-sar-maven-plugin at codehaus.org. -----Oorspronkelijk bericht----- Van: Stefan Arentz [mailto:[EMAIL PROTECTED] Verzonden: Sunday, May 14, 2006 7:07 PM Aan: Maven Users List Onderwerp: Cannot find lifecycle mapping for packaging: 'sar' I created a simple plugin to create SAR archives (JBoss Service Archive). It is basically a jar file with a META-INF/jboss-service.xml. The maven-ejb-plugin looked like a good candidate for a template so I used that and modified it. My maven-sar-plugin succesfully builds and installs in the local repository. However, when I try to actually use it to package a SAR, I get the following error: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot find lifecycle mapping for packaging: 'sar'. Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingsar. Is there anything I need to do before maven will 'see' my new plugin? Also, the last error message is a bit odd or does it simply miss a ": " in between "...LifecycleMapping" and "sar" ? S. --------------------------------------------------------------------- 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]