cedarsoft / clashinspector.com

Other
1 stars 4 forks source link

ClassCastException #23

Closed jschneider closed 10 years ago

jschneider commented 10 years ago

I run the plugin on one of my maven plugin projects (https://github.com/jschneider/com.cedarsoft.maven.instrumentation-plugin).

Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>com.cedarsoft.maven:instrumentation-plugin:0.7.3-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

-----------------------------------------------------

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    ... 19 more
Caused by: java.lang.ClassCastException: org.eclipse.aether.internal.impl.ObjectPool cannot be cast to org.eclipse.aether.internal.impl.ObjectPool
    at org.eclipse.aether.internal.impl.DataPool.(DataPool.java:69)
    at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:251)
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:317)
    at com.cedarsoft.hsrt.zkb.ourplugin.DependencyService.getDependencyTree(DependencyService.java:60)
    at com.cedarsoft.hsrt.zkb.ourplugin.DependencyMojo.execute(DependencyMojo.java:83)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
    ... 20 more
michibe commented 10 years ago

Hello Johannes, do you have the newest maven-version? We changed the project for using aether efficiently so it depends on the newest maven version 3.1.1. But so far it is not working completely perfect we have still to fix some bugs.

jschneider commented 10 years ago

Ok - seems to work with 3.1.1 ;-)

I think we should add a entry for the maven version.