diff --git a/finish/Dockerfile b/finish/Dockerfile index e424637..6f5901f 100644 --- a/finish/Dockerfile +++ b/finish/Dockerfile @@ -31,7 +31,7 @@ COPY --chown=1001:0 \ /config/apps COPY --chown=1001:0 \ - target/liberty/wlp/usr/shared/resources/*.jar \ + target/liberty/wlp/usr/shared/resources/postgresql-*.jar \ /opt/ol/wlp/usr/shared/resources/ USER 1001 diff --git a/finish/pom.xml b/finish/pom.xml index 6944f6e..43b49fb 100644 --- a/finish/pom.xml +++ b/finish/pom.xml @@ -111,25 +111,21 @@ org.apache.maven.plugins maven-dependency-plugin 3.6.1 + + + + io.openliberty.tools + liberty-maven-plugin + 3.10 copy-dependencies prepare-package - copy-dependencies + create - - org.postgresql - postgresql - ${project.build.directory}/liberty/wlp/usr/shared/resources - - - - - io.openliberty.tools - liberty-maven-plugin @@ -141,7 +137,6 @@ - 3.10