You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mike Hanafey (JIRA)" <ji...@codehaus.org> on 2009/07/15 16:20:22 UTC

[jira] Created: (MDEP-219) mvn dependency:analyze -DoutputXML=true does not include classifier in XML 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: Brian Fox
            Priority: Minor


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

        

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

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran reopened MDEP-219:
---------------------------


i missed -DoutputXML param :-)

>  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

        

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

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ 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