Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Build Problems with Xtend Maven Plugin (signer information)
Build Problems with Xtend Maven Plugin (signer information) [message #1795154] Mon, 17 September 2018 06:52 Go to next message
Eclipse UserFriend
We currently run into problems with the Xtend Maven Plugin. On Friday (2018-09-14) our build was able to complete successfully, while today (2018-09-17) the same build fails with the following error:

[ERROR] Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.7.3:compile (default) on project XXX: Execution default of goal org.eclipse.xtend:xtend-maven-plugin:2.7.3:compile failed: Unable to load the mojo 'compile' (or one of its required components) from the plugin 'org.eclipse.xtend:xtend-maven-plugin:2.7.3': 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: com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: 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>(XtendCompile.java:28)
[ERROR] while locating org.eclipse.xtend.maven.XtendCompile
[ERROR] at ClassRealm[plugin>org.eclipse.xtend:xtend-maven-plugin:2.7.3, parent: sun.misc.Launcher$AppClassLoader@5c647e05] (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.7.3:compile)


Is there a workaround for this problem or will it be fixed soon? If you prefer I could also open a bug report.
Re: Build Problems with Xtend Maven Plugin (signer information) [message #1795155 is a reply to message #1795154] Mon, 17 September 2018 06:57 Go to previous messageGo to next message
Eclipse UserFriend
https://github.com/eclipse/xtext/issues/1231

Re: Build Problems with Xtend Maven Plugin (signer information) [message #1795156 is a reply to message #1795155] Mon, 17 September 2018 07:03 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the information!
Re: Build Problems with Xtend Maven Plugin (signer information) [message #1800180 is a reply to message #1795154] Thu, 20 December 2018 19:55 Go to previous messageGo to next message
Eclipse UserFriend
We are using Xtext 2.9.2 and saw this issue in Sept and fixed it (using https://github.com/eclipse/xtext/issues/1231#issuecomment-421907947).

It has suddenly appeared again on our build machines (I cannot repro locally even after clearing my maven repo).

Any ideas or advice is most appreciated

16:21:29 [INFO] --- xtend-maven-plugin:2.9.2:compile (compile) @ com.datastax.studio.ide.parent ---
16:22:17 [WARNING] Error injecting: org.eclipse.xtend.maven.XtendCompile
16:22:17 com.google.inject.ProvisionException: Unable to provision, see the following errors:
16:22:17
16:22:17 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
16:22:17   at org.eclipse.xtend.maven.XtendCompile.<init>(Unknown Source)
16:22:17   while locating org.eclipse.xtend.maven.XtendCompile
16:22:17
16:22:17 1 error


Attached is maven dependency:tree output

[Updated on: Fri, 21 December 2018 01:06] by Moderator

Re: Build Problems with Xtend Maven Plugin (signer information) [message #1800186 is a reply to message #1800180] Fri, 21 December 2018 01:27 Go to previous messageGo to next message
Eclipse UserFriend
Which exact workaround do you use
Did you pin core.runtime and equinox.comon?
Did you pin jdt?

[Updated on: Fri, 21 December 2018 01:43] by Moderator

Re: Build Problems with Xtend Maven Plugin (signer information) [message #1800242 is a reply to message #1800180] Fri, 21 December 2018 13:18 Go to previous messageGo to next message
Eclipse UserFriend
We used the workaround in this comment:
https://github.com/eclipse/xtext/issues/1231#issuecomment-421907947
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.common</artifactId>
      <version>${emf.version}</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.ecore</artifactId>
      <version>${emf.version}</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.ecore.xmi</artifactId>
      <version>${emf.version}</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.codegen</artifactId>
      <version>${emf.version}</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.codegen.ecore</artifactId>
      <version>${emf.version}</version>
    </dependency>


Is more needed? We need to also pin core.runtime and equinox.comon, and pin jdt?
Do you mean the workaround found in this comment?
https://github.com/eclipse/xtext/issues/1231#issuecomment-401125569

Can we use this instead?
<groupId>org.eclipse.xtend</groupId>
					<artifactId>xtend-maven-plugin</artifactId>
					<version>${xtextVersion}</version>
					<dependencies>
						<dependency>
						    <groupId>org.eclipse.platform</groupId>
						    <artifactId>org.eclipse.equinox.common</artifactId>
						    <version>3.10.0</version>
						</dependency>
					</dependencies>


Re: Build Problems with Xtend Maven Plugin (signer information) [message #1800243 is a reply to message #1800242] Fri, 21 December 2018 13:45 Go to previous messageGo to next message
Eclipse UserFriend
hi, if you want to be complete pin
- emf as you did
- core.runtime and equinox.common
- jdt.core/compiler.tool/compiler.apt

[Updated on: Fri, 21 December 2018 13:46] by Moderator

Re: Build Problems with Xtend Maven Plugin (signer information) [message #1800247 is a reply to message #1800243] Fri, 21 December 2018 18:59 Go to previous message
Eclipse UserFriend
I have followed the workaround in
https://github.com/eclipse/xtext/issues/1373#issuecomment-449001543

And this seems to solve the issue. Thank you Christian! I'm glad to have this resolved quickly - Happy Holidays!
Previous Topic:How to add information about relations between entities to the index
Next Topic:Importing a xtext file to another xtext file in the same package
Goto Forum:
  


Current Time: Wed Jun 18 02:51:18 EDT 2025

Powered by FUDForum. Page generated in 0.11373 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top