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

Christian Schulte commented on MNG-5227:
----------------------------------------

If you are referring to 
'maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java'
 then this test case needs updating. It's testing the existence of a transitive 
test dependency which should not be there. The scope in dependency management 
needs updating from 'test' to something available transitively to make it test 
what was intended. I've written test cases for 'maven-core' as well.


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

Reply via email to