Skip to content

Commit

Permalink
[ZEPPELIN-6136] Java release to 11
Browse files Browse the repository at this point in the history
### What is this PR for?
Small change, big effect. This pull request changes the Maven compiler setting to JDK 11.

### What type of PR is it?
Improvement

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-6136

### How should this be tested?
* CI

### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? YES
* Does this needs documentation? Yes

Closes #4882 from Reamer/javaRelease.

Signed-off-by: Philipp Dallig <[email protected]>
(cherry picked from commit 414f4d1)
Signed-off-by: Philipp Dallig <[email protected]>
  • Loading branch information
Reamer committed Oct 25, 2024
1 parent ccc0e70 commit 97de9b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions docs/development/contribution/how_to_contribute_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ You are free to use whatever IDE you prefer, or your favorite command line edito

To build the code, install

* Oracle Java 8
* Apache Maven
* Java 11

## Getting the source code
First of all, you need Zeppelin source code. The official location of Zeppelin is [https://gitbox.apache.org/repos/asf/zeppelin.git](https://gitbox.apache.org/repos/asf/zeppelin.git).
Expand All @@ -55,10 +54,10 @@ Get the source code on your development machine using git.
git clone git://gitbox.apache.org/repos/asf/zeppelin.git zeppelin
```

You may also want to develop against a specific branch. For example, for branch-0.5.6
You may also want to develop against a specific branch. For example, for branch-0.11.0

```bash
git clone -b branch-0.5.6 git://gitbox.apache.org/repos/asf/zeppelin.git zeppelin
git clone -b branch-0.11.0 git://gitbox.apache.org/repos/asf/zeppelin.git zeppelin
```

Apache Zeppelin follows [Fork & Pull](https://github.com/sevntu-checkstyle/sevntu.checkstyle/wiki/Development-workflow-with-Git:-Fork,-Branching,-Commits,-and-Pull-Request) as a source control workflow.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- language versions -->
<java.version>1.8</java.version>
<java.version>11</java.version>
<!-- These two lines could be changed like `maven.compiler.release` after updating JDK11 -->
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
Expand Down

0 comments on commit 97de9b5

Please sign in to comment.