What does the wtpversion value mean in the Eclipse plugin?

using maven, what does the wtpversion value in the Eclipse plugin mean?

+8
eclipse maven maven-2
source share
2 answers

wtp adds web application support for eclipse. If you want to develop Maven-based web applications using Eclipse, you must use Eclipse m2eclipse .

As for wtpversions, this link has a display of wtpversion and eclipse versions.

+10
source share

This is the abbreviation Eclipse W eb T ools P roject and you can use in maven> pom.xml under the <build> :

 <!-- Eclipse project --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <version>2.9</version> <configuration> <!-- Always download and attach dependencies source code --> <downloadSources>true</downloadSources> <downloadJavadocs>false</downloadJavadocs> <!-- Avoid type mvn eclipse:eclipse -Dwtpversion=2.0 --> <wtpversion>2.0</wtpversion> </configuration> </plugin> 

From: How to create a web application project with Maven

0
source share

All Articles