Maven plugin for getting your Java apps on to Kubernetes and OpenShift
Перейти к файлу
microsoft-github-policy-service[bot] 00677883c7
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2022-12-23 07:46:53 +00:00
.github Fine tuned issue template 2016-10-23 10:06:21 +02:00
core Minor changes and adjusted doc 2017-08-29 13:00:08 +02:00
doc Minor changes and adjusted doc 2017-08-29 13:00:08 +02:00
enricher Minor changes and adjusted doc 2017-08-29 13:00:08 +02:00
generator Fixes #992 2017-08-01 16:31:26 +02:00
it Minor changes and adjusted doc 2017-08-29 13:00:08 +02:00
parent Update pom property fabric8.maven.plugin.version to 3.5.25 2017-08-17 16:28:19 +00:00
plugin Minor changes and adjusted doc 2017-08-29 13:00:08 +02:00
samples Minor changes and adjusted doc 2017-08-29 13:00:08 +02:00
watcher Fixes #965 by improving spring-boot probes 2017-07-25 13:25:49 +02:00
.codecov.yml minor codecov tuning 2017-01-31 21:55:11 +01:00
.gitignore improve support for generating jobs 2017-07-27 10:40:59 +01:00
.lgtm lgtm.co integration 2016-07-14 12:52:27 +02:00
.travis.yml Add sonarqube integration 2017-02-19 11:11:43 +01:00
CHANGELOG.md Changed to fabric8/java-jboss-openjdk8-jdk as base image. Related to #878. 2017-03-14 14:39:43 +01:00
Jenkinsfile lets enable CI and CD in the pipeline 2017-07-21 11:19:55 +01:00
README.md Fix sonarqube link 2017-03-22 08:16:54 +01:00
SECURITY.md Microsoft mandatory file 2022-08-29 14:03:05 +00:00
pom.xml chore(version): get ready for next release 2017-07-04 08:17:30 +01:00
release.groovy update the downstream PRs 2017-08-25 10:36:51 +01:00

README.md

fabric8-maven-plugin

Maven Central Coverage Technical Debt Dependency Status

fabric8 logo

This Maven plugin is a one-stop-shop for building and deploying Java applications for Docker, Kubernetes and OpenShift.

What to get started fast? Check out the busy Java developers guide to developing microservices on Kubernetes and Docker.

The full documentation can be found in the User Manual [PDF]. It supports the following goals:

Goal Description
fabric8:resource Create Kubernetes and OpenShift resource descriptors
fabric8:build Build Docker images
fabric8:push Push Docker images to a registry
fabric8:deploy Deploy Kubernetes / OpenShift resource objects to a cluster
fabric8:watch Watch for doing rebuilds and restarts

Features

  • Includes docker-maven-plugin for dealing with Docker images and hence inherits its flexible and powerful configuration.
  • Supports both Kubernetes and OpenShift descriptors
  • OpenShift Docker builds with a binary source (as an alternative to a direct image build agains a Docker daemon)
  • Various configuration styles:
    • Zero Config for a quick ramp-up where opinionated defaults will be pre-selected.
    • Inline Configuration within the plugin configuration in an XML syntax
    • External Configuration templates of the real deployment descriptors which are enriched by the plugin.
  • Flexible customization:
    • Generators analyze the Maven build and generated automatic Docker image configurations for certain systems (spring-boot, plain java, karaf ...)
    • Enrichers extend the Kubernetes / OpenShift resource descriptors by extra information like SCM labels and can add default objects like Services.
    • Generators and Enrichers can be individually configured and combined into profiles

Documentation and Support

  • User Manual [PDF]
  • Examples are in the samples directory
  • Many fabric8 Quickstarts use this plugin and are good showcases, too.
  • You'll find us in the fabric8 community and on IRC freenode in channel #fabric8 and we are happy to answer any questions.
  • Contributions are highly appreciated and encouraged. Please send us Pull Requests.

fabric8-maven-plugin 3 vs. 2

This is a complete rewrite of the former fabric8-maven plugin. It does not share the same configuration syntax, but migration should be straight forward - please use the fabric8:migrate goal from 2.x of the plugin.