Affects Version/s: 2.4
Fix Version/s: 3.1.1
Environment:Apache Maven 3.1.1
Java version: 1.7.0_45, vendor: Oracle Corporation
OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
Version 2.4 ignores wildcard exclusions in POM dependencies
Example (perhaps contrived - but easy to setup):
When a pom declares a dependency such as closure-compiler and for some reason we do not want to pull its dependencies in we could declare this in our POM, without having to know what those dependencies are:
We expect to only find the current project artifact and the closure-compiler JAR in our directory assembly. However the assembly plugin ignores our POM directive and includes the closure-compilers dependencies anyway!
Steps to reproduce are:
Notice that the excluded jars are included in the assembly
I would expect to only see the following JARs.