Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2426

Artifact copied to local repository with wrong file extension when using jboss-packaging plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.4
    • None
    • None
    • jdk 1.5.0_06, maven 2.0.4, jboss-package-maven-plugin 2.0-SNAPSHOT (from mojo-sandbox SVN r2088)

    Description

      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>
      ...

      Attachments

        1. FrigExtensionMojo.java
          3 kB
          nigel magnay
        2. bug.zip
          32 kB
          nigel magnay

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              fredriv Fredrik Vraalsen
              Votes:
              16 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: