maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason van Zyl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5227) The 'optional' flag of a dependency should be manageable.
Date Wed, 03 Feb 2016 16:04:40 GMT

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

Jason van Zyl commented on MNG-5227:
------------------------------------

But it is there, and you can't just arbitrary change the behaviour. How do you know this won't
affect anyone? You make a change in Aether with no tests, commit changes to ITs that fail
without it, Maven core fails with the change and then you assert the test needs to change?
C'mon Christian, you can't do that.

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