diff --git a/Ch10/pom.xml b/Ch10/pom.xml index ad3ae40..58ec63a 100644 --- a/Ch10/pom.xml +++ b/Ch10/pom.xml @@ -9,12 +9,12 @@ <version>1.0-SNAPSHOT</version> <properties> - <maven.compiler.source>21</maven.compiler.source> - <maven.compiler.target>21</maven.compiler.target> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> <exec-maven-plugin.version>3.5.0</exec-maven-plugin.version> - <beam.version>2.61.0</beam.version> + <beam.version>2.54.0</beam.version> <slf4j.version>1.7.25</slf4j.version> </properties> @@ -39,8 +39,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>${maven.compiler.source}</source> + <target>${maven.compiler.target}</target> </configuration> </plugin> </plugins> @@ -83,7 +83,6 @@ <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-aiplatform</artifactId> - <version>3.35.0</version> </dependency> <!-- beam dependencies --> @@ -95,14 +94,17 @@ <groupId>org.apache.beam</groupId> <artifactId>beam-sdks-java-io-google-cloud-platform</artifactId> </dependency> - <dependency> - <groupId>org.hamcrest</groupId> - <artifactId>hamcrest</artifactId> - <version>2.2</version> - <scope>test</scope> + <groupId>org.apache.beam</groupId> + <artifactId>beam-runners-direct-java</artifactId> + <scope>runtime</scope> </dependency> - <!-- slf4j API frontend binding with JUL backend --> + <dependency> + <groupId>org.apache.beam</groupId> + <artifactId>beam-runners-google-cloud-dataflow-java</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> @@ -113,10 +115,17 @@ <artifactId>slf4j-jdk14</artifactId> <version>${slf4j.version}</version> </dependency> + + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest</artifactId> + <version>2.2</version> + <scope>test</scope> + </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.13.1</version> <!-- can be omitted when using the BOM --> + <version>4.13.1</version> <scope>test</scope> </dependency> </dependencies>