Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class MyWidget extends Composite {

public MyWidget(NumberFormatter formatter) {
this.formatter = formatter;
initWidget(uiBinder.createAndBindUi(this);
initWidget(uiBinder.createAndBindUi(this));
}

void setNumber(int number) {
Expand Down Expand Up @@ -247,6 +247,9 @@ to manually install the jars for [Mockito][6] and [Javassist][7].

## Version history

### 1.2.0 [Unreleased]
* Use GWT 2.10.0 with relocated groupId

### 1.1.9
* Support ResourcePrototype methods in fake CLientBundles. (Thanks to zbynek)
* Add a `@WithExperimentalGarbageCollection` annotation. (Thanks to LudoP)
Expand Down
4 changes: 2 additions & 2 deletions gwtmockito-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.google.gwt.gwtmockito</groupId>
<artifactId>gwtmockito-parent</artifactId>
<version>1.1.10-SNAPSHOT</version>
<version>1.2.0-SNAPSHOT</version>
</parent>

<artifactId>gwtmockito-sample</artifactId>
Expand All @@ -12,7 +12,7 @@

<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-user</artifactId>
</dependency>

Expand Down
6 changes: 3 additions & 3 deletions gwtmockito/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.google.gwt.gwtmockito</groupId>
<artifactId>gwtmockito-parent</artifactId>
<version>1.1.10-SNAPSHOT</version>
<version>1.2.0-SNAPSHOT</version>
</parent>

<artifactId>gwtmockito</artifactId>
Expand All @@ -14,11 +14,11 @@

<!-- GWT dependencies -->
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-user</artifactId>
</dependency>

Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.gwt.gwtmockito</groupId>
<artifactId>gwtmockito-parent</artifactId>
<version>1.1.10-SNAPSHOT</version>
<version>1.2.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>GwtMockito (Parent)</name>
Expand Down Expand Up @@ -55,20 +55,20 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.8.0</version>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<groupId>org.gwtproject</groupId>
<artifactId>gwt-user</artifactId>
<version>2.8.0</version>
<version>2.10.0</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
Expand All @@ -93,7 +93,7 @@
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.6.6</version>
<version>1.7.4</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down