maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MDEP-219) mvn dependency:analyze -DoutputXML=true does not include classifier in XML output
Date Fri, 01 Jan 2010 09:46:55 GMT

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

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

    Resolution: Fixed

fixed at

Revision: 894985
Author: dantran
Date: 1:44:58 AM, Friday, January 01, 2010
Message:
[MDEP-219] include classifier in XML output for dependency:analyze 
----
Modified : /maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractAnalyzeMojo.java



>  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

        

Mime
View raw message