[ https://jira.codehaus.org/browse/MNG-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=348748#comment-348748 ]
Karl-Heinz Marbaise commented on MNG-3397: ------------------------------------------ So an exclusions could look like this: {code:xml} <dependency groupId="junit" artifactId="junit" scope="test" version="4.11"> <exclusions> <exclusion groupId="org.hamcrest" artifactId="hamcrest-core"/> </exclusions> </dependency> {code} Or going with the idea of Id's it would look like this: {code:xml} <dependency id="org.junit:junit:test:4.11"> <exclusions> <exclusion id="org.hamcrest:hamcest-core"/> </exclusions> </dependency> {code} Furthermore some more convenience: {code:xml} <dependency id="org.junit:junit:test" exclusions="*"/> {code} Which brings me to a more formal definition: {code:xml} <dependency id="{groupId}:{artifactId}:{version}:{classifier}:{type}:{scope}"/> {code} > [RFC] change the POM to use attributes > -------------------------------------- > > Key: MNG-3397 > URL: https://jira.codehaus.org/browse/MNG-3397 > Project: Maven > Issue Type: Bug > Components: FDPFC, POM > Affects Versions: 2.0.8 > Reporter: Brett Porter > Fix For: Issues to be reviewed for 4.x > > -- This message was sent by Atlassian JIRA (v6.1.6#6162)