You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/01/04 06:17:13 UTC

[jira] Closed: (MINSTALL-3) The install plugin fails if there are only "attached" artifacts.

     [ http://jira.codehaus.org/browse/MINSTALL-3?page=all ]
     
Brett Porter closed MINSTALL-3:
-------------------------------

    Resolution: Fixed

> The install plugin fails if there are only "attached" artifacts.
> ----------------------------------------------------------------
>
>          Key: MINSTALL-3
>          URL: http://jira.codehaus.org/browse/MINSTALL-3
>      Project: Maven 2.x Install Plugin
>         Type: Bug

>     Reporter: Julien S
>     Assignee: Brett Porter
>      Fix For: 2.1

>
> Original Estimate: 30 minutes
>        Time Spent: 15 minutes
>         Remaining: 0 minutes
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org