What version of Eclipse wtp should i use for maven?

I get this error when I try to run the maven target - mvn eclipse: eclipse -Dwtpversion = 3.3.1

[ERROR] Failed to fulfill the goal org.apache.maven.plugins: maven-eclipse-plugin: 2.8: eclipse (default-cli) on the project website: Unsupported version of WTP: 3.3.1, This plugin currently only supports the following versions: 1.0 1.5 2.0 R7 non e. โ†’ [Help 1] [ERROR]

Will version 2.0 be used? But shouldn't the goal be successful?

<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <wtpmanifest>true</wtpmanifest> <wtpapplicationxml>true</wtpapplicationxml> <wtpversion>2.0</wtpversion> </configuration> 

Whether the image below is confirmed. Am I using wtp version 3.3.1? enter image description here

+3
source share
1 answer

you can use the latest supported version of the wtp plugin, open the project in eclipse, and in the โ€œproblemsโ€ view, right-click the warning โ€œwtp project version to oldโ€ and select โ€œquickfixโ€.

As far as I remember, wtp support has been removed from the plugin since the maven eclipse m2eclipse plugin has become more advanced. Any reasons why you are not using this?

+1
source

All Articles