Bump GWT version to 2.3.0
Change-Id: I324836febca2f4c13ea1883c0c9750fb77aac1c8
diff --git a/gerrit-gwtui/pom.xml b/gerrit-gwtui/pom.xml
index 70c5740..bb0da11 100644
--- a/gerrit-gwtui/pom.xml
+++ b/gerrit-gwtui/pom.xml
@@ -135,6 +135,19 @@
<classifier>sources</classifier>
<type>jar</type>
</dependency>
+
+ <!-- GWT should require these itself, but doesn't. -->
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <classifier>sources</classifier>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<profiles>
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/GerritGwtUI.gwt.xml b/gerrit-gwtui/src/main/java/com/google/gerrit/GerritGwtUI.gwt.xml
index d3d990c..8555c75 100644
--- a/gerrit-gwtui/src/main/java/com/google/gerrit/GerritGwtUI.gwt.xml
+++ b/gerrit-gwtui/src/main/java/com/google/gerrit/GerritGwtUI.gwt.xml
@@ -32,6 +32,7 @@
<extend-property name='locale' values='en'/>
<set-property-fallback name='locale' value='en'/>
<set-property name='locale' value='en'/>
+ <set-configuration-property name='UiBinder.useSafeHtmlTemplates' value='true'/>
<entry-point class='com.google.gerrit.client.Gerrit'/>
</module>
diff --git a/pom.xml b/pom.xml
index 39c6bcc..03e9830 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,9 +48,9 @@
<properties>
<jgitVersion>0.12.1.53-g5ec4977</jgitVersion>
<gwtormVersion>1.1.4</gwtormVersion>
- <gwtjsonrpcVersion>1.2.4</gwtjsonrpcVersion>
+ <gwtjsonrpcVersion>1.2.5</gwtjsonrpcVersion>
<gwtexpuiVersion>1.2.3</gwtexpuiVersion>
- <gwtVersion>2.1.1</gwtVersion>
+ <gwtVersion>2.3.0</gwtVersion>
<slf4jVersion>1.6.1</slf4jVersion>
<guiceVersion>2.0</guiceVersion>
<jettyVersion>7.2.1.v20101111</jettyVersion>
@@ -361,7 +361,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
- <version>2.1.0-1</version>
+ <version>2.3.0</version>
</plugin>
<plugin>
@@ -501,6 +501,20 @@
</dependency>
<dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <version>1.0.0.GA</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <version>1.0.0.GA</version>
+ <classifier>sources</classifier>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
<groupId>com.google.code.guice</groupId>
<artifactId>guice</artifactId>
<version>${guiceVersion}</version>