Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
337 views
in Technique[技术] by (71.8m points)

java - How to preinstall Eclipse m2e configurators (Plugin execution not covered by lifecycle configuration)

When importing maven projects into Eclipse IDE fresh install, there is a pop-up question to "Setup Maven plugin connections"

If not to install there will be errors shown in pom.xml like

Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-plugin:0.20.0:validate-id (execution: default-validate-id, phase: validate)

How to install m2e configurators at any time (e.g. before when preparing Eclipse package for team, or again after interactive installation failed over network)?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can install M2Eclipse connectors at any time by going to "Window > Preferences > Maven > Discovery".

enter image description here

Then when you click "Open Catalog", you will be greeted with a pop-up that will display all available M2E connectors to install. You need to select the one you want, click "Finish" and follow the standard installation process.

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...