javascript-maven-plugin war-package ignores dependency classifier
-----------------------------------------------------------------

                 Key: MOJO-1345
                 URL: http://jira.codehaus.org/browse/MOJO-1345
             Project: Mojo
          Issue Type: Bug
            Reporter: Mateusz Stefek
         Attachments: testJS.zip

In war pom.xml:
        <dependencies>
                <dependency>
                        <groupId>testJS</groupId>
                        <artifactId>javascript-module</artifactId>
                        <version>0.0.1-SNAPSHOT</version>
                        <classifier>compressed</classifier>
                        <type>javascript</type>
                </dependency>

The classifier tag seems to be ignored. Javascript-module creates two jars. The 
"*-compressed" one is in fact compressed. However, in the final war the 
uncompressed code is included.

In the war module I don't use the 'compress' goal, just 'war-package'.

I want to compress my javascript library only once using the 
'attach-compressed' goal. I have multiple war modules. I don't want to 
configure compressor parameters in each of theirs poms.

Sample project is included.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to