<plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                               
<artifactId>maven-eclipse-plugin</artifactId>
                                <version>2.8</version>
                                <configuration>
                                        <additionalBuildcommands>
                                               
<buildcommand>com.google.gdt.eclipse.core.webAppProjectValidator
                                                </buildcommand>
                                               
<buildcommand>com.google.gwt.eclipse.core.gwtProjectValidator
                                                </buildcommand>
                                        </additionalBuildcommands>
                                        <additionalProjectnatures>
                                               
<projectnature>com.google.gwt.eclipse.core.gwtNature
                                                </projectnature>
                                               
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature
                                                </projectnature>
                                               
<projectnature>org.eclipse.wst.common.project.facet.core.nature
                                                </projectnature>
                                               
<projectnature>org.eclipse.wst.jsdt.core.jsNature
                                                </projectnature>
                                        </additionalProjectnatures>

                                        <classpathContainers>
                                               
<classpathContainer>com.google.gwt.eclipse.core.GWT_CONTAINER
                                                </classpathContainer>
                                               
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER
                                                </classpathContainer>
                                        </classpathContainers>

                                </configuration>
                        </plugin>

I've only configured my pom as shown above and build with mvn
eclipse:eclipse from console.

I've manually located nothing on my classpath. How this exactly internal
works, I don't know, but this works.

--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-extend-GWT-Module-to-Dynamic-Web-Module-with-Maven-tp4365106p4370603.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to