I am struggling to understand the DMP, and how to get it to include a zip or tar archive.
We have a relatively complex app structure that is assembled as a zip or tar archive with another maven pom. This is installed as a maven artifact in our repo.
I want to have that zip expanded in the docker image (say under /opt, but /maven would work fine as well).
The assembly descriptor never matches the artifact pattern:
<assembly>
<inline>
<dependencySets>
<dependencySet>
<includes>
<include>org.acme.microservice.auth:authn-zip:zip:${project.version}</include>
</includes>
<outputDirectory>.</outputDirectory>
</dependencySet>
</dependencySets>
</inline>
</assembly>
If I run a mvn docker:build, I see:
WARNING] Cannot include project artifact: org.acme.microservice.authn:authn-docker:pom:1.0.0-SNAPSHOT; it doesn't have an associated file or directory.
[WARNING] The following patterns were never triggered in this artifact inclusion filter:
o 'org.acme.microservice.auth:authn-zip:zip:1.0.0-SNAPSHOT'
I am probably doing it wrong.
Suggestions are welcome!!