SAP-archive / devops-docker-mta-archive-builder

Dockerfile the MTA Archive Builder is deprecated and sunset.
5 stars 7 forks source link

Maven ngdbc dependency is not included in the image #21

Closed ArneFeys closed 5 years ago

ArneFeys commented 5 years ago

When using the mta archive builder, I need to add following dependency to the image manually:

mvn install:install-file -Dfile="~/ngdbc-2.3.48.jar" -DgroupId="local.drivers" -DartifactId="ngdbc" -Dversion="2.3.48" -Dpackaging="jar"

Would it be possible to include it in the image? Thank you.

benhei commented 5 years ago

This image serves the purpose of providing a mta build environment. It does not serve the purpose of pre-shipping specific dependencies of applications.

Would it be possible for you to use a maven repository during the build that contains the artifact that you are trying to use? That would feel to me like a more natural approach. You could also perform the mvn install:install from a local file before conducting your mta build.

ArneFeys commented 5 years ago

Thank you for your reply. We have decided to go with installing the ngdbc dependency just before each build. In the future we are looking to use a local maven repository. Thank you!