Overridden artifact finalName ist ignored by the war plugin.
------------------------------------------------------------

                 Key: MWAR-161
                 URL: http://jira.codehaus.org/browse/MWAR-161
             Project: Maven 2.x War Plugin
          Issue Type: Bug
    Affects Versions: 2.1-alpha-1
         Environment: Maven 2.0.9, JDK 6, WinXP SP2
            Reporter: Michael Osipov
         Attachments: example.png

I have a multimodule project.
groupId: net.fckeditor

Parent ArtifactId: fckeditor-java
1. module ArtifactId: java-core; finalName "fckeditor-${artifactId}-${version}" 
though => e.g. fckeditor-java-core-2.4-SNAPSHOT
2. module ArtifactId: java-demo; finalName "fckeditor-${artifactId}-${version}" 
though

module one is a jar artifact, module 2 a war artifact which has a dependency on 
module 2.

the final WAR file contains all dependencies included the java-core but the jar 
name is not fckeditor-java-core-2.4-SNAPSHOT.jar but java-core-2.4-SNAPSHOT.jar

An example picture is attached and the project can be checked out at our 
[trac|http://dev.fckeditor.net/browser/FCKeditor.Java/trunk] and the 
[SVN|http://svn.fckeditor.net/FCKeditor.Java/trunk/] directly.

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

        

Reply via email to