Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Issues with ITs

Hi,

 

I submitted a patch (https://git.eclipse.org/r/#/c/35705/) and made the mistake to not run the it tests locally before pushing – SORRY for that.
Now some tests are failing (locally and on hudon) and I do not know why. I did not introduced new dependency in any pom or manifest file but get this error: 
 
 
(at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)

        ... 20 more

Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.eclipse.tycho.core.maven.InterpolatorFactory.createInterpolator(Lorg/apache/maven/execution/MavenSession;Lorg/apache/maven/project/MavenProject;)Lorg/codehaus/plexus/interpolation/Interpolator;" the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) of the current class, org/eclipse/tycho/plugins/p2/publisher/PublishProductMojo, and the class loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm) for resolved class, org/eclipse/tycho/core/maven/InterpolatorFactory, have different Class objects for the type .createInterpolator(Lorg/apache/maven/execution/MavenSession;Lorg/apache/maven/project/MavenProject;)Lorg/codehaus/plexus/interpolation/Interpolator; used in the signature

        at org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo.publishContent(PublishProductMojo.java:93)

        at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:37)

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)

        ... 20 more

 

What I did is i created a new class within tycho-core which is using the org.codehaus.plexus.interpolation.Interpolator but as I said, I did not had to add a new dependency to the pom.xml file. It looks that “only” the tests are failing. If I run tycho with different plugin/feature/product locally, everything works fine.

 

Does anyone have a hint for me?

Thanks!

Martin


Back to the top