[ http://jira.codehaus.org/browse/MNG-1875?page=all ]
Miguel Griffa reopened MNG-1875:
--------------------------------
here is the pom extract (notice I classifier insider configuration of jar
plugin):
<profiles>
<profile>
<id>localdev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<classifier>localdev</classifier>
</configuration>
</plugin>
</plugins>
> 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]