You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Armin Wrobel (JIRA)" <ji...@codehaus.org> on 2009/12/16 10:10:55 UTC

[jira] Created: (MNG-4497) jboss-maven-plugin: if more than one file is specified in , then the artifactIds are taken as file names instead of the ones specified.

jboss-maven-plugin: if more than one file is specified in <fileNames>, then the artifactIds are taken as file names instead of the ones specified.
--------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MNG-4497
                 URL: http://jira.codehaus.org/browse/MNG-4497
             Project: Maven 2 & 3
          Issue Type: Bug
    Affects Versions: 2.0.10
         Environment: Windows XP SP3
            Reporter: Armin Wrobel


If I speficy the jboss-maven-plugin as follows, then the plugin tries to copy a file named casex-ear.ear (casex-ear is the artifactId) instead of the casex-int.ear as specified. If I just specify the casex-int.ear in <fileName> without a surrounding <fileNames>, then the file is copied correctly.

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>jboss-maven-plugin</artifactId>
  <version>1.4</version>
  <configuration>
    <port>8280</port>
    <jbossHome>${JBoss_Int_Home}</jbossHome>
    <fileNames>
      <fileName>../case-base/target/case-base-5.0.0.jar</fileName>
      <fileName>../casex-ear/target/casex-int.ear</fileName>
    </fileNames>
  </configuration>
</plugin>

Note: I have settings for the jboss-maven-plugin plugin in two different profiles which are combined, so some configs are missing in the listing above.

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