mvn archetype:generate \ -DarchetypeRepository=repo1.maven.org \ -DarchetypeGroupId=org.codehaus.mojo \ -DarchetypeArtifactId=gwt-maven-plugin \ -DarchetypeVersion=2.4.0
it prompt for groupId, artifactId, version, packaging and MODULES, but the MODULES only prompt once and
after enter all therse information, I open the pom.xml and cannot
found the section
<modules>
why?
the pom.xml is attached.
I do not know where to ask about maven gwt
I follow the link
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html
and runmvn archetype:generate \ -DarchetypeRepository=repo1.maven.org \ -DarchetypeGroupId=org.codehaus.mojo \ -DarchetypeArtifactId=gwt-maven-plugin \ -DarchetypeVersion=2.4.0
it prompt for groupId, artifactId, version, packaging and MODULES, but the MODULES only prompt once and
after enter all therse information, I open the pom.xml and cannot
found the section
<modules>
why?
Great thanks for your reply.
In fact, I am very new to maven, there is many thing I still do not understand.
1) is GWT Maven Plugin = M2Eclipse + Google Eclipse plugins?
I use eclipse install new software and get the M2Eclipse from following site:
http://download.eclipse.org/technology/m2e/releases
and my eclipse already installed "Google Plugin for Eclipse", is this means I already have GWT Maven Plugin?
2) as stated in http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html
there should be ""Goals to run on project import" in eclipse windows > preferences > maven
but my eclipse has no this option!!
also, what is the setting for? I see the site remind to add "process-resources" before import project
3) when I choose
New project > maven > maven project >
use default workspace location >
catalog choose Nexus Indexer
error!!
No archetypes currently available. The archetype list will refresh when the indexes finish updating.
why this error will occur?
4) when restart eclipse, the status bar (bottom bar) always show
"Updating index centralhttp//repo1.maven.org/maven2: fetching http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.gz"
and it take a long time.
what is it doing?
4. Test the application in development mode
At this point, you should be able to compile and run the new project in GWT Development Mode. Right-click on the pom.xml in the Project Explorer and choose "Run As -> Maven Build..." and run the "gwt:run" goal:
I can run the sample from webAppCreator in development mode, what should I do now to help me understand to transfer my origin non maven gwt application to maven gwt application?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/DVkLEcqw1gMJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
<!-- Mark the project for Google Plugin for Eclipse (GPE) -->
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<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>
</plugins>
NOT_FOUND
RequestURI=/MyGwtMavenSampleApp.html
<configuration>
<!-- URL that should be automatically opened in the GWT shell (gwt:run). -->
<runTarget>DynaTableRf.html</runTarget>
<!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) -->
<compileReport>true</compileReport>
<module>com.google.gwt.sample.dynatablerf.DynaTableRf</module>
<logLevel>INFO</logLevel>
<style>${gwt.style}</style>
<copyWebapp>true</copyWebapp>
</configuration>