commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Dunne (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VALIDATOR-373) Maven Shade plugin issuing depencency conflict for commons-beanutils and commons-collections
Date Mon, 17 Aug 2015 10:57:46 GMT
David Dunne created VALIDATOR-373:
-------------------------------------

             Summary: Maven Shade plugin issuing depencency conflict for commons-beanutils
and commons-collections 
                 Key: VALIDATOR-373
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-373
             Project: Commons Validator
          Issue Type: Bug
    Affects Versions: 1.4.1 Release
            Reporter: David Dunne
            Priority: Minor


After running mvn clean package we get the warning

[WARNING] commons-beanutils-1.8.3.jar, commons-collections-3.2.1.jar define 10 overlappping
classes:
[WARNING] - org.apache.commons.collections.FastHashMap$EntrySet
[WARNING] - org.apache.commons.collections.FastHashMap$KeySet
[WARNING] - org.apache.commons.collections.FastHashMap$CollectionView$CollectionViewIterator
[WARNING] - org.apache.commons.collections.ArrayStack
[WARNING] - org.apache.commons.collections.FastHashMap$Values
[WARNING] - org.apache.commons.collections.FastHashMap$CollectionView
[WARNING] - org.apache.commons.collections.FastHashMap$1
[WARNING] - org.apache.commons.collections.Buffer
[WARNING] - org.apache.commons.collections.FastHashMap
[WARNING] - org.apache.commons.collections.BufferUnderflowException

this seems to be related to this issue:
http://stackoverflow.com/questions/14402745/duplicate-classes-in-commons-collections-and-commons-beanutils

A workaround is to add an exclude but this should be fixed

<exclusions>
  <exclusion>
   <artifactId>commons-collections</artifactId>
   <groupId>commons-collections</groupId>
  </exclusion>
 </exclusions>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message