[ http://jira.codehaus.org/browse/MNG-1616?page=all ]
John Casey updated MNG-1616:
----------------------------
Fix Version: (was: 2.0.1)
2.0.2
> The install plugin fails if there are only "attached" artifacts.
> ----------------------------------------------------------------
>
> Key: MNG-1616
> URL: http://jira.codehaus.org/browse/MNG-1616
> Project: Maven 2
> Type: Bug
> Components: maven-install-plugin
> Versions: 2.0
> Reporter: Julien S
> Assignee: John Casey
> Fix For: 2.0.2
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> Usually, classifiers are used to produce attached artifacts, together with
> the "main" artifact. In some cases, however, it is not possible to produce
> the different flavors of the artifacts simultaneously (for example, for a
> version with debug and without debug).
> Then, in order to have a single artifact _with_ a classifier, one can
> configure the jar plugin as follow:
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jar-plugin</artifactId>
> <configuration>
> <classifier>someclassifier</classifier>
> </configuration>
> </plugin>
> However, this cause the install plugin (and probably also the deploy plugin)
> to fail, because it cannot find the "main" artifact:
> [INFO] [jar:jar]
> [INFO] Building jar:
> /home/julien/cvs/java/libs/attr/target/libattr-3.0-nodebug.jar
> [INFO] [install:install]
> [INFO] Installing /home/julien/cvs/java/libs/attr/target/classes to
> /home/julien/.m2/repository/unicity/libattr/3.0/libattr-3.0.jar
--
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]