[ http://jira.codehaus.org/browse/MNG-1875?page=comments#action_53787 ] 

Miguel Griffa commented on MNG-1875:
------------------------------------

well, it is not working the classifier in the configuration, this output should 
be clear:
( again, the classifier is set inside a profile)


[INFO] [jar:jar]
[INFO] Building jar: 
/home/mgriffa/workspace/tfv-core/target/tfv-core-2.1-SNAPSHOT-localdev.jar
[INFO] [install:install]
[INFO] Installing 
/home/mgriffa/workspace/tfv-core/target/tfv-core-2.1-SNAPSHOT.jar to 
/home/mgriffa/.m2/repository/transferval/tfv-core/2.1-SNAPSHOT/tfv-core-2.1-SNAPSHOT.jar
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Error installing artifact

Embedded error: Error installing artifact: File 
/home/mgriffa/workspace/tfv-core/target/tfv-core-2.1-SNAPSHOT.jar does not exist

It seems to 'loose' the name after the jar:jar goal

> Cannot deploy artifact with classifier
> --------------------------------------
>
>          Key: MNG-1875
>          URL: http://jira.codehaus.org/browse/MNG-1875
>      Project: Maven 2
>         Type: Bug

>     Reporter: Miguel Griffa
>     Assignee: Brett Porter

>
>
> Intro:
> I have an artifact I want to deploy with different confs, I use profiles and 
> I want confs to be deployed, so I want somethings like
> core-1.0.dev.jar
> core-1.0.-test.jar
> core-1.0.-prod.jar
> profiles is the way to go.
> The problem is how to set the name of the artifact with profiles. simple 
> overwriting finalName does not work, I was told to put the classifier in the 
> version, but this is incorrect, since all jars above should be in 1.0 dir. 
> putting the classifier in verison makes them appear in different version dirs.

-- 
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, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to