[ 
http://jira.codehaus.org/browse/MNG-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162561#action_162561
 ] 

Benjamin Bentmann commented on MNG-4003:
----------------------------------------

>From the original POM for plexus-velocity:
{code:xml}
  <dependencies>
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>2.0</version>
    </dependency>
    ...
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.1</version>
    </dependency>
  </dependencies>
{code}
Note the duplicate dependency on commons-collection with different versions.
{noformat}
>M:\am\2.1.0-M1\bin\mvn dependency:tree
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Plexus Velocity Component
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree]
[INFO] org.codehaus.plexus:plexus-velocity:jar:1.1.8-SNAPSHOT
[INFO] +- 
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[INFO] |  +- org.codehaus.plexus:plexus-utils:jar:1.5.5:compile (version 
managed from 1.0.4)
[INFO] |  \- classworlds:classworlds:jar:1.1-alpha-2:compile
[INFO] +- commons-collections:commons-collections:jar:3.1:compile
[INFO] +- velocity:velocity:jar:1.5:compile
[INFO] |  +- commons-lang:commons-lang:jar:2.1:compile
[INFO] |  \- oro:oro:jar:2.0.8:compile
[INFO] \- junit:junit:jar:3.8.2:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Jan 26 18:16:38 CET 2009
[INFO] Final Memory: 9M/19M
[INFO] ------------------------------------------------------------------------
{noformat}
{noformat}
>M:\am\3.0\bin\mvn dependency:tree
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Plexus Velocity Component
[INFO]
[INFO] Id: org.codehaus.plexus:plexus-velocity:jar:1.1.8-SNAPSHOT
[INFO] task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree]
[INFO] org.codehaus.plexus:plexus-velocity:jar:1.1.8-SNAPSHOT
[INFO] +- junit:junit:jar:3.8.2:test
[INFO] +- velocity:velocity:jar:1.5:compile
[INFO] |  +- oro:oro:jar:2.0.8:compile
[INFO] |  \- commons-lang:commons-lang:jar:2.1:compile
[INFO] +- commons-collections:commons-collections:jar:2.0:compile
[INFO] \- 
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[INFO]    +- classworlds:classworlds:jar:1.1-alpha-2:compile
[INFO]    \- org.codehaus.plexus:plexus-utils:jar:1.5.5:compile (version 
managed from 1.0.4)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Jan 26 18:17:50 CET 2009
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------
{noformat}


> Failed Unit Test on Building Plexus Velocity Component
> ------------------------------------------------------
>
>                 Key: MNG-4003
>                 URL: http://jira.codehaus.org/browse/MNG-4003
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 3.0-alpha-2
>            Reporter: Shane Isbell
>             Fix For: 3.0-alpha-2
>
>
> -------------------------------------------------------------------------------
> Test set: org.codehaus.plexus.velocity.DefaultVelocityComponentTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.229 sec <<< 
> FAILURE!
> testBasic(org.codehaus.plexus.velocity.DefaultVelocityComponentTest)  Time 
> elapsed: 0.199 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to