Change Dockerfiles to use maven.test.skip (not skipTests). See issue #2128 (#2135)

This commit is contained in:
Joe DiPol
2020-07-06 17:16:26 -07:00
committed by GitHub
parent 9e18020ff1
commit d59626d0c3
27 changed files with 28 additions and 28 deletions

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -24,10 +24,10 @@ WORKDIR /helidon
# the pom
RUN mkdir common
ADD common/pom.xml common/pom.xml
RUN mvn -f common/pom.xml install -DskipTests
RUN mvn -f common/pom.xml install -Dmaven.test.skip
RUN mkdir opentracing
ADD opentracing/pom.xml opentracing/pom.xml
RUN mvn -f opentracing/pom.xml package -DskipTests
RUN mvn -f opentracing/pom.xml package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build to create the custom Java Runtime Image
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -Pnative-image -Dnative.image.skip -DskipTests
RUN mvn package -Pnative-image -Dnative.image.skip -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build to create the custom Java Runtime Image
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -Pnative-image -Dnative.image.skip -DskipTests
RUN mvn package -Pnative-image -Dnative.image.skip -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build to create the custom Java Runtime Image
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -Pnative-image -Dnative.image.skip -DskipTests
RUN mvn package -Pnative-image -Dnative.image.skip -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build to create the custom Java Runtime Image
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -Pnative-image -Dnative.image.skip -DskipTests
RUN mvn package -Pnative-image -Dnative.image.skip -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests -Dskip.npm
RUN mvn package -Dmaven.test.skip -Dskip.npm
# Create a second layer to cache the "NPM World" under node_modules
# Incremental docker builds will always resume after that, unless you update

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources

View File

@@ -23,7 +23,7 @@ WORKDIR /helidon
# Incremental docker builds will always resume after that, unless you update
# the pom
ADD pom.xml .
RUN mvn package -DskipTests
RUN mvn package -Dmaven.test.skip
# Do the Maven build!
# Incremental docker builds will resume here when you change sources