Reviewers: rjrjr, drfibonacci,
Description:
Updates MobileWebApp to use GWT Maven Plugin 2.3.0-1
- It now honors scope "provided"
- Its is not necessary to clean up gwt-dev.jar nor gwt-user.jar
Please review this at http://gwt-code-reviews.appspot.com/1525806/
Affected files:
M samples/mobilewebapp/pom.xml
Index: samples/mobilewebapp/pom.xml
===================================================================
--- samples/mobilewebapp/pom.xml (revision 10541)
+++ samples/mobilewebapp/pom.xml (working copy)
@@ -65,9 +65,7 @@
of the GWT compiler.
This dependency has a scope of "provided" so that it only gets
used as a
- compiler dependecy. The Maven GWT Plugin does not seem to honor
this scoping,
- though. For that reason we explicitly remove gwt-dev-*.jar from
the produced
- artifacts later on.
+ compiler dependecy.
-->
<dependency>
<groupId>com.google.gwt</groupId>
@@ -190,7 +188,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
- <version>2.2.0</version>
+ <version>2.3.0-1</version>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
@@ -317,43 +315,6 @@
</additionalProjectnatures>
</configuration>
</plugin>
-
- <plugin>
- <!-- Don't deploy gwt-user nor gwt-dev jars to GAE.
- These jars are needed to compile the
- project and for DevMode, but not in AppEngine.
- -->
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.3</version>
- <executions>
- <execution>
- <id>default-clean</id>
- <phase>clean</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- <execution>
- <id>remove-gwt-dev-jar</id>
- <phase>process-classes</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- <configuration>
- <excludeDefaultDirectories>true</excludeDefaultDirectories>
- <filesets>
- <fileset>
-
<directory>${project.build.directory}/${project.build.finalName}/WEB-INF/lib</directory>
- <includes>
- <include>gwt-dev*jar</include>
- <include>gwt-user*jar</include>
- </includes>
- </fileset>
- </filesets>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</project>
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors