diff --git a/Dockerfile b/Dockerfile index 9212410a58..ac53fd07f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,12 +13,6 @@ COPY view/pom.xml view/pom.xml COPY war/pom.xml war/pom.xml COPY daisy-integration/pom.xml daisy-integration/pom.xml -# Download dependencies in a separate layer to allow caching for future builds -RUN ./mvnw dependency:go-offline \ - --batch-mode \ - --define includeScope=compile \ - --activate-profiles docker-dependencies - COPY api/src/ api/src/ COPY core/src/ core/src/ COPY view/src/ view/src/ @@ -26,7 +20,6 @@ COPY war/src/ war/src/ COPY daisy-integration/src/ daisy-integration/src/ RUN ./mvnw package \ - --offline \ --define skipTests \ --activate-profiles branch,DEV \ --define skip.npm \ diff --git a/war/pom.xml b/war/pom.xml index 19e7317b23..c1dd889587 100644 --- a/war/pom.xml +++ b/war/pom.xml @@ -140,46 +140,5 @@ branch - - docker-dependencies - - - - org.jboss.logging - jboss-logging - - - com.fasterxml - classmate - - - net.bytebuddy - byte-buddy-agent - - - com.querydsl - querydsl-apt - ${querydsl.version} - jakarta - - - org.assertj - assertj-core - test - - - net.minidev - json-smart - - - org.hamcrest - hamcrest-core - test - - -