You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2010/01/01 10:04:55 UTC

[jira] Closed: (MDEP-219) mvn dependency:analyze -DoutputXML=true does not include classifier in XML output

     [ http://jira.codehaus.org/browse/MDEP-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran closed MDEP-219.
-------------------------

       Resolution: Won't Fix
    Fix Version/s: 2.2
         Assignee: Dan Tran  (was: Brian Fox)

dependency:analyzer ( 2.1 ) nolonger shows the suggested xml fragment.  user can always come up with the xml fragment base on analyser output

>  mvn dependency:analyze -DoutputXML=true does not include classifier in XML output
> ----------------------------------------------------------------------------------
>
>                 Key: MDEP-219
>                 URL: http://jira.codehaus.org/browse/MDEP-219
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: analyze
>    Affects Versions: 2.2
>         Environment: % mvn --version
> Apache Maven 2.2.0 (r788681; 2009-06-26 08:04:01-0500)
> Java version: 1.6.0_14
> Java home: /opt/jdk1.6.0_14/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux" version: "2.6.27.24-78.2.53.fc9.x86_64" arch: "i386" Family: "unix"
>            Reporter: Mike Hanafey
>            Assignee: Dan Tran
>            Priority: Minor
>             Fix For: 2.2
>
>
> If a dependency requires a classifier to specify it (in the example below, the classifier is a datatype, and there are "int", "long", "float", and "double" flavors), the XML fragment omits the classifier:
> {code}
> [INFO] [dependency:analyze {execution: default-cli}]
> [WARNING] Used undeclared dependencies found:
> [WARNING]    jal:jal:jar:double:1.0:compile
> [INFO] Add the following to your pom to correct the missing dependencies:
> [INFO]
> <dependency>
>   <groupId>jal</groupId>
>   <artifactId>jal</artifactId>
>   <version>1.0</version>
> </dependency>
> {code}
> In this example the correct XML would be:
> {code}
> <dependency>
>   <groupId>jal</groupId>
>   <artifactId>jal</artifactId>
>   <classifier>double</classifier>
>   <version>1.0</version>
> </dependency>
> {code}

-- 
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