[ http://jira.codehaus.org/browse/MNG-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167054#action_167054 ]
Jason Chaffee commented on MNG-2426: ------------------------------------ I am of the opinion that this is a bug in Plexus. I am really perplexed why the maven team chose to use Plexus over more popular, better implemented, and battled tested containers such as Spring and PicoContainer. Even Bob Lee's Guice, which is a newer entry into DI and IoC would be an improvement. Other Apache projects are built on top of spring (CXF, ServiceMix, Camel), so not sure why maven couldn't be as well. > Artifact copied to local repository with wrong file extension when using > jboss-packaging plugin > ----------------------------------------------------------------------------------------------- > > Key: MNG-2426 > URL: http://jira.codehaus.org/browse/MNG-2426 > Project: Maven 2 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 2.0.4 > Environment: jdk 1.5.0_06, maven 2.0.4, jboss-package-maven-plugin > 2.0-SNAPSHOT (from mojo-sandbox SVN r2088) > Reporter: Fredrik Vraalsen > Fix For: 2.0.x > > Attachments: bug.zip > > > When using the jboss-packaging plugin and setting <packaging> to jboss-sar in > my pom, the artifact is copied into the local repository with the wrong file > extension (.jboss-sar instead of .sar). The jboss-packaging components.xml > has <extension> set to sar. The file in the build target directory has the > correct .sar extension. > Here's the relevant excerpt from my pom.xml: > <packaging>jboss-sar</packaging> > ... > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>jboss-packaging-maven-plugin</artifactId> > <version>2.0-SNAPSHOT</version> > <extensions>true</extensions> > ... -- 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