[ https://issues.apache.org/jira/browse/MNG-5227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942027#comment-15942027 ]
Christian Schulte commented on MNG-5227: ---------------------------------------- Issue is fixed in the master branch of [my private maven repository on github|https://github.com/ChristianSchulte/maven/tree/master]. When interested, you can cherry pick the commit to your own repository and create a pull request for the apache master branch with just this commit yourself from there. > 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: New Feature > Components: Artifacts and Repositories > Affects Versions: 3.0.3 > Reporter: Christian Schulte > Priority: Minor > Fix For: 3.6.0-candidate > > 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.15#6346)