[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[m2e-users] maven-eclipse-plugin additionalProjectnatures
|
in my pom.xml, I use maven-eclipspe-plugin as follow:
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.7</version> <!-- Note 2.8 does not work with AspectJ aspect path -->
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
<wtpversion>2.0</wtpversion>
<additionalBuildcommands>
<buildCommand>
<name>com.google.gwt.eclipse.core.gwtProjectValidator</name>
</buildCommand>
</additionalBuildcommands>
<additionalProjectnatures>
<projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature>
</additionalProjectnatures>
</configuration>
</plugin>
I
expect this willl cause eclipse recognize this project as GWT project
and so when right click the project, will show "run as web application",
but the result is not, as shown in attached figure (noRunAsWebApp.png).
How to make eclipse show the "run as web application" submenu?
Attachment:
noRunAsWebApp.png
Description: PNG image