This project contains the following fabric8 parts:
- Archetypes for creating new Java project using Maven Archetypes which are based on the github.com/fabric8-quickstarts
- System Tests the Fabric8 Arquillian based system tests for the Archetypes in the Archetype Catalog
The base quickstarts upon which these archetypes are derived now live in a new github.com repo: github.com/fabric8-quickstarts. Browse around there to see which quickstarts are interesting. Then you can create a quickstart with the archetypes like this:
mvn archetype:generate -DarchetypeGroupId=io.fabric8.archetypes -DarchetypeArtifactId=%archetype% -DarchetypeVersion=%latest%
Where %archetype% is jvm-implementation-archetype
.
For example, spring-boot-camel-archetype
is the name of a Camel quickstart that uses Spring Boot. karaf-camel-log-archetype
is a Karaf JVM with camel running in it with a timer that logs to developer logs, etc. See the fabric8 documentation for more information.
The build requires Maven version 3.2.5 or later and this project builds an archetype catalog from a "repolist.txt" file. If you would like to use the repolist.txt that is generated by the build, use the following command :
mvn -e -V -B -Dmaven.test.skip=true -DfailIfNoTests=false -Dtest=false -Dquickstarts.url.base=https://code.engineering.redhat.com/gerrit/fabric8-quickstarts -Dquickstart.git.repos=target/extra-resources/repolist.txt -Dgpg.skip -Prelease clean install
To run the system tests for all the quickstarts check out the docs on how to run them