Main /
Lingua-Franca And Eclipse TychoEclipse Tycho uses Maven to build things like Lingua-Franca from the command line. Resources
ProblemsUpdating to 2020-03 causes a failureAfter updating pom.xml so that the 2020-03 repository is used, mvn clean install fails with: [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (mwe2Launcher) on project org.icyphy.linguafranca: Execution mwe2Launcher of goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.4.0 or one of its dependencies could not be resolved: Failed to collect dependencies for org.codehaus.mojo:exec-maven-plugin:jar:1.4.0 (): Could not resolve version conflict among [ org.codehaus.mojo:exec-maven-plugin:jar:1.4.0 -> org.eclipse.emf:org.eclipse.emf.mwe2.launch:jar:2.10.0 -> org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:[2.10.0,2.10.0], org.codehaus.mojo:exec-maven-plugin:jar:1.4.0 -> org.eclipse.emf:org.eclipse.emf.mwe2.launch:jar:2.10.0 -> org.eclipse.emf:org.eclipse.emf.mwe2.language:jar:[2.10.0,2.10.0] -> org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:[2.10.0,2.10.0], org.codehaus.mojo:exec-maven-plugin:jar:1.4.0 -> org.eclipse.xtext:org.eclipse.xtext.xtext.generator:jar:2.21.0 ->org.eclipse.emf:org.eclipse.emf.mwe.utils:jar:1.5.2 -> org.eclipse.emf:org.eclipse.emf.mwe.core:jar:[1.5.2,1.5.2] -> org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:[2.11.2,2.11.2], org.codehaus.mojo:exec-maven-plugin:jar:1.4.0 -> org.eclipse.xtext:org.eclipse.xtext.xtext.generator:jar:2.21.0 -> org.eclipse.emf:org.eclipse.emf.mwe2.lib:jar:2.11.2 -> org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:[2.11.2,2.11.2]] -> [Help 1] ... [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :org.icyphy.linguafranca So, from the above, we can see that the problem is in org.icyphy.linguafranca. Looking at lingua-franca/xtext/org.icyphy.linguafranca/pom.xml: <dependency> <groupId>org.eclipse.emf</groupId> <artifactId>org.eclipse.emf.mwe2.launch</artifactId> <version>2.10.0</version> </dependency> Searching the net for "org.eclipse.emf.mwe2.launch" finds https://mvnrepository.com/artifact/org.eclipse.emf/org.eclipse.emf.mwe2.launch which says that the latest version is 2.11.2. See also Maven Tycho Hints which lists
Updating the version to 2.11.2 fixed the problem. |