Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

ubuntu has backlevel maven. Use -B #322

Merged
merged 1 commit into from
Sep 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions incubator/java-microprofile/image/Dockerfile-stack
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ COPY ./config /config

WORKDIR /project/
RUN mkdir -p /mvn/repository
RUN mvn --no-transfer-progress -Dmaven.repo.local=/mvn/repository -N io.takari:maven:wrapper -Dmaven=$(mvn help:evaluate -Dexpression=maven.version -q -DforceStdout)
RUN mvn --no-transfer-progress -Dmaven.repo.local=/mvn/repository install dependency:go-offline -DskipTests
RUN mvn -B -Dmaven.repo.local=/mvn/repository -N io.takari:maven:wrapper -Dmaven=$(mvn help:evaluate -Dexpression=maven.version -q -DforceStdout)
RUN mvn -B -Dmaven.repo.local=/mvn/repository install dependency:go-offline -DskipTests

WORKDIR /project/user-app

Expand All @@ -25,17 +25,17 @@ ENV APPSODY_WATCH_DIR=/project/user-app
ENV APPSODY_WATCH_IGNORE_DIR=/project/user-app/target
ENV APPSODY_WATCH_REGEX="^.*(.xml|.java|.properties)$"

ENV APPSODY_INSTALL="../validate.sh && mvn --no-transfer-progress -Dmaven.repo.local=/mvn/repository install -DskipTests"
ENV APPSODY_INSTALL="../validate.sh && mvn -B -Dmaven.repo.local=/mvn/repository install -DskipTests"

ENV APPSODY_RUN="mvn --no-transfer-progress -Dmaven.repo.local=/mvn/repository liberty:run"
ENV APPSODY_RUN_ON_CHANGE="mvn --no-transfer-progress -Dmaven.repo.local=/mvn/repository package -DskipTests"
ENV APPSODY_RUN="mvn -B -Dmaven.repo.local=/mvn/repository liberty:run"
ENV APPSODY_RUN_ON_CHANGE="mvn -Dmaven.repo.local=/mvn/repository package -DskipTests"
ENV APPSODY_RUN_KILL=false

ENV APPSODY_DEBUG="mvn --no-transfer-progress -Dmaven.repo.local=/mvn/repository liberty:debug"
ENV APPSODY_DEBUG_ON_CHANGE="mvn --no-transfer-progress -Dmaven.repo.local=/mvn/repository package -DskipTests"
ENV APPSODY_DEBUG="mvn -B -Dmaven.repo.local=/mvn/repository liberty:debug"
ENV APPSODY_DEBUG_ON_CHANGE="mvn -Dmaven.repo.local=/mvn/repository package -DskipTests"
ENV APPSODY_DEBUG_KILL=false

ENV APPSODY_TEST="mvn --no-transfer-progress -Dmaven.repo.local=/mvn/repository verify"
ENV APPSODY_TEST="mvn -B -Dmaven.repo.local=/mvn/repository verify"
ENV APPSODY_TEST_ON_CHANGE=""
ENV APPSODY_TEST_KILL=false

Expand Down