mdenet / platformtools

Education platform tool functions.
Eclipse Public License 2.0
0 stars 3 forks source link

static dockerfiles files should use go-offline-maven-plugin to download dependencies #13

Open barnettwilliam opened 1 year ago

barnettwilliam commented 1 year ago

So that dependencies are downloaded for offline running the static.[TOOL_NAME]/Dockerfile files should use the go-offline-maven-plugin with -P option:

RUN mvn -B de.qaware.maven:go-offline-maven-plugin:1.2.8:resolve-dependencies -P[TOOL_NAME]

Previously the profile wasn't specified so not all runtime dependencies were being downloaded and some were manually downloaded using maven-dependency-plugin and are no longer required.

Apply to -