Fabric8 :: Forge :: Maven Plugin

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

io.fabric8.forge
ArtifactId

ArtifactId

fabric8-forge-maven-plugin
Last Version

Last Version

2.3.90
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Fabric8 :: Forge :: Maven Plugin
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Project Organization

Project Organization

Red Hat

Download fabric8-forge-maven-plugin

How to add to project

<plugin>
    <groupId>io.fabric8.forge</groupId>
    <artifactId>fabric8-forge-maven-plugin</artifactId>
    <version>2.3.90</version>
</plugin>

Dependencies

compile (12)

Group / Artifact Type Version
org.apache.maven : maven-core jar 2.2.1
org.apache.maven : maven-artifact jar 2.2.1
org.apache.maven : maven-plugin-api jar 2.2.1
org.apache.maven : maven-plugin-descriptor jar 2.2.1
org.apache.maven : maven-project jar 2.2.1
org.apache.maven.shared : maven-dependency-tree jar 2.2
org.codehaus.plexus : plexus-container-default jar 1.6
org.codehaus.plexus : plexus-utils jar 3.0.22
org.sonatype.plexus : plexus-build-api jar 0.0.7
org.apache.maven.shared : maven-invoker jar 2.2
org.apache.maven.archetype : archetype-catalog jar 2.4
io.fabric8.archetypes : archetypes-catalog jar 2.2.197

Project Modules

There are no modules declared in this project.

Fabric8 Forge

This project contains the Fabric8 extensions for JBoss Forge. It includes:

Documentation

For more details see the Fabric8 Forge Documentation

Fabric8 Forge based system tests

To check out the systems tests check out the system test documentation

Building the addons

To try out addons:

cd addons
mvn install

Then you can install the addons into forge via the forge addon-install command using the current snapshot build version

Trying the addons locally

If you startup forge you can then install the local builds of the addons via:

addon-install --coordinate io.fabric8.forge:camel,2.3-SNAPSHOT
addon-install --coordinate io.fabric8.forge:camel-commands,2.3-SNAPSHOT
addon-install --coordinate io.fabric8.forge:devops,2.3-SNAPSHOT

To remove any of them type:

addon-remove --addons io.fabric8.forge:camel,2.3-SNAPSHOT
addon-remove --addons io.fabric8.forge:camel-commands,2.3-SNAPSHOT
addon-remove --addons io.fabric8.forge:devops,2.3-SNAPSHOT

Building and testing REST service

To build everything and run it in your local OpenShift installation on your laptop try:

mvn -Dtest=false install 
cd fabric8-forge
mvn fabric8:resource-apply

The test case in the fabric8-forge module takes a while to build as it pre-populates the local maven repository with all the required jars for the Forge tooling.

So you might want to only include tests in the fabric8-forge module the first build of the day, then disable tests after that?

io.fabric8.forge

fabric8

open source development platform for kubernetes

Versions

Version
2.3.90
2.3.88
2.3.87
2.3.86
2.3.85
2.3.84
2.3.83
2.3.82
2.3.81
2.3.80