Describe the bug
When built using gradle path of the libs changes from target/ to build/libs/.
Therefore, script does not find jar files and tries to run mvn package.
To Reproduce
. Build using gradle ./gradlew build -x test -x checkstyleMain -x checkstyleTest -x spotbugsTest -x spotbugsMain -x rat -x signDistTar
Try and run
bin/bookkeeper standalone
Couldn't find module '(org.apache.bookkeeper-)?bookkeeper-server' jar.
Do you want me to run mvn package -DskipTests for you ? (y|n) y
Expected behavior
Write a separate script for gradle with correct path for libs for gradle.
If jars not found in build/libs then. Script should create those jars.
At the sametime bookkeeper_server was not pulling two runtime dependencies.
Original Issue: apache/bookkeeper#2840
BUG REPORT
Describe the bug When built using gradle path of the libs changes from target/ to build/libs/. Therefore, script does not find jar files and tries to run mvn package.
To Reproduce
. Build using gradle
./gradlew build -x test -x checkstyleMain -x checkstyleTest -x spotbugsTest -x spotbugsMain -x rat -x signDistTar
Try and run
bin/bookkeeper standalone
Couldn't find module '(org.apache.bookkeeper-)?bookkeeper-server' jar. Do you want me to runmvn package -DskipTests
for you ? (y|n) yExpected behavior Write a separate script for gradle with correct path for libs for gradle. If jars not found in build/libs then. Script should create those jars.
At the sametime bookkeeper_server was not pulling two runtime dependencies.