Skip to main content



      Home
Home » Modeling » TMF (Xtext) » BUILD Failed for 2.10.0 version of Xtext(Maven BUILD Failed for 2.10.0 version of Xtext)
BUILD Failed for 2.10.0 version of Xtext [message #1800383] Wed, 26 December 2018 05:25 Go to next message
Eclipse UserFriend
I am getting the following error when build code with maven


[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.10.0, parent: sun.misc.Launcher$AppClassLoader@18b4aac2]
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.eclipse.xtend:xtend-maven-plugin:2.10.0:compile)


POM XML Used

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<artifactId>com.abcd.ijk.flowWork.expression</artifactId>
<packaging>eclipse-plugin</packaging>
<properties>
<xtextVersion>2.10.0</xtextVersion>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<executions>
<execution>
<id>mwe2Launcher</id>
<phase>generate-sources</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher</mainClass>
<arguments>
<argument>/${project.basedir}/src/com/abcd/ijk/flowWork/GenerateExpression.mwe2</argument>
<argument>-p</argument>
<argument>rootPath=/${project.basedir}/..</argument>
</arguments>
<classpathScope>compile</classpathScope>
<includePluginDependencies>true</includePluginDependencies>

</configuration>
<dependencies>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.emf.mwe2.launch</artifactId>
<version>2.8.3</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xtext.generator</artifactId>
<version>${xtextVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase</artifactId>
<version>${xtextVersion}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>

</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>${xtextVersion}</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>${basedir}/xtend-gen</outputDirectory>
<testOutputDirectory>${basedir}/xtend-gen</testOutputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<configuration>
<filesets>
<fileset>
<directory>${basedir}/xtend-gen</directory>
<includes>
<include>**/*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
exec-maven-plugin
</artifactId>
<versionRange>
[1.2.1,)
</versionRange>
<goals>
<goal>java</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>


</project>

Re: BUILD Failed for 2.10.0 version of Xtext [message #1800384 is a reply to message #1800383] Wed, 26 December 2018 05:32 Go to previous messageGo to next message
Eclipse UserFriend
https://github.com/eclipse/xtext/issues/1373
Re: BUILD Failed for 2.10.0 version of Xtext [message #1800385 is a reply to message #1800384] Wed, 26 December 2018 05:33 Go to previous messageGo to next message
Eclipse UserFriend
https://github.com/eclipse/xtext/issues/1231
Re: BUILD Failed for 2.10.0 version of Xtext [message #1800386 is a reply to message #1800384] Wed, 26 December 2018 05:36 Go to previous messageGo to next message
Eclipse UserFriend
The fix is for 2.14 version not for 2.10.0 . Am i need to change 2.14.0 version?
Could any fix available for 2.10.0 ?
POM.xml is working fine till last week.
All of the sudden I am getting this error.
Re: BUILD Failed for 2.10.0 version of Xtext [message #1800387 is a reply to message #1800386] Wed, 26 December 2018 05:40 Go to previous message
Eclipse UserFriend
You need to pin

EMF
Jdt
Core.runtime
Equinox.common

The new jdt and EMF versions from last week widen the problem
So to be sure you need to fix everything

(You might need different versions though)
Previous Topic:[Formatter2] unable to align list line start offsets
Next Topic:multiple alternatives error during the generation of the artifacts
Goto Forum:
  


Current Time: Tue Jun 24 22:52:19 EDT 2025

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

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

Back to the top