Reviewers: rchandia,

Description:
Fixed validation classifier, added clean plugin to prevent gwt-user from
being deployed to GAE, upgraded to GAE 1.4.2


Please review this at http://gwt-code-reviews.appspot.com/1377802/

Affected files:
  M samples/expenses/pom.xml


Index: samples/expenses/pom.xml
===================================================================
--- samples/expenses/pom.xml    (revision 9813)
+++ samples/expenses/pom.xml    (working copy)
@@ -11,8 +11,8 @@
                <roo.version>1.1.0.RELEASE</roo.version>
                <spring.version>3.0.3.RELEASE</spring.version>
                <slf4j.version>1.6.1</slf4j.version>
-       <gae.version>1.4.0</gae.version>
-    <gae-test.version>1.4.0</gae-test.version>
+       <gae.version>1.4.2</gae.version>
+    <gae-test.version>1.4.2</gae-test.version>
<gae.home>${user.home}/.m2/repository/com/google/appengine/appengine-java-sdk/${gae.version}/appengine-java-sdk-${gae.version}</gae.home>
     <datanucleus.version>1.1.5</datanucleus.version>
     </properties>
@@ -229,7 +229,7 @@
             <groupId>javax.validation</groupId>
             <artifactId>validation-api</artifactId>
             <version>1.0.0.GA</version>
-            <classifier>source</classifier>
+            <classifier>sources</classifier>
         </dependency>
     <dependency>
             <groupId>cglib</groupId>
@@ -437,6 +437,39 @@
        </dependencies>
        <build>
                <plugins>
+                       <plugin>
+                               <!-- Don't deploy gwt-user jar to GAE -->
+                               <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-client-classes</id>
+                                               <phase>package</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-user*jar</include>
+                                                                       
</includes>
+                                                               </fileset>
+                                                       </filesets>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to