Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] maven-eclipse-plugin additionalProjectnatures

maven-eclipspe-plugin is incompatible with m2e, m2e/gwt project
configuration is required to enable gwt nature (I don't know if such
configurator actually exists).

--
Regards,
Igor

On 12-09-06 6:43 AM, tong123123 wrote:
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?


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top