Skip to content

Commit 60381d6

Browse files
committed
fix(build): Improve Docker Maven build command for ArcadeDB JARs
1 parent 907745b commit 60381d6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

bindings/python/build_and_install_locally.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ LOCAL_JARS_DIR="${PY_BINDINGS_DIR}/local-jars/lib"
1717
log "Repo root: ${REPO_ROOT}"
1818

1919
# 1) Build ArcadeDB JARs in Docker (Java 25)
20-
log "Building ArcadeDB JARs via Docker Maven..."
20+
# - Clean to avoid stale reactor outputs
21+
# - Skip tests and test-compile, and avoid docker image build to speed things up
22+
log "Building ArcadeDB JARs via Docker Maven (clean install, compile tests, skip running tests)..."
2123
docker run --rm \
2224
-v "${REPO_ROOT}":/src \
2325
-w /src \
2426
maven:3.9-eclipse-temurin-25 \
25-
sh -c "git config --global --add safe.directory /src && ./mvnw -DskipTests -pl package -am package"
27+
sh -c "git config --global --add safe.directory /src && ./mvnw clean install -DskipTests=true -DskipITs=true -DskipDockerBuild=true -DskipDocker=true -pl package -am"
2628

2729
# 2) Copy freshly built JARs into local-jars for the Python build
2830
log "Staging JARs into bindings/python/local-jars/lib..."

0 commit comments

Comments
 (0)