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 04:27:13 UTC

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

    [ http://jira.codehaus.org/browse/MINSTALL-3?page=comments#action_54837 ] 

Brett Porter commented on MINSTALL-3:
-------------------------------------

http://marc.theaimsgroup.com/?l=turbine-maven-user&m=113231335716042&w=2

> 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: John Casey

>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org