question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unification of docker-maven-plugin and fabric8-maven-plugin

See original GitHub issue

The fabric8-maven-plugin is quite similar to this plugin. This plugins manage all facets for integrating Docker in the Maven build cycle. fabric8-maven-plugin does the same for Kubernetes and OpenShift and relies on docker-maven-plugin for generating the images.

There is quite some overlap in configuration (guess it’s around 80%) and since I’m working with both, I believe its a good idea to combine both. Unfortunately it is not possible to share configuration between plugins. A unification will widen the scope of this combined plugin, yes, but it will make it also much more powerful. For example, if we add finally docker-compose support we could easily map docker compose to Kubernetes configuration. For people using Kubernetes with Maven this would be a big, big win.

But before I start, I’d like to collect some opinions on that. Do you see any drawbacks when combining these plugins ? Do you also think its a good idea ?

Fire at will 😃

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rhusscommented, Mar 23, 2018

This issue is quite old and a lot of things have happened in the meantime. The current status is:

  • I have no ideas about Jenkins X and as it uses an orthogonal approach there will be no overlap
  • d-m-p already went into f-m-p and is used for all plain Docker builds (but not s2i builds)
  • The generator framework is still f-m-p only but it is planned to adopt it for d-m-p, too.
  • The general vision is outlined in https://github.com/fabric8io/fabric8-build for a possible future of d-m-p and f-m-p
0reactions
rhusscommented, Mar 26, 2018

Yes, there is a difference:

  • f-m-p only exposes the “build” goal from d-m-p, nothing about “run” or any other goals.
  • f-m-p adds OpenShift s2i capabilitites to the build, which are not available in d-m-p
Read more comments on GitHub >

github_iconTop Results From Across the Web

fabric8io/docker-maven-plugin
This is a Maven plugin for managing Docker images and containers. ... fabric8-maven-plugin filters given Dockerfile with Maven properties, ...
Read more >
fabric8io/fabric8-maven-plugin
This plugin focus on two tasks: Building Docker images and creating Kubernetes and OpenShift resource descriptors.
Read more >
General Questions | Fabric8 Documentation
The fabric8-maven-plugin is intended for Java developers developing applications "pre git-commit" on their laptops. It gives Java developers a familiar way ...
Read more >
Maven Plugin | Fabric8 Documentation
The fabric8 maven plugin makes it easy to work with Docker and Kubernetes or OpenShift from inside your existing Maven project. Version 3.x....
Read more >
Maven Plugin | Fabric8 Documentation
Fabric8 Maven Plugin · uploads any artifacts into the fabric's maven repository · lazily creates the fabric profile or version you specify ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found