You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/03/27 14:11:26 UTC

[incubator-streampipes] branch dev updated: [STREAMPIPES-518] Updated java build version

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 8bb74ee  [STREAMPIPES-518] Updated java build version
8bb74ee is described below

commit 8bb74ee7ac7cb5161e997d2a5cb93ae08e221c55
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sun Mar 27 16:09:55 2022 +0200

    [STREAMPIPES-518] Updated java build version
---
 .github/workflows/build.yml |  8 ++++----
 pom.xml                     | 14 ++++++--------
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5ae306a..e1330e1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,10 +26,10 @@ jobs:
     steps:
       - name: Checkout
         uses: actions/checkout@v1
-      - name: Set up JDK 1.8
-        uses: actions/setup-java@v1
-        with:
-          java-version: 1.8
+      - name: Set up JDK 11
+        uses: actions/setup-java@v2
+        distribution: 'temurin'
+          java-version: '11'
       - name: Set up Node
         uses: actions/setup-node@v1
         with:
diff --git a/pom.xml b/pom.xml
index 34ba8cd..80f292d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1027,7 +1027,7 @@ IoT data streams.
 									<additionalJOption>-Xdoclint:none</additionalJOption>
 									<doclint>none</doclint>
 									<additionalJOption>-Xdoclint:none</additionalJOption>
-									<source>8</source>
+									<source>11</source>
 								</configuration>
 							</execution>
 						</executions>
@@ -1068,8 +1068,7 @@ IoT data streams.
 					<artifactId>maven-compiler-plugin</artifactId>
 					<version>${maven-compiler-plugin.version}</version>
 					<configuration>
-						<source>1.8</source>
-						<target>1.8</target>
+						<release>11</release>
 						<encoding>UTF-8</encoding>
 					</configuration>
 				</plugin>
@@ -1152,7 +1151,7 @@ IoT data streams.
 				<artifactId>maven-enforcer-plugin</artifactId>
 				<executions>
 					<execution>
-						<id>check-at-least-java-8</id>
+						<id>check-at-least-java-11</id>
 						<phase>validate</phase>
 						<goals>
 							<goal>enforce</goal>
@@ -1160,7 +1159,7 @@ IoT data streams.
 						<configuration>
 							<rules>
 								<requireJavaVersion>
-									<version>1.8.0</version>
+									<version>1.11.0</version>
 								</requireJavaVersion>
 							</rules>
 						</configuration>
@@ -1202,7 +1201,7 @@ IoT data streams.
 							<additionalJOption>-Xdoclint:none</additionalJOption>
 							<doclint>none</doclint>
 							<additionalJOption>-Xdoclint:none</additionalJOption>
-							<source>8</source>
+							<release>11</release>
 						</configuration>
 					</execution>
 				</executions>
@@ -1330,8 +1329,7 @@ IoT data streams.
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-compiler-plugin</artifactId>
 				<configuration>
-					<source>1.8</source>
-					<target>1.8</target>
+					<release>11</release>
 					<encoding>UTF-8</encoding>
 				</configuration>
 			</plugin>