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

Skip to content

Commit 0630b45

Browse files
authored
Merge pull request #108 from utPLSQL/feature/move_to_compiler_java_17
Update compiler release to Java 17
2 parents cccb04d + 60d1d34 commit 0630b45

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build & test
22
on:
33
push:
4-
branches-ignore: [ main ]
4+
branches: [ develop ]
55
pull_request:
66
branches: [ develop ]
77
workflow_dispatch:
@@ -70,17 +70,20 @@ jobs:
7070
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7171

7272
- name: Maven deploy snapshot
73+
if: github.event_name != 'pull_request'
7374
run: mvn deploy -DskipTests
7475
env:
7576
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
7677
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
7778
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
7879

7980
- name: Get project version
81+
if: github.event_name != 'pull_request'
8082
id: project_version
8183
run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
8284

8385
- name: Trigger utPLSQL-cli snapshot build
86+
if: github.event_name != 'pull_request'
8487
uses: peter-evans/repository-dispatch@v3
8588
with:
8689
token: ${{ secrets.CLI_REPO_TOKEN }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ This is a Maven Library project, you can add on your Java project as a dependenc
1717
<dependency>
1818
<groupId>org.utplsql</groupId>
1919
<artifactId>utplsql-java-api</artifactId>
20-
<version>3.1.16</version>
20+
<version>3.2.3</version>
2121
</dependency>
2222
```
2323

2424
## Compatibility
25-
The latest Java-API is always compatible with all database frameworks of the same major version.
26-
For example API-3.0.4 is compatible with database framework 3.0.0-3.1.* but not with database framework 2.x.
25+
The latest Java-API is always compatible with database frameworks of the same minor version.
26+
For example API-3.2.3 is compatible with database framework 3.2 but not with database framework 3.0 or 3.3
2727

2828
It is although recommended to always use the latest release of the API to build your tools for utPLSQL.
2929

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<maven.compiler.source>11</maven.compiler.source>
16-
<maven.compiler.target>11</maven.compiler.target>
15+
<maven.compiler.release>17</maven.compiler.release>
16+
1717
<junit.jupiter.version>5.12.2</junit.jupiter.version>
1818
<oracle.jdbc.version>23.7.0.25.01</oracle.jdbc.version>
1919

0 commit comments

Comments
 (0)