assembly doesn't honor dependencyManagement

2007-09-26 Thread nicolas de loof
Hello, My pom has a dependencyManagement set to configurre commons-collection dependency to version 3.2. My eclipse classpath has the expected Jar, my build works fine. When I use assembly to create a jar-with-dependencies I get commons-collections-2.0 unpacked. I have 2 dependencies that both

Re: assembly doesn't honor dependencyManagement

2007-09-26 Thread Jim Sellers
Exclude the commons-collection version that you don't want in your dependency declaration. http://maven.apache.org/pom.html#Exclusions HTH Jim On 9/26/07, nicolas de loof [EMAIL PROTECTED] wrote: Hello, My pom has a dependencyManagement set to configurre commons-collection dependency to

Re: assembly doesn't honor dependencyManagement

2007-09-26 Thread nicolas de loof
There is many way to fix this, including using exclusions or simply declaring a new dependdency with expected version. I just want to know if I should log this in Jira as dependencyManagement is expected to avoid such version conflitcs. Nico. 2007/9/26, Jim Sellers [EMAIL PROTECTED]: Exclude