Skip to content

Commit

Permalink
Update to GWT 2.10.0
Browse files Browse the repository at this point in the history
Keep testing against com.google.gwt snapshots until
org.gwtproject are deployed.
  • Loading branch information
tbroyer committed Jul 22, 2022
1 parent c601662 commit 3f742b3
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 34 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
gwt: [ "2.8.2", "HEAD-SNAPSHOT" ]
# groupId depends on GWT version, so no need to use it in cache keys and other identifiers
include:
- gwt: "2.9.0"
groupId: "com.google.gwt"
- gwt: "HEAD-SNAPSHOT"
# TODO: move to org.gwtproject once they're deployed
groupId: "com.google.gwt"
steps:
- uses: actions/checkout@v3

Expand All @@ -135,7 +141,7 @@ jobs:
- name: Build with Maven
id: maven-build
run: mvn -B -U -ntp verify --fail-at-end -DgwtVersion=${{ matrix.gwt }}
run: mvn -B -U -ntp verify --fail-at-end -DgwtVersion=${{ matrix.gwt }} -DgwtGroupId=${{ matrix.groupId }}

- name: Store reports
if: steps.maven-build.outcome == 'success' || steps.maven-build.outcome == 'failure'
Expand Down
11 changes: 7 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

<repositories>
<repository>
<!-- TODO: move to ossrh once org.gwtproject snapshots are deployed there -->
<id>google-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/google-snapshots/</url>
<releases>
Expand All @@ -71,7 +72,8 @@
<project.build.outputEncoding>UTF-8</project.build.outputEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<gwtVersion>2.9.0</gwtVersion>
<gwtGroupId>org.gwtproject</gwtGroupId>
<gwtVersion>2.10.0</gwtVersion>
</properties>

<dependencies>
Expand Down Expand Up @@ -147,19 +149,19 @@
<!-- Some artifacts used by invoker tests, declared here so they're resolved early -->
<!-- Actually because invoker plugin cannot install snapshots through extraArtifacts -->
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>${gwtGroupId}</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>${gwtGroupId}</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>${gwtGroupId}</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gwtVersion}</version>
<scope>test</scope>
Expand Down Expand Up @@ -229,6 +231,7 @@
<localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
<filterProperties>
<gwtGroupId>${gwtGroupId}</gwtGroupId>
<gwtVersion>${gwtVersion}</gwtVersion>
</filterProperties>
<extraArtifacts>
Expand Down
4 changes: 2 additions & 2 deletions src/it/e2e/e2e-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<type>gwt-lib</type>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/it/e2e/e2e-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-servlet</artifactId>
<!-- Needed for the CustomFieldSerializer; can be provided by gwt-servlet or gwt-user -->
<scope>provided</scope>
Expand Down
2 changes: 1 addition & 1 deletion src/it/e2e/e2e-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-servlet</artifactId>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/it/e2e/e2e-shared-gwt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<type>gwt-lib</type>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-servlet</artifactId>
<scope>provided</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/it/e2e/e2e-shared/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-servlet</artifactId>
<scope>provided</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/it/e2e/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt</artifactId>
<version>@gwtVersion@</version>
<type>pom</type>
Expand Down
6 changes: 3 additions & 3 deletions src/it/forceCompilation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt</artifactId>
<version>@gwtVersion@</version>
<type>pom</type>
Expand All @@ -20,11 +20,11 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions src/it/gwt-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt</artifactId>
<version>@gwtVersion@</version>
<type>pom</type>
Expand All @@ -20,11 +20,11 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions src/it/gwt-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt</artifactId>
<version>@gwtVersion@</version>
<type>pom</type>
Expand All @@ -20,11 +20,11 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions src/it/skipCompilation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt</artifactId>
<version>@gwtVersion@</version>
<type>pom</type>
Expand All @@ -20,11 +20,11 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions src/it/staleness-check-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt</artifactId>
<version>@gwtVersion@</version>
<type>pom</type>
Expand All @@ -20,11 +20,11 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions src/it/staleness-check/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt</artifactId>
<version>@gwtVersion@</version>
<type>pom</type>
Expand All @@ -20,11 +20,11 @@
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>@gwtGroupId@</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions src/site/markdown/usage.md.vm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $h2 Basic usage
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>org.gwtproject</groupId>
<artifactId>gwt</artifactId>
<version>${gwtVersion}</version>
<type>pom</type>
Expand All @@ -36,11 +36,11 @@ $h2 Basic usage
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
</dependencies>
Expand Down

0 comments on commit 3f742b3

Please sign in to comment.