[ODLPARENT-156] xtend-maven-plugin " signer information does not match signer information of other classes in the same package" Created: 03/Jul/18 Updated: 24/Sep/18 Resolved: 24/Sep/18 |
|
| Status: | Resolved |
| Project: | odlparent |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.3 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Michael Vorburger | Assignee: | Stephen Kitt |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
[WARNING] Error injecting: org.eclipse.xtend.maven.XtendCompile com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error injecting constructor, com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package at org.eclipse.xtend.maven.XtendCompile.<init>(Unknown Source) while locating org.eclipse.xtend.maven.XtendCompile 1 error at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1025) at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1051) at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48) at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:81) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:53) at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:65) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:133) at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68) at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:63) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:45) at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1092) at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012) at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162) at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81) at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51) at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263) at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:519) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:121) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute (MapMaker.java:553) at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute (MapMaker.java:419) at com.google.inject.internal.util.$CustomConcurrentHashMap$ComputingImpl.get (CustomConcurrentHashMap.java:2041) at com.google.inject.internal.FailableCache.get (FailableCache.java:50) at com.google.inject.internal.ConstructorInjectorStore.get (ConstructorInjectorStore.java:49) at com.google.inject.internal.ConstructorBindingImpl.initialize (ConstructorBindingImpl.java:125) at com.google.inject.internal.InjectorImpl.initializeJitBinding (InjectorImpl.java:521) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding (InjectorImpl.java:847) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive (InjectorImpl.java:772) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding (InjectorImpl.java:256) at com.google.inject.internal.InjectorImpl.getBindingOrThrow (InjectorImpl.java:205) at com.google.inject.internal.InjectorImpl.getInternalFactory (InjectorImpl.java:853) at com.google.inject.internal.FactoryProxy.notify (FactoryProxy.java:46) at com.google.inject.internal.ProcessedBindingData.runCreationListeners (ProcessedBindingData.java:50) at com.google.inject.internal.InternalInjectorCreator.initializeStatically (InternalInjectorCreator.java:133) at com.google.inject.internal.InternalInjectorCreator.build (InternalInjectorCreator.java:106) at com.google.inject.Guice.createInjector (Guice.java:95) at com.google.inject.Guice.createInjector (Guice.java:72) at com.google.inject.Guice.createInjector (Guice.java:62) at org.eclipse.xtext.xbase.XtypeStandaloneSetupGenerated.createInjector (XtypeStandaloneSetupGenerated.java:44) at org.eclipse.xtext.xbase.XtypeStandaloneSetupGenerated.createInjectorAndDoEMFRegistration (XtypeStandaloneSetupGenerated.java:38) at org.eclipse.xtext.xbase.XtypeStandaloneSetup.createInjectorAndDoEMFRegistration (XtypeStandaloneSetup.java:31) at org.eclipse.xtext.xbase.XtypeStandaloneSetup.doSetup (XtypeStandaloneSetup.java:24) at org.eclipse.xtext.xbase.XbaseStandaloneSetupGenerated.createInjectorAndDoEMFRegistration (XbaseStandaloneSetupGenerated.java:22) at org.eclipse.xtext.xbase.XbaseStandaloneSetup.createInjectorAndDoEMFRegistration (XbaseStandaloneSetup.java:29) at org.eclipse.xtext.xbase.XbaseStandaloneSetup.doSetup (XbaseStandaloneSetup.java:23) at org.eclipse.xtext.xbase.annotations.XbaseWithAnnotationsStandaloneSetupGenerated.createInjectorAndDoEMFRegistration (XbaseWithAnnotationsStandaloneSetupGenerated.java:23) at org.eclipse.xtext.xbase.annotations.XbaseWithAnnotationsStandaloneSetup.createInjectorAndDoEMFRegistration (XbaseWithAnnotationsStandaloneSetup.java:28) at org.eclipse.xtext.xbase.annotations.XbaseWithAnnotationsStandaloneSetup.doSetup (XbaseWithAnnotationsStandaloneSetup.java:22) at org.eclipse.xtend.maven.XtendMavenStandaloneSetup.createInjectorAndDoEMFRegistration (XtendMavenStandaloneSetup.java:19) at org.eclipse.xtend.maven.AbstractXtendMojo.injectMembers (AbstractXtendMojo.java:44) at org.eclipse.xtend.maven.AbstractXtendMojo.<init> (AbstractXtendMojo.java:31) at org.eclipse.xtend.maven.AbstractXtendCompilerMojo.<init> (AbstractXtendCompilerMojo.java:43) at org.eclipse.xtend.maven.XtendCompile.<init> (XtendCompile.java:27) at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance (Constructor.java:423) at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance (DefaultConstructionProxyFactory.java:86) at com.google.inject.internal.ConstructorInjector.provision (ConstructorInjector.java:105) at com.google.inject.internal.ConstructorInjector.access$000 (ConstructorInjector.java:32) at com.google.inject.internal.ConstructorInjector$1.call (ConstructorInjector.java:89) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:133) at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68) at com.google.inject.internal.ConstructorInjector.construct (ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get (ConstructorBindingImpl.java:267) at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103) at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012) at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1051) at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48) at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:81) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:53) at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:65) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:133) at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68) at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:63) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:45) at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016) at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1092) at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012) at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162) at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81) at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51) at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263) at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:519) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:121) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: com.google.inject.internal.util.$ComputationException: java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute (...) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:51 min [INFO] Finished at: 2018-07-03T15:21:26+02:00 [INFO] Final Memory: 72M/601M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile (default) on project aclservice-impl: Execution default of goal org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile failed: Unable to load the mojo 'compile' (or one of its required components) from the plugin 'org.eclipse.xtend:xtend-maven-plugin:2.14.0': com.google.inject.ProvisionException: Unable to provision, see the following errors: [ERROR] [ERROR] 1) Error injecting constructor, com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package [ERROR] at org.eclipse.xtend.maven.XtendCompile.<init>(Unknown Source) [ERROR] while locating org.eclipse.xtend.maven.XtendCompile [ERROR] at ClassRealm[plugin>org.eclipse.xtend:xtend-maven-plugin:2.14.0, parent: sun.misc.Launcher$AppClassLoader@70dea4e] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule) [ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile) [ERROR] [ERROR] 1 error [ERROR] role: org.apache.maven.plugin.Mojo [ERROR] roleHint: org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException This is being fixed under https://github.com/eclipse/xtext/issues/1231 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=536445 in (eclipse.org/tend) upstream. UPDATE: It depends on the current content of your ~/.m2/repository, an mvn -U and/or rm -rf may help. I'm having a closer look. |
| Comments |
| Comment by Michael Vorburger [ 03/Jul/18 ] |
|
FTR: It's seems to also be related to what you already have in your local ~/.m2/repository (and thus likely also what we cached on https://nexus.opendaylight.org ?); some of the comments on eclipse/xtext/issues/1231 mention having to use mvn -U, which sometimes seem to help and sometimes cause failures when it worked before. OMG what a big mess all this is! Confirming above is that I just came up a fix, which once I've used it once locally, makes the build pass again even after I remove it again... I'm therefore doing more testing of that fixing incl. rm ~/.m2/repository/... now. (The idea of the fix is specify also equinox.registry not just equinox.common, and fix both to 3.8.0 instead of 3.10.0; as registry was subsequently removed; BTW fuck version ranges!) |
| Comment by Michael Vorburger [ 03/Jul/18 ] |
|
> The idea of the fix is specify also equinox.registry not just equinox.common Here is the output of a mvn -X clean package (in netvirt/aclservice/impl, as is), illustrating how somehow for us it picked up equinox.common:jar:3.10.0 and equinox.registry:jar:3.7.0 : [DEBUG] org.eclipse.xtend:xtend-maven-plugin:jar:2.14.0: [DEBUG] org.eclipse.platform:org.eclipse.equinox.common:jar:3.10.0:runtime [DEBUG] com.google.guava:guava:jar:22.0-rc1-android:compile [DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9:compile [DEBUG] com.google.errorprone:error_prone_annotations:jar:2.0.18:compile [DEBUG] com.google.j2objc:j2objc-annotations:jar:1.1:compile [DEBUG] org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile [DEBUG] org.eclipse.xtend:org.eclipse.xtend.core:jar:2.14.0:compile [DEBUG] org.eclipse.jdt:org.eclipse.jdt.core:jar:3.13.102:compile [DEBUG] org.eclipse.platform:org.eclipse.core.resources:jar:3.12.0:compile [DEBUG] org.eclipse.platform:org.eclipse.core.expressions:jar:3.6.0:compile [DEBUG] org.eclipse.platform:org.eclipse.core.runtime:jar:3.13.0:compile [DEBUG] org.eclipse.platform:org.eclipse.core.jobs:jar:3.9.3:compile [DEBUG] org.eclipse.platform:org.eclipse.equinox.registry:jar:3.7.0:compile [DEBUG] org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.7.0:compile [DEBUG] org.eclipse.platform:org.eclipse.core.contenttype:jar:3.6.0:compile [DEBUG] org.eclipse.platform:org.eclipse.equinox.app:jar:1.3.400:compile [DEBUG] org.eclipse.platform:org.eclipse.core.filesystem:jar:1.7.0:compile [DEBUG] org.eclipse.platform:org.eclipse.text:jar:3.6.100:compile [DEBUG] org.eclipse.platform:org.eclipse.core.commands:jar:3.9.0:compile [DEBUG] org.eclipse.jdt:org.eclipse.jdt.compiler.apt:jar:1.3.110:compile [DEBUG] org.eclipse.jdt:org.eclipse.jdt.compiler.tool:jar:1.2.101:compile [DEBUG] org.eclipse.xtext:org.eclipse.xtext.xbase:jar:2.14.0:compile [DEBUG] org.eclipse.xtext:org.eclipse.xtext.common.types:jar:2.14.0:compile [DEBUG] org.eclipse.xtext:org.eclipse.xtext.xbase.lib:jar:2.14.0:compile [DEBUG] org.eclipse.xtext:org.eclipse.xtext.util:jar:2.14.0:compile [DEBUG] org.eclipse.xtext:org.eclipse.xtext.smap:jar:2.14.0:compile [DEBUG] org.eclipse.xtext:org.eclipse.xtext:jar:2.14.0:compile [DEBUG] org.eclipse.platform:org.eclipse.osgi:jar:3.11.2:compile [DEBUG] org.eclipse.xtend:org.eclipse.xtend.lib:jar:2.14.0:compile [DEBUG] org.eclipse.xtend:org.eclipse.xtend.lib.macro:jar:2.14.0:compile [DEBUG] org.eclipse.emf:org.eclipse.emf.common:jar:2.12.0:compile [DEBUG] org.eclipse.emf:org.eclipse.emf.ecore:jar:2.12.0:compile [DEBUG] com.google.inject:guice:jar:3.0:compile [DEBUG] javax.inject:javax.inject:jar:1:compile [DEBUG] aopalliance:aopalliance:jar:1.0:compile [DEBUG] log4j:log4j:jar:1.2.16:compile [DEBUG] org.ow2.asm:asm-commons:jar:6.1.1:compile [DEBUG] org.ow2.asm:asm:jar:6.1.1:compile [DEBUG] org.ow2.asm:asm-tree:jar:6.1.1:compile [DEBUG] org.ow2.asm:asm-analysis:jar:6.1.1:compile [DEBUG] org.apache.maven:maven-core:jar:3.2.5:compile [DEBUG] org.apache.maven:maven-model:jar:3.2.5:compile [DEBUG] org.apache.maven:maven-settings:jar:3.2.5:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.2.5:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.2.5:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.2.5:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:3.2.5:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.2.5:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.2.5:compile [DEBUG] org.eclipse.aether:aether-spi:jar:1.0.0.v20140518:compile [DEBUG] org.eclipse.aether:aether-impl:jar:1.0.0.v20140518:compile [DEBUG] org.eclipse.aether:aether-api:jar:1.0.0.v20140518:compile [DEBUG] org.eclipse.aether:aether-util:jar:1.0.0.v20140518:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0.M1:compile [DEBUG] javax.enterprise:cdi-api:jar:1.0:compile [DEBUG] javax.annotation:jsr250-api:jar:1.0:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0.M1:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.2.3:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.21:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.20:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.5.2:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.eclipse.emf:org.eclipse.emf.ecore.xmi:jar:2.12.0:runtime [DEBUG] org.antlr:antlr-runtime:jar:3.2:runtime [DEBUG] org.eclipse.emf:org.eclipse.emf.codegen:jar:2.11.0-v20150806-0404:runtime [DEBUG] Created new class realm plugin>org.eclipse.xtend:xtend-maven-plugin:2.14.0 [DEBUG] Importing foreign packages into class realm plugin>org.eclipse.xtend:xtend-maven-plugin:2.14.0 [DEBUG] Imported: < project>org.opendaylight.netvirt:aclservice-impl:0.7.0-SNAPSHOT [DEBUG] Populating class realm plugin>org.eclipse.xtend:xtend-maven-plugin:2.14.0 [DEBUG] Included: org.eclipse.xtend:xtend-maven-plugin:jar:2.14.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.equinox.common:jar:3.10.0 [DEBUG] Included: com.google.guava:guava:jar:22.0-rc1-android [DEBUG] Included: com.google.code.findbugs:jsr305:jar:1.3.9 [DEBUG] Included: com.google.errorprone:error_prone_annotations:jar:2.0.18 [DEBUG] Included: com.google.j2objc:j2objc-annotations:jar:1.1 [DEBUG] Included: org.codehaus.mojo:animal-sniffer-annotations:jar:1.14 [DEBUG] Included: org.eclipse.xtend:org.eclipse.xtend.core:jar:2.14.0 [DEBUG] Included: org.eclipse.jdt:org.eclipse.jdt.core:jar:3.13.102 [DEBUG] Included: org.eclipse.platform:org.eclipse.core.resources:jar:3.12.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.core.expressions:jar:3.6.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.core.runtime:jar:3.13.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.core.jobs:jar:3.9.3 [DEBUG] Included: org.eclipse.platform:org.eclipse.equinox.registry:jar:3.7.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.equinox.preferences:jar:3.7.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.core.contenttype:jar:3.6.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.equinox.app:jar:1.3.400 [DEBUG] Included: org.eclipse.platform:org.eclipse.core.filesystem:jar:1.7.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.text:jar:3.6.100 [DEBUG] Included: org.eclipse.platform:org.eclipse.core.commands:jar:3.9.0 [DEBUG] Included: org.eclipse.jdt:org.eclipse.jdt.compiler.apt:jar:1.3.110 [DEBUG] Included: org.eclipse.jdt:org.eclipse.jdt.compiler.tool:jar:1.2.101 [DEBUG] Included: org.eclipse.xtext:org.eclipse.xtext.xbase:jar:2.14.0 [DEBUG] Included: org.eclipse.xtext:org.eclipse.xtext.common.types:jar:2.14.0 [DEBUG] Included: org.eclipse.xtext:org.eclipse.xtext.xbase.lib:jar:2.14.0 [DEBUG] Included: org.eclipse.xtext:org.eclipse.xtext.util:jar:2.14.0 [DEBUG] Included: org.eclipse.xtext:org.eclipse.xtext.smap:jar:2.14.0 [DEBUG] Included: org.eclipse.xtext:org.eclipse.xtext:jar:2.14.0 [DEBUG] Included: org.eclipse.platform:org.eclipse.osgi:jar:3.11.2 [DEBUG] Included: org.eclipse.xtend:org.eclipse.xtend.lib:jar:2.14.0 [DEBUG] Included: org.eclipse.xtend:org.eclipse.xtend.lib.macro:jar:2.14.0 [DEBUG] Included: org.eclipse.emf:org.eclipse.emf.common:jar:2.12.0 [DEBUG] Included: org.eclipse.emf:org.eclipse.emf.ecore:jar:2.12.0 [DEBUG] Included: com.google.inject:guice:jar:3.0 [DEBUG] Included: aopalliance:aopalliance:jar:1.0 [DEBUG] Included: log4j:log4j:jar:1.2.16 [DEBUG] Included: org.ow2.asm:asm-commons:jar:6.1.1 [DEBUG] Included: org.ow2.asm:asm:jar:6.1.1 [DEBUG] Included: org.ow2.asm:asm-tree:jar:6.1.1 [DEBUG] Included: org.ow2.asm:asm-analysis:jar:6.1.1 [DEBUG] Included: org.eclipse.aether:aether-util:jar:1.0.0.v20140518 [DEBUG] Included: javax.enterprise:cdi-api:jar:1.0 [DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0.M1 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.2.3 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.21 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.20 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.eclipse.emf:org.eclipse.emf.ecore.xmi:jar:2.12.0 [DEBUG] Included: org.antlr:antlr-runtime:jar:3.2 [DEBUG] Included: org.eclipse.emf:org.eclipse.emf.codegen:jar:2.11.0-v20150806-0404 |
| Comment by Michael Vorburger [ 03/Jul/18 ] |
|
> came up a fix (...) I'm therefore doing more testing of that that initially works, but after a rm -rf ~/.m2/repository/org/eclipse/ you're back to square one and hit it again
|
| Comment by Michael Vorburger [ 03/Jul/18 ] |
|
https://git.opendaylight.org/gerrit/#/c/73709/ does the trick - by using the second workaround proposed in https://github.com/eclipse/xtext/issues/1231: use jdt.core 3.13.102 INSTEAD of fidgeting wit equinox.common (and equinox.registry). BTW: Using latest jdt.core 3.14.0 instead of 3.13.102 leads to https://github.com/eclipse/xtext-xtend/issues/493. I guess we should apply this everywhere now where topic:xtend-eclipse-equinox did, as well as in odlparent. |
| Comment by Michael Vorburger [ 03/Jul/18 ] |
|
Based on this discussion, updated description to clarify that it depends on the current content of your ~/.m2/repository, an mvn -U and/or rm -rf may help. > apply this everywhere now where topic:xtend-eclipse-equinox did, as well as in odlparent. Let's do this if needed; closing this issue as Done (with c/73709) for now. |
| Comment by Michael Vorburger [ 03/Jul/18 ] |
|
https://lists.opendaylight.org/pipermail/netvirt-dev/2018-July/007189.html says that even c/73709 doesn't help once you have a "bad" ~/.m2 and "rm -rf ~/.m2/repository/org/eclipse" is the only reliable solution. So this was probably a confusion on my part in local testing. |
| Comment by Stephen Kitt [ 04/Jul/18 ] |
|
This still doesn’t guarantee that the build will pick a valid set of dependencies: [DEBUG] Populating class realm plugin>org.eclipse.xtend:xtend-maven-plugin:2.13.0 which fails. |
| Comment by Michael Vorburger [ 04/Jul/18 ] |
|
Duh! |
| Comment by Stephen Kitt [ 26/Jul/18 ] |
|
The dependencies in 3.1.3 are incorrect, we need to revert to those in 3.1.2. |