maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schulte (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MNG-5227) The 'optional' flag of a dependency should be manageable.
Date Wed, 03 Feb 2016 18:20:39 GMT

    [ https://issues.apache.org/jira/browse/MNG-5227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130793#comment-15130793
] 

Christian Schulte edited comment on MNG-5227 at 2/3/16 6:20 PM:
----------------------------------------------------------------

Test case first appeared in "MNG-1577-trunk-final.patch" attachment of MNG-1577. It's about
versions, AFAIK. It started to be part of Maven starting with 2.0.6. See [maven-project-2.0.6|http://svn.apache.org/viewvc/maven/components/tags/maven-2.0.6/maven-project/src/test/resources/inheritance-repo/t06/].
Original author is [~joehni]. Correction applied in [2e523cb984814acba47ed80a3fc4c77c59225f8e|http://git-wip-us.apache.org/repos/asf/maven/commit/2e523cb9].


was (Author: schulte77):
Test case first appeared in "MNG-1577-trunk-final.patch" attachment of MNG-1577. It's about
versions, AFAIK. It started to be part of Maven starting with 2.0.6. See [maven-project-2.0.6|http://svn.apache.org/viewvc/maven/components/tags/maven-2.0.6/maven-project/src/test/resources/inheritance-repo/t06/].
Original author is [~joehni].

> The 'optional' flag of a dependency should be manageable.
> ---------------------------------------------------------
>
>                 Key: MNG-5227
>                 URL: https://issues.apache.org/jira/browse/MNG-5227
>             Project: Maven
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0.3
>            Reporter: Christian Schulte
>            Assignee: Christian Schulte
>            Priority: Minor
>             Fix For: 3.4.0
>
>         Attachments: MNG-5227.patch, MNG-5227.patch
>
>
> {code}
> <dependencyManagement>
>   <dependencies>
>     <dependency>
>       <groupId>groupId</groupId>
>       <artifactId>artifactId</artifactId>
>       <version>version</version>
>       <optional>false</optional> <!-- Ignored by Maven 2 & 3 in dependency
management. -->
>     </dependency>
>   </dependencies>
> </dependencyManagement>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message