[Maven – Build Error] Unsupported WTP Version



Hi,

recently I was working on a project and I found a build error while I tried to execute mvn -eclipse:eclipse command to build eclipse project settings for my maven project.

the solution for the above error message is specify maven-eclipse-plugin setting in your project’s pom file.

<plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-eclipse-plugin</artifactId>
      <version>2.5</version>
      <configuration>
         <wtpversion>${supported-wtp-version}</wtpversion>
      </configuration>
</plugin>

its all done 🙂 now you will be able to create eclipse project from your maven project.

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: