From 1c0cf16293c3b7d295b0fce2de8ae33ce65f35dc Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 4 Jan 2012 18:22:21 +0000 Subject: Add eclipse classpath entries and fix maven eclipse: tasks --- .../src/main/resources/archetype-resources/README.txt | 6 ++++++ archetype/src/main/resources/archetype-resources/pom.xml | 16 +++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) (limited to 'archetype') diff --git a/archetype/src/main/resources/archetype-resources/README.txt b/archetype/src/main/resources/archetype-resources/README.txt index 1a51f9e5..52c178a6 100644 --- a/archetype/src/main/resources/archetype-resources/README.txt +++ b/archetype/src/main/resources/archetype-resources/README.txt @@ -24,3 +24,9 @@ $ mvn gwt:run * Right click on the project -> Run as -> Web Application * Right click on the test class -> Run as -> GWT JUnit Test + +- Although the project has the files .classpath and .project, you could generate them running any + of the following commands: + +$ mvn eclipse:m2eclipse (if you like to use m2eclipse) +$ mvn eclipse:eclipse (to use the project without m2eclipse) diff --git a/archetype/src/main/resources/archetype-resources/pom.xml b/archetype/src/main/resources/archetype-resources/pom.xml index a079e6ff..6a8fd8d4 100644 --- a/archetype/src/main/resources/archetype-resources/pom.xml +++ b/archetype/src/main/resources/archetype-resources/pom.xml @@ -90,6 +90,15 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 2.1 + + 1.6 + 1.6 + + org.codehaus.mojo gwt-maven-plugin @@ -137,7 +146,7 @@ org.apache.maven.plugins maven-eclipse-plugin - 2.8 + 2.7 true false @@ -152,6 +161,11 @@ org.eclipse.jdt.core.javanature org.eclipse.wst.common.modulecore.ModuleCoreNature + + com.google.gwt.eclipse.core.GWT_CONTAINER + org.eclipse.jdt.launching.JRE_CONTAINER + org.eclipse.jdt.junit.JUNIT_CONTAINER/3 + -- cgit v1.2.3