Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Neon M3 maven problem(Maven Project Build Lifecycle Mapping Problem)
Neon M3 maven problem [message #1714612] Fri, 13 November 2015 21:20 Go to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Just downloaded and installed Scout Neon m3. Created an empty project and after this was created I ended up with 21 errors (many duplicates). I am not very familiar with maven. Below the errors I get.

Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (execution: default-compile, phase: compile) pom.xml /org.eclipse.scout.myapp.client line 6 Maven Project Build Lifecycle Mapping Problem


Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (execution: default-testCompile, phase: test-compile) pom.xml /org.eclipse.scout.myapp.server line 6 Maven Project Build Lifecycle Mapping Problem

Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.9.1:add-resource (execution: add-resource, phase: generate-resources) pom.xml /org.eclipse.scout.myapp.server.app.dev line 6 Maven Project Build Lifecycle Mapping Problem


Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.9.1:add-source (execution: add-source, phase: generate-sources) pom.xml /org.eclipse.scout.myapp.shared line 6 Maven Project Build Lifecycle Mapping Problem




Re: Neon M3 maven problem [message #1714632 is a reply to message #1714612] Sat, 14 November 2015 10:18 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Those are problems from M2E (maven integration in Eclipse).

See What are m2e connectors?:
http://stackoverflow.com/questions/13422744/what-are-m2e-connectors

You can hit CTRL + 1 on those error and then select "Discover new M2E Connectors".

index.php/fa/23943/0/

Depending on the error you select, you get an other list of available connectors.

------------------------

You can also open this dialog from the preferences,
I got this input from Matthias:

Quote:
(1) open preferences window
(2) search for maven > discovery, then press the button "open catalog"
(3) add:
* buildhelper (m2e connector for build-helper-maven-plugin)
* m2e connector for the eclipse jdt compiler


------------------------

I you prefer selecting update sites ("install new software"). Here is the list I got from the IDE we have distributed during the Scout User Group Meeting:

feature: org.sonatype.m2e.buildhelper.feature.feature.group
p2 update site: https://repository.takari.io/content/sites/m2e.extras/m2eclipse-buildhelper/0.15.0/N/0.15.0.201405280027/

feature: org.jboss.tools.m2e.jdt.feature.feature.group
p2 update site: http://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-jdt-compiler/

feature: com.ianbrandt.tools.m2e.mdp.feature.feature.group
p2 update site: http://ianbrandt.github.io/m2e-maven-dependency-plugin/

feature: com.coderplus.m2e.jaxws.feature.group
p2 update site: http://coderplus.com/m2e-update-sites/jaxws-maven-plugin/

------------------------

This is something we plan to improve in the next versions of the "Eclipse IDE for Scout Developers ".
Re: Neon M3 maven problem [message #1714667 is a reply to message #1714632] Sun, 15 November 2015 11:03 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
The dialog from the preferences option worked for me. Thanks.
Re: Neon M3 maven problem [message #1715793 is a reply to message #1714667] Thu, 26 November 2015 10:18 Go to previous messageGo to next message
Marco Dörfliger is currently offline Marco DörfligerFriend
Messages: 46
Registered: January 2015
Member
Yes! This was the missing step in getting it to work for me also.

Very impressive initial impression.
Re: Neon M3 maven problem [message #1716114 is a reply to message #1715793] Tue, 01 December 2015 11:53 Go to previous message
Matthias Zimmermann is currently offline Matthias ZimmermannFriend
Messages: 208
Registered: June 2015
Senior Member
The Neon installation process is now compiled into the Scout Wiki
Previous Topic:Build problem after moving to Git
Next Topic:Cross-Platform Compiling
Goto Forum:
  


Current Time: Wed Apr 24 23:32:27 GMT 2024

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

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

Back to the top