Maven Project Build Lifecycle Mapping Problems
I installed java 1.7, Eclipse 4.4.1, and Spoofax 1.3.
I created the default project and, right away, the project has a bunch of errors.Two of the errors were
* Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-compiler-plugin:0.20.0:compile (execution: default-compile, phase: compile)
* Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-plugin:0.20.0:validate-version (execution: default-validate-version, phase: validate)
both at pom.xml at line 13I executed the quick fixes
* Permanently mark goal validate-version in pom.xml as ignored in eclipse build.
* Permanently mark goal compile in pom.xml as ignored in eclipse build.This made the errors go away.
Asked by Philip Miess on 6 December 2014 at 22:46
Was this the correct way to deal with these errors?
1 Answer
If you are developing your own language, you can safely ignore these errors. If you are developing Spoofax itself, you should follow the guide at https://github.com/metaborg/doc/blob/master/releng/devenv-spoofax.md, which installs M2E connectors that add the required lifecycle mappings. Maybe we should ignore these goals by default, so that language developers do not run into these errors.
Answered by Gabriƫl Konat on 8 December 2014 at 14:20