diff --git a/experimental/java-spring-boot2-liberty/image/Dockerfile-stack b/experimental/java-spring-boot2-liberty/image/Dockerfile-stack index f33381696..00315e403 100644 --- a/experimental/java-spring-boot2-liberty/image/Dockerfile-stack +++ b/experimental/java-spring-boot2-liberty/image/Dockerfile-stack @@ -13,8 +13,8 @@ COPY ./config /config WORKDIR /project/ RUN mkdir -p /mvn/repository -RUN mvn -Dmaven.repo.local=/mvn/repository -N io.takari:maven:wrapper -Dmaven=$(mvn help:evaluate -Dexpression=maven.version -q -DforceStdout) -RUN mvn -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 @@ -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 -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 -Dmaven.repo.local=/mvn/repository liberty:run" +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 -Dmaven.repo.local=/mvn/repository liberty:debug" +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 -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 diff --git a/experimental/java-spring-boot2-liberty/image/project/Dockerfile b/experimental/java-spring-boot2-liberty/image/project/Dockerfile index b216d08fb..244ee14db 100644 --- a/experimental/java-spring-boot2-liberty/image/project/Dockerfile +++ b/experimental/java-spring-boot2-liberty/image/project/Dockerfile @@ -7,7 +7,7 @@ COPY . /project WORKDIR /project/user-app -RUN mvn install -DskipTests +RUN mvn -B install -DskipTests RUN cd target && \ unzip *.zip && \ diff --git a/experimental/java-spring-boot2-liberty/image/project/pom.xml b/experimental/java-spring-boot2-liberty/image/project/pom.xml index f25dd6a65..463eac182 100644 --- a/experimental/java-spring-boot2-liberty/image/project/pom.xml +++ b/experimental/java-spring-boot2-liberty/image/project/pom.xml @@ -26,7 +26,7 @@ dev.appsody java-spring-boot2-liberty - 0.1.6 + 0.1.7 pom diff --git a/experimental/java-spring-boot2-liberty/stack.yaml b/experimental/java-spring-boot2-liberty/stack.yaml index 8a67f2773..1a420ae60 100644 --- a/experimental/java-spring-boot2-liberty/stack.yaml +++ b/experimental/java-spring-boot2-liberty/stack.yaml @@ -1,5 +1,5 @@ name: Spring Boot® on Open Liberty -version: 0.1.6 +version: 0.1.7 description: Spring Boot on Open Liberty & OpenJ9 using Maven license: Apache-2.0 language: java diff --git a/experimental/java-spring-boot2-liberty/templates/default/pom.xml b/experimental/java-spring-boot2-liberty/templates/default/pom.xml index 6a471b7b4..ecbfee9d2 100755 --- a/experimental/java-spring-boot2-liberty/templates/default/pom.xml +++ b/experimental/java-spring-boot2-liberty/templates/default/pom.xml @@ -8,7 +8,7 @@ dev.appsody java-spring-boot2-liberty - 0.1.6 + 0.1.7 dev.appsody.starter.java-spring-boot2-liberty