using maven, what does the wtpversion value in the Eclipse plugin mean?
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.
This is the abbreviation Eclipse W eb T ools P roject and you can use in maven> pom.xml under the <build> :
W
T
P
<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