Dockerfile-maven: Avoid generating *-docker-info.jar

Created on 5 Oct 2017  路  8Comments  路  Source: spotify/dockerfile-maven

Hey guys!

Is there any way to avoid generating the -docker-info.jar?

If not, how can I change its name?

Thanks!

help wanted pinned

Most helpful comment

v1.4.10 includes PR259 and accepts

<configuration>
   <skipDockerInfo>true</skipDockerInfo>
</configuration>

Thank goodness, since I was having an issue running dockerfile-maven using a jgitflow release plugin due to duplicate writes of the docker info jar to a release Maven repo == failure!

All 8 comments

According to the debug log this second part of the name is stored in the _classifier_ parameter that could be re-initialized in _configuration_ section of the plugin. And the first part is the finalName parameter.
Nevertheless I might be wrong..

I'm having problems with an old nexus and the -info. I'd love to be able to skip its creation/deploy.

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.

/refresh

This should be fixed with commit with pr259 ?

v1.4.10 includes PR259 and accepts

<configuration>
   <skipDockerInfo>true</skipDockerInfo>
</configuration>

Thank goodness, since I was having an issue running dockerfile-maven using a jgitflow release plugin due to duplicate writes of the docker info jar to a release Maven repo == failure!

Is there a workaround for this issue? I'm also hitting this problem.

@angelosanramon see the comment above yours, this was added in #259

Was this page helpful?
0 / 5 - 0 ratings