Martin Todorov created MINSTALL-97:
--------------------------------------

             Summary: Plugin install wrong artifact
                 Key: MINSTALL-97
                 URL: https://jira.codehaus.org/browse/MINSTALL-97
             Project: Maven Install Plugin
          Issue Type: Bug
         Environment: Apache Maven 3.1.0 
(893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 03:15:32+0100)
Maven home: /java/apache/maven-3.1.0
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: /java/jdk1.7.0_25/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "2.6.39.4", arch: "amd64", family: "unix"

            Reporter: Martin Todorov


I have a project with packaging type "war". I have attached the "jar" plugin to 
the package phase just so that it also creates a jar file (containing some of 
the classes + resources). Both archives are produced properly.

Then i see:
{code}
[INFO] Installing 
/java/opensource/carlspring/strongbox/strongbox-webapp/target/strongbox-webapp-1.0-SNAPSHOT.jar
 to 
/root/.m2/repository/org/carlspring/strongbox/strongbox-webapp/1.0-SNAPSHOT/strongbox-webapp-1.0-SNAPSHOT.war
{code}

This is installing the wrong artifact. I've tried it with 2.4 and 2.5.
Please advise!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to