-
Notifications
You must be signed in to change notification settings - Fork 575
Add support for filtering Dockerfile based configuration #25
Comments
Can you describe more a. what you mean? |
Hi, I have same request here. |
@jorgemoralespou: workaround is simple, use maven-resources-plugin like:
Then |
@rodlogic Is this issue still relevant or can I close? If it's still relevant, please add more info. |
This is still wanted. The easiest way to explaine the wanted change is with the following diff:
|
+1. The workaround is ugly, the proposed solution is simple. |
The BuildMojo doesn't use maven-resources-plugin to copy the files/resources, so setting I think that @byF's workaround is the best solution as any sort of homegrown filtering logic we could add in BuildMojo would be less feature-rich than what already exists in |
Actually I looked at it a bit more and the resource-filtering logic seems like it can be reused from maven-resources-plugin. I have a branch with this change at https://github.com/spotify/docker-maven-plugin/tree/resource-filtering but I get some test failures related to Plexus that I don't understand, my guess is that the
|
I've looked into it and the reason is the I was trying to downgrade this plugin to use |
@byF nice catch! Looks like the maven-filtering library has had some activity recently to upgrade it to Maven 3.0 components, so perhaps that could be used instead of having to downgrade the entirety of this plugin to |
I built |
IMHO this very necessary change could render the whole maven xml DSL DockerFile alternative config unnecessary. +1 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No description provided.
The text was updated successfully, but these errors were encountered: