Skip to content

Commit 2d396d5

Browse files
Merge pull request #9 from qbicsoftware/fix/rollback-to-java8
rollback to java 8, add comment in readme
2 parents 07648ef + 2c5e328 commit 2d396d5

File tree

7 files changed

+15
-13
lines changed

7 files changed

+15
-13
lines changed

.github/workflows/build_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Set up JDK 1.11
11+
- name: Set up JDK 1.8
1212
uses: actions/setup-java@v1
1313
with:
14-
java-version: 1.11
14+
java-version: 1.8
1515
- name: Load local Maven repository cache
1616
uses: actions/cache@v2
1717
with:

.github/workflows/create-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
- name: Set up JDK 1.11
15+
- name: Set up JDK 1.8
1616
uses: actions/setup-java@v1
1717
with:
18-
java-version: 1.11
18+
java-version: 1.8
1919
settings-path: ${{ github.workspace }}
2020

2121
- name: Load local Maven repository cache

.github/workflows/java_checkstyle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Set up JDK 1.11
11+
- name: Set up JDK 1.8
1212
uses: actions/setup-java@v1
1313
with:
14-
java-version: 1.11
14+
java-version: 1.8
1515

1616
- name: Download Checkstyle
1717
run: wget https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.31/checkstyle-8.31-all.jar

.github/workflows/nexus-publish-snapshots.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 1.11
19+
- name: Set up JDK 1.8
2020
uses: actions/setup-java@v1
2121
with:
22-
java-version: 1.11
22+
java-version: 1.8
2323
settings-path: ${{ github.workspace }}
2424

2525
- name: Load local Maven repository cache

.github/workflows/run_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Set up JDK 1.11
11+
- name: Set up JDK 1.8
1212
uses: actions/setup-java@v1
1313
with:
14-
java-version: 1.11
14+
java-version: 1.8
1515

1616
- name: Load local Maven repository cache
1717
uses: actions/cache@v2

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Compile the project with Maven and Java 8 and build an executable java archive:
2020
mvn clean package
2121
```
2222

23+
Java 8 MUST be used, as the package javax.xml.bin is deprecated/removed in future versions.
24+
2325
The JAR file will be created in the ``/target`` folder
2426

2527
## How to use

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
<groupId>life.qbic</groupId>
99
<artifactId>xml-manager-lib</artifactId>
10-
<version>1.7.0-SNAPSHOT</version> <!-- <<QUBE_FORCE_BUMP>> -->
10+
<version>1.7.0-SNAPSHOT</version>
1111
<name>xml-manager-lib</name>
1212
<url>http://github.com/qbicsoftware/xml-manager-lib</url>
1313
<description>library for reading and writing of specific openBIS xml properties </description>
1414
<packaging>jar</packaging>
1515

1616
<properties>
17-
<maven.compiler.source>11</maven.compiler.source>
18-
<maven.compiler.target>11</maven.compiler.target>
17+
<maven.compiler.source>1.8</maven.compiler.source>
18+
<maven.compiler.target>1.8</maven.compiler.target>
1919

2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2121
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

0 commit comments

Comments
 (0)