Does the project build on your machine with the same commands (e.g. ./gradlew install) ?
Yeah.
What error are you seeing?
Build starting...
Start: Wed Mar 20 13:49:02 UTC 2024 46da49660ec7
Git:
mariaDB4j-3.0.2-0-gb26ecd2
commit b26ecd2611c34f9674b71ad8dbfc36cc87e43749
Author: Michael Vorburger
Date: Sat Sep 16 16:55:14 2023 +0200
docs: Add CHANGELOG for upcoming 3.0.2
Init SDKMan
Running before_install command:
sdk install java 17.0.9-oracle;sdk use java 17.0.9-oracle
[1;33mWe periodically need to update the local cache. Please run:[0m
$ sdk update
[1;36mBroadcasts discontinued. Please follow @sdkman_ on Twitter for announcements.[0m
Downloading: java 17.0.9-oracle
In progress...
######################################################################## 100.0%
Download has failed, aborting!
Can not install java 17.0.9-oracle at this time...
[1;33mWe periodically need to update the local cache. Please run:[0m
$ sdk update
[1;31mStop! Candidate version is not installed.[0m
[1;33mTip: Run the following to install this version[0m
[1;33m$ sdk install java 17.0.9-oracle[0m
Maven wrapper script found
Error: JAVA_HOME is not defined correctly.
We cannot execute /home/jitpack/.sdkman/candidates/java/17.0.9-oracle/bin/java
Running: ./mvnw clean install -DskipTests
Error: JAVA_HOME is not defined correctly.
We cannot execute /home/jitpack/.sdkman/candidates/java/17.0.9-oracle/bin/java
Build tool exit code: 0
Looking for artifacts...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Looking for pom.xml in build directory and ~/.m2
[Fatal Error] Index.xml:75:74: Attribute "flag" was already specified for element "collation".
Found artifact: ch.vorburger.mariaDB4j.maven.it:start-stop-skip:0.0.1.BUILD-SNAPSHOT
Found artifact: ch.vorburger.mariaDB4j.maven.it:start-stop:0.0.1.BUILD-SNAPSHOT
Found artifact: com.example:mariadb4j-basic-usage-test-project:0.0-SNAPSHOT
Found artifact: com.example:mariadb4j-skip-test-project:0.0-SNAPSHOT
Found artifact: com.example:mariadb4j-skip-test-project:0.0-SNAPSHOT
Found artifact: ch.vorburger.mariaDB4j:mariaDB4j-pom-lite:2.2.2
2024-03-20T13:49:08.083757098Z
Exit code: 0
⚠️ ERROR: No build artifacts found
Expected artifacts in: $HOME/.m2/repository/ch/vorburger/mariaDB4j/mariaDB4j-pom-lite/2.2.2
Please provide:
https://jitpack.io/com/github/vorburger/MariaDB4j/mariaDB4j-3.0.2/build.log
Yeah.
Thank you!