File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
java17/mockito_broken/src/main/java/com/example Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11ARG JDK_VERSION=16
2- FROM maven:3.6.3 -openjdk-$JDK_VERSION-slim
2+ FROM maven:3.8.1 -openjdk-$JDK_VERSION-slim
33
44# Without this, the ARG isn't available after the FROM
55ARG JDK_VERSION
@@ -8,7 +8,7 @@ ADD . /javaupgrades
88WORKDIR /javaupgrades
99
1010# Cache dependencies
11- RUN mvn dependency:go-offline --fail-at-end -Dmaven.compiler.release=$JDK_VERSION
11+ RUN mvn test dependency:go-offline --fail-at-end -Dmaven.compiler.release=$JDK_VERSION
1212
1313# Used to force Docker to always run the commands below the ARG instead of using the cache
1414ARG DISABLE_CACHE
Original file line number Diff line number Diff line change 1- FROM maven:3.6.3 -openjdk-8-slim
1+ FROM maven:3.8.1 -openjdk-8-slim
22
33ADD . /javaupgrades
44WORKDIR /javaupgrades
Original file line number Diff line number Diff line change 1+ public class Bla {
2+ public String getTestvalue () {
3+ return "bla" ;
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments