Skip to content
Examples of how to write applications using Swarm.
JavaScript Java HTML CSS Ruby Scala Other
Branch: master
Clone or download

Latest commit

Ladicek Merge pull request #224 from thorntail/dependabot/maven/ribbon/events…
…/com.fasterxml.jackson.core-jackson-databind-2.9.10.4

Bump jackson-databind from 2.6.0-rc4 to 2.9.10.4 in /ribbon/events
Latest commit 6675469 May 18, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
arjuna Prepare for next development version Dec 5, 2019
base Prepare for next development version Dec 5, 2019
config-options Prepare for next development version Dec 5, 2019
datasource Prepare for next development version Dec 5, 2019
docker-wrapper THORN-2120 READMEs have outdated wildfly-swarm and -swarm names Aug 15, 2018
docker Prepare for next development version Dec 5, 2019
flyway Prepare for next development version Dec 5, 2019
gradle-examples Prepare for next development version Dec 5, 2019
jaeger Prepare for next development version Dec 5, 2019
jaxrs Prepare for next development version Dec 5, 2019
jaxws Prepare for next development version Dec 5, 2019
jpa-jaxrs-cdi Prepare for next development version Dec 5, 2019
jpa Prepare for next development version Dec 5, 2019
jruby-sinatra update some http:// URLs to https:// Feb 11, 2020
jsf Prepare for next development version Dec 5, 2019
kitchensink-html5-mobile Update README.md Jan 28, 2019
logstash Prepare for next development version Dec 5, 2019
management-console Prepare for next development version Dec 5, 2019
messaging Prepare for next development version Dec 5, 2019
microprofile-opentracing Prepare for next development version Dec 5, 2019
microprofile Prepare for next development version Dec 5, 2019
opentracing Prepare for next development version Dec 5, 2019
resource-adapter Prepare for next development version Dec 5, 2019
ribbon-consul Bump jackson-databind in /ribbon-consul/events May 15, 2020
ribbon Bump jackson-databind from 2.6.0-rc4 to 2.9.10.4 in /ribbon/events May 15, 2020
security update some http:// URLs to https:// Feb 11, 2020
servlet Prepare for next development version Dec 5, 2019
spring Prepare for next development version Dec 5, 2019
static Prepare for next development version Dec 5, 2019
transactions Prepare for next development version Dec 5, 2019
vaadin Use HTTPS instead of HTTP to resolve dependencies Feb 11, 2020
vertx Prepare for next development version Dec 5, 2019
.gitignore Updating the Gradle examples (#191) Oct 16, 2018
LICENSE.txt Add license, readme and gitignore Jun 4, 2015
README.adoc update some http:// URLs to https:// Feb 11, 2020
pom.xml Prepare for next development version Dec 5, 2019
versionBump.sh vaadin version updates, added next Vaadin LTS demo (V14) Jun 20, 2019

README.adoc

thorntail Examples

Please raise any issues found with the examples in our JIRA: https://issues.jboss.org/browse/THORN

Thorntail

This repository contains examples for the Thorntail project.

It is currently listed as alpha release software, subject to massive, possibly-breaking, changes as we determine exactly how it should all hang together.

These Examples

These examples demonstrate utilizing and combining different parts of WildFly to create a self-contained executable jar. They provide small, specific, working examples that can be used as a reference for your own project.

By default, this repository uses SNAPSHOT versions of Thorntail. They are used to test particular aspects of the Thorntail project in addition to being useful examples of what you can do and how you can do it.

Since these examples are SNAPSHOT-centric, our snapshot repository is added to the root pom.xml. If you were to build Thorntail directly, that would of course take precedence.

If you want to build these examples as they stand (using the snapshot) then you should start by either running mvn install (use -DskipTests if you only want to run a specific test(s) at a time) or mvn install inside base/ first and then you can build each individually.

If you want to use our snapshot repository in your own projects, include this in your pom.xml:

<repositories>
  <repository>
    <id>projectodd-snapshots</id>
    <name>Project:odd Snapshots from CI</name>
    <url>https://repository-projectodd.forge.cloudbees.com/snapshot</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>
<pluginRepositories>
  <pluginRepository>
    <id>projectodd-snapshots</id>
    <name>Project:odd Snapshots from CI</name>
    <url>https://repository-projectodd.forge.cloudbees.com/snapshot</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
  </pluginRepository>
</pluginRepositories>

To run the examples for a given release, please clone and checkout the particular Git tag or download from the releases.

UberJar vs non

By default, each example runs using the Maven plugin without constructing an uberjar. To run them as an uberjar, use the -Puberjar profile when invoking Maven.

mvn install -Puberjar

Docker

We have some examples that use Docker which are located in /docker. Building the examples requires that Docker is installed on your machine and that you run Maven with:

mvn install -Pdocker
You can’t perform that action at this time.