Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 00321a3

Browse files
authored
Merge pull request #229 from utPLSQL/feature/update_dependencies
Update compiler release to Java 17
2 parents 0832ffe + d018419 commit 00321a3

5 files changed

Lines changed: 22 additions & 63 deletions

File tree

.github/workflows/api-snapshot-check.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
UTPLSQL_VERSION: develop
2323
UTPLSQL_FILE: utPLSQL
2424
DB_URL: "//localhost:1521/FREEPDB1"
25-
DB_USER: APP
26-
DB_PASS: APP
2725

2826
services:
2927
oracle:
@@ -47,10 +45,11 @@ jobs:
4745
with:
4846
fetch-depth: 0
4947

50-
- uses: actions/setup-java@v5
48+
- name: Set up JDK
49+
uses: actions/setup-java@v5
5150
with:
52-
distribution: 'adopt'
53-
java-version: '17'
51+
distribution: 'temurin'
52+
java-version: '21'
5453

5554
- name: Install utplsql
5655
run: .github/scripts/install_utplsql.sh
@@ -62,17 +61,3 @@ jobs:
6261
run: |
6362
API_VERSION="${{ github.event.client_payload.api_version || inputs.api_version }}"
6463
mvn verify appassembler:assemble -Dutplsql-java-api.version="$API_VERSION"
65-
66-
slack-workflow-status:
67-
if: always()
68-
name: Post Workflow Status To Slack
69-
needs: [ build ]
70-
runs-on: ubuntu-latest
71-
steps:
72-
- name: Slack Workflow Notification
73-
uses: Gamesight/slack-workflow-status@master
74-
with:
75-
repo_token: ${{secrets.GITHUB_TOKEN}}
76-
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
77-
name: 'Github Actions[bot]'
78-
icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png'

.github/workflows/build.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99

1010
workflow_dispatch:
1111

12-
repository_dispatch:
13-
types: [utPLSQL-build,utPLSQL-java-api-build]
1412

1513
defaults:
1614
run:
@@ -25,22 +23,20 @@ jobs:
2523
UTPLSQL_FILE: ${{matrix.utplsql_file}}
2624
DB_URL: "//localhost:1521/FREEPDB1"
2725
DB_USER: APP
28-
DB_PASS: APP
26+
DB_PASS: pass
2927

3028
strategy:
3129
fail-fast: false
3230
matrix:
3331
utplsql_version: ["v3.2.01","develop"]
3432
utplsql_file: ["utPLSQL"]
35-
jdk: ['11', '17', '21', '25']
33+
jdk: ['17', '21', '25']
3634
services:
3735
oracle:
3836
image: gvenzl/oracle-free:23-slim-faststart
3937
env:
4038
ORACLE_PASSWORD: oracle
4139
DB_URL: "//localhost:1521/FREEPDB1"
42-
DB_USER: APP
43-
DB_PASS: pass
4440
ports:
4541
- 1521:1521
4642
options: >-
@@ -54,9 +50,11 @@ jobs:
5450
- uses: actions/checkout@v4
5551
with:
5652
fetch-depth: 0
57-
- uses: actions/setup-java@v5
53+
54+
- name: Set up JDK
55+
uses: actions/setup-java@v5
5856
with:
59-
distribution: 'adopt'
57+
distribution: 'temurin'
6058
java-version: ${{matrix.jdk}}
6159

6260
- name: Install utplsql
@@ -67,17 +65,3 @@ jobs:
6765

6866
- name: Build and Test
6967
run: mvn verify appassembler:assemble
70-
71-
slack-workflow-status:
72-
if: always()
73-
name: Post Workflow Status To Slack
74-
needs: [ build ]
75-
runs-on: ubuntu-latest
76-
steps:
77-
- name: Slack Workflow Notification
78-
uses: Gamesight/slack-workflow-status@master
79-
with:
80-
repo_token: ${{secrets.GITHUB_TOKEN}}
81-
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
82-
name: 'Github Actions[bot]'
83-
icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png'

.github/workflows/release.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20-
- uses: actions/setup-java@v5
20+
21+
- name: Set up JDK
22+
uses: actions/setup-java@v5
2123
with:
22-
distribution: 'adopt'
23-
java-version: 8
24+
distribution: 'temurin'
25+
java-version: '21'
2426

2527
- name: Build Release
2628
run: mvn package appassembler:assemble assembly:single checksum:files -DskipTests
@@ -31,17 +33,3 @@ jobs:
3133
files: |
3234
target/utPLSQL-cli.zip
3335
target/utPLSQL-cli.zip.md5
34-
35-
slack-workflow-status:
36-
if: always()
37-
name: Post Workflow Status To Slack
38-
needs: [ release ]
39-
runs-on: ubuntu-latest
40-
steps:
41-
- name: Slack Workflow Notification
42-
uses: Gamesight/slack-workflow-status@master
43-
with:
44-
repo_token: ${{secrets.GITHUB_TOKEN}}
45-
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
46-
name: 'Github Actions[bot]'
47-
icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png'

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ You can also download all development versions from [Bintray](https://bintray.co
2222

2323

2424
## Requirements
25-
* [Java SE Runtime Environment 8](http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) or newer
25+
* [Java SE Runtime Environment 17](https://www.oracle.com/java/technologies/downloads/) or newer
2626
* When using reporters for Sonar or Coveralls client needs to be invoked from project's root directory.
2727

2828
## Compatibility
29-
The latest CLI is always compatible with all database frameworks of the same major version.
30-
For example CLI-3.1.0 is compatible with database framework 3.0.0-3.1.* but not with database framework 2.x.
29+
The latest CLI is compatible with database frameworks of the same **minor** version.
30+
For example CLI-3.2.0 is compatible with database framework 3.2.* but not necessarily with framework 3.1.* or 3.3.*
3131

3232
## Localization and NLS settings
3333
utPLSQL-cli will use the environment variables "LC_ALL" or "LANG" to change the locale and therefore the client NLS settings.

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
<url>https://github.com/utPLSQL/utPLSQL-cli</url>
1212

1313
<properties>
14-
<utplsql-java-api.version>3.2.3</utplsql-java-api.version>
1514
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16-
<maven.compiler.release>11</maven.compiler.release>
15+
<maven.compiler.release>17</maven.compiler.release>
16+
17+
<utplsql-java-api.version>3.2.3</utplsql-java-api.version>
18+
1719
<junit.jupiter.version>5.12.2</junit.jupiter.version>
1820
<picocli.version>4.7.7</picocli.version>
1921
<logback.version>1.5.18</logback.version>

0 commit comments

Comments
 (0)