Fabric8 Maven :: Parent


License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

io.fabric8
ArtifactId

ArtifactId

fabric8-maven-parent
Last Version

Last Version

4.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

Fabric8 Maven :: Parent
Fabric8 Maven :: Parent
Project URL

Project URL

http://github.com/fabric8io/fabric8-maven-plugin

Download fabric8-maven-parent

How to add to project

<!-- https://jarcasting.com/artifacts/io.fabric8/fabric8-maven-parent/ -->
<dependency>
    <groupId>io.fabric8</groupId>
    <artifactId>fabric8-maven-parent</artifactId>
    <version>4.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.fabric8/fabric8-maven-parent/
implementation 'io.fabric8:fabric8-maven-parent:4.1.0'
// https://jarcasting.com/artifacts/io.fabric8/fabric8-maven-parent/
implementation ("io.fabric8:fabric8-maven-parent:4.1.0")
'io.fabric8:fabric8-maven-parent:pom:4.1.0'
<dependency org="io.fabric8" name="fabric8-maven-parent" rev="4.1.0">
  <artifact name="fabric8-maven-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.fabric8', module='fabric8-maven-parent', version='4.1.0')
)
libraryDependencies += "io.fabric8" % "fabric8-maven-parent" % "4.1.0"
[io.fabric8/fabric8-maven-parent "4.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Deprecation Note:

This project has been moved to https://github.com/eclipse/jkube . All new features would be implemented there and support for FMP would be eventually dropped.

fabric8-maven-plugin

Maven Central Circle CI Coverage Technical Debt Dependency Status

fabric8 logo

Watch the full asciicast

Introduction

This Maven plugin is a one-stop-shop for building and deploying Java applications for Docker, Kubernetes and OpenShift. It brings your Java applications on to Kubernetes and OpenShift. It provides a tight integration into maven and benefits from the build configuration already provided. It focuses on three tasks:

  • Building Docker images
  • Creating OpenShift and Kubernetes resources
  • Deploy application on Kubernetes and OpenShift

Usage

To enable fabric8 maven plugin on your project just add this to the plugins sections of your pom.xml:

      <plugin>
        <groupId>io.fabric8</groupId>
        <artifactId>fabric8-maven-plugin</artifactId>
        <version>${fmp.version}</version>
      </plugin>

Want to get started fast? Check out the Blogpost for Getting Started with Fabric8 Maven Plugin.

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 against a Docker daemon)
  • Various configuration styles:
    • Zero Configuration 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

OpenShift and Kubernetes Compatibility

✔️ : Supported, all available features can be used

: Not supported at all

🔵 : Supported, but not all features can be used

OpenShift
FMP Openshift 4.2.0 Openshift 4.1.0 OpenShift 3.11.0 OpenShift 3.10.0 OpenShift 3.9.0 OpenShift 3.7.0 OpenShift 3.6.0
FMP 4.4.1 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.4.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.3.1 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.3.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.2.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.1.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.0.0 🔵 🔵 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.0.0-M1 🔵 🔵 🔵 🔵 ✔️ ✔️ ✔️
FMP 4.0.0-M2 🔵 🔵 🔵 🔵 ✔️ ✔️ ✔️
FMP 3.5.42 🔵 ✔️ ✔️
FMP 3.5.41 🔵 ✔️ ✔️
FMP 3.5.40 🔵 ✔️ ✔️
FMP 3.5.39 ✔️ ✔️
FMP 3.5.38 ✔️ ✔️
FMP 3.5.37 ✔️ ✔️
FMP 3.5.35 ✔️ ✔️
FMP 3.5.34 ✔️ ✔️
FMP 3.5.33 ✔️ ✔️
FMP 3.5.32 ✔️ ✔️
Kubernetes
FMP Kubernetes 1.15.3 Kubernetes 1.14.2 Kubernetes 1.12.0 Kubernetes 1.11.0 Kubernetes 1.10.0 Kubernetes 1.9.0 Kubernetes 1.8.0 Kubernetes 1.7.0 Kubernetes 1.6.0 Kubernetes 1.5.1 Kubernetes 1.4.0
FMP 4.4.1 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.4.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.3.1 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.3.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.2.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.1.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.0.0 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
FMP 4.0.0-M2 🔵 🔵 🔵 ✔️ ✔️ ✔️ ✔️
FMP 4.0.0-M1 🔵 🔵 🔵 ✔️ ✔️ ✔️ ✔️
FMP 3.5.42 🔵 🔵 🔵 🔵 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.41 🔵 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.40 🔵 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.39 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.38 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.37 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.35 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.34 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.33 ✔️ ✔️ ✔️ ✔️ ✔️
FMP 3.5.32 ✔️ ✔️ ✔️ ✔️ ✔️

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.

io.fabric8

fabric8

open source development platform for kubernetes

Versions

Version
4.1.0
4.0.0
4.0.0-M2
4.0.0-M1
3.5.42
3.5.41
3.5.40
3.5.39
3.5.38
3.5.37
3.5.35
3.5.34
3.5.33
3.5.32
3.5.31
3.5.30
3.5.29
3.5.28
3.5.26
3.5.25
3.5.22
3.5.21
3.5.20
3.5.19
3.5.17
3.5.16
3.5.15
3.5.14
3.5.13
3.5.12
3.5.10
3.5.9
3.5.5
3.5.4
3.5.2
3.5.1
3.5.0
3.4.2
3.4.1
3.4.0
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.31
3.2.30
3.2.28
3.2.27
3.2.26
3.2.20
3.2.19
3.2.18
3.2.17
3.2.16
3.2.15
3.2.14
3.2.13
3.2.12
3.2.11
3.2.10
3.2.9
3.2.8
3.2.7
3.2.5
3.2.4
3.2.1
3.1.92
3.1.90
3.1.89
3.1.88
3.1.87
3.1.86
3.1.84
3.1.83
3.1.81
3.1.80
3.1.79
3.1.76
3.1.75
3.1.74
3.1.73
3.1.72
3.1.71
3.1.70
3.1.69
3.1.68
3.1.67
3.1.66
3.1.65
3.1.64
3.1.63
3.1.62
3.1.61
3.1.59
3.1.58
3.1.57
3.1.56
3.1.55
3.1.53
3.1.52
3.1.50
3.1.49
3.1.48
3.1.46
3.1.45
3.1.44
3.1.43
3.1.42
3.1.39
3.1.38
3.1.37
3.1.36
3.1.35
3.1.34
3.1.33
3.1.32
3.1.31
3.1.30
3.1.29
3.1.28
3.1.27
3.1.24
3.1.23
3.1.22
3.1.21
3.1.20
3.1.19
3.1.18
3.1.17
3.1.15
3.1.14
3.1.13
3.1.12
3.1.11
3.1.10
3.1.9
3.1.8
3.1.7
3.1.4
3.1.3
3.1.2
3.1.1
3.0.35
3.0.34
3.0.33
3.0.32
3.0.31
3.0.28
3.0.26
3.0.25
3.0.24
3.0.23
3.0.22
3.0.21
3.0.20
3.0.19
3.0.18
3.0.17
3.0.16
3.0.15
3.0.14
3.0.11
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.0-M3
3.0.0-M2
3.0.0-M1