Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Commit 0f765e9

Browse files
authored
Merge pull request #597 from wcn3/master
Update to Apache Beam, v2.1.0.
2 parents 7cdb503 + 3b9f029 commit 0f765e9

File tree

6 files changed

+13
-9
lines changed
  • maven-archetypes
    • examples-java8/src/main/resources/archetype-resources
    • examples/src/main/resources/archetype-resources
    • starter/src
      • main/resources/archetype-resources
      • test/resources/projects/basic/reference

6 files changed

+13
-9
lines changed

maven-archetypes/examples-java8/src/main/resources/archetype-resources/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<plugin>
5050
<groupId>org.apache.maven.plugins</groupId>
5151
<artifactId>maven-compiler-plugin</artifactId>
52-
<version>3.5.1</version>
52+
<version>3.6.1</version>
5353
<configuration>
5454
<source>1.8</source>
5555
<target>1.8</target>
@@ -79,6 +79,7 @@
7979
<plugin>
8080
<groupId>org.apache.maven.plugins</groupId>
8181
<artifactId>maven-jar-plugin</artifactId>
82+
<version>3.0.2</version>
8283
</plugin>
8384

8485
<!--
@@ -122,7 +123,7 @@
122123
<plugin>
123124
<groupId>org.codehaus.mojo</groupId>
124125
<artifactId>exec-maven-plugin</artifactId>
125-
<version>1.4.0</version>
126+
<version>1.5.0</version>
126127
<configuration>
127128
<cleanupDaemonThreads>false</cleanupDaemonThreads>
128129
</configuration>

maven-archetypes/examples-java8/src/main/resources/archetype-resources/src/test/java/complete/game/LeaderBoardTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ public void testTeamScoresDroppablyLate() {
276276
.addElements(event(TestUser.RED_ONE, 4, Duration.standardMinutes(2)),
277277
event(TestUser.BLUE_TWO, 3, Duration.ZERO),
278278
event(TestUser.BLUE_ONE, 3, Duration.standardMinutes(3)))
279+
// Move the watermark to the end of the window to output on time
280+
.advanceWatermarkTo(baseTime.plus(TEAM_WINDOW_DURATION))
279281
// Move the watermark past the end of the allowed lateness plus the end of the window
280282
.advanceWatermarkTo(baseTime.plus(ALLOWED_LATENESS)
281283
.plus(TEAM_WINDOW_DURATION).plus(Duration.standardMinutes(1)))

maven-archetypes/examples/src/main/resources/archetype-resources/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<plugin>
5050
<groupId>org.apache.maven.plugins</groupId>
5151
<artifactId>maven-compiler-plugin</artifactId>
52-
<version>3.5.1</version>
52+
<version>3.6.1</version>
5353
<configuration>
5454
<source>${targetPlatform}</source>
5555
<target>${targetPlatform}</target>
@@ -79,6 +79,7 @@
7979
<plugin>
8080
<groupId>org.apache.maven.plugins</groupId>
8181
<artifactId>maven-jar-plugin</artifactId>
82+
<version>3.0.2</version>
8283
</plugin>
8384

8485
<!--
@@ -122,7 +123,7 @@
122123
<plugin>
123124
<groupId>org.codehaus.mojo</groupId>
124125
<artifactId>exec-maven-plugin</artifactId>
125-
<version>1.4.0</version>
126+
<version>1.5.0</version>
126127
<configuration>
127128
<cleanupDaemonThreads>false</cleanupDaemonThreads>
128129
</configuration>

maven-archetypes/starter/src/main/resources/archetype-resources/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<plugin>
4747
<groupId>org.apache.maven.plugins</groupId>
4848
<artifactId>maven-compiler-plugin</artifactId>
49-
<version>3.5.1</version>
49+
<version>3.6.1</version>
5050
<configuration>
5151
<source>${targetPlatform}</source>
5252
<target>${targetPlatform}</target>
@@ -59,7 +59,7 @@
5959
<plugin>
6060
<groupId>org.codehaus.mojo</groupId>
6161
<artifactId>exec-maven-plugin</artifactId>
62-
<version>1.4.0</version>
62+
<version>1.5.0</version>
6363
<configuration>
6464
<cleanupDaemonThreads>false</cleanupDaemonThreads>
6565
</configuration>

maven-archetypes/starter/src/test/resources/projects/basic/reference/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<plugin>
4747
<groupId>org.apache.maven.plugins</groupId>
4848
<artifactId>maven-compiler-plugin</artifactId>
49-
<version>3.5.1</version>
49+
<version>3.6.1</version>
5050
<configuration>
5151
<source>1.7</source>
5252
<target>1.7</target>
@@ -59,7 +59,7 @@
5959
<plugin>
6060
<groupId>org.codehaus.mojo</groupId>
6161
<artifactId>exec-maven-plugin</artifactId>
62-
<version>1.4.0</version>
62+
<version>1.5.0</version>
6363
<configuration>
6464
<cleanupDaemonThreads>false</cleanupDaemonThreads>
6565
</configuration>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<timestamp>${maven.build.timestamp}</timestamp>
104104
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
105105

106-
<beam.version>2.0.0</beam.version>
106+
<beam.version>2.1.0</beam.version>
107107

108108
<dataflow.release_name>Google Cloud Dataflow SDK for Java</dataflow.release_name>
109109
<dataflow.container_version>${project.version}-20170517</dataflow.container_version>

0 commit comments

Comments
 (0)