diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 339e804..3c0752a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,7 +1,7 @@
name: Build & test
on:
push:
- branches-ignore: [ main ]
+ branches: [ develop ]
pull_request:
branches: [ develop ]
workflow_dispatch:
@@ -70,12 +70,27 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Maven deploy snapshot
+ if: github.event_name != 'pull_request'
run: mvn deploy -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
+ - name: Get project version
+ if: github.event_name != 'pull_request'
+ id: project_version
+ run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
+
+ - name: Trigger utPLSQL-cli snapshot build
+ if: github.event_name != 'pull_request'
+ uses: peter-evans/repository-dispatch@v3
+ with:
+ token: ${{ secrets.CLI_REPO_TOKEN }}
+ repository: utPLSQL/utPLSQL-cli
+ event-type: utPLSQL-java-api-build
+ client-payload: '{"api_version": "${{ steps.project_version.outputs.version }}"}'
+
- name: Publish unit test results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
diff --git a/README.md b/README.md
index 3f11520..d3d5797 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[](https://github.com/utPLSQL/utPLSQL-java-api/releases)
+[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://github.com/utPLSQL/utPLSQL-java-api/actions/workflows/build.yml)
# utPLSQL-java-api
@@ -17,13 +19,13 @@ This is a Maven Library project, you can add on your Java project as a dependenc
org.utplsql
utplsql-java-api
- 3.1.16
+ 3.2.3
```
## Compatibility
-The latest Java-API is always compatible with all database frameworks of the same major version.
-For example API-3.0.4 is compatible with database framework 3.0.0-3.1.* but not with database framework 2.x.
+The latest Java-API is always compatible with database frameworks of the same minor version.
+For example API-3.2.3 is compatible with database framework 3.2 but not with database framework 3.0 or 3.3
It is although recommended to always use the latest release of the API to build your tools for utPLSQL.
diff --git a/pom.xml b/pom.xml
index def0fa1..ed72c84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
org.utplsql
utplsql-java-api
- 3.2.3
+ 3.2.4
utPLSQL Java API
Java API for running Unit Tests with utPLSQL v3+.
@@ -12,8 +12,8 @@
UTF-8
- 11
- 11
+ 17
+
5.12.2
23.7.0.25.01