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

Guillaume Nodet commented on MNG-5227:
--------------------------------------

It should be a matter of reverting:
 * [[MNG-4600] [regression] Optional flag from dependency management 
appl…|https://github.com/apache/maven/commit/699fc5b81d789ce503b3324970df06e30a06968b]
 * [[MNG-4600] [regression] Optional flag from dependency management 
appl…|https://github.com/apache/maven/commit/75ce32ab48a9695ad23d4b39cfaff7f9e927b8e8]

Well, the second commit is the IT which should be fixed and not removed.

Any takers ?

> 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: 4.x / Backlog
>
>         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
(v8.20.10#820010)

Reply via email to