Source code for the Thorntail project
Ladicek Merge pull request #1171 from Ladicek/fix-build-problems
THORN-2241: fix build so that all artifacts are properly built and SNAPSHOTs don't have to be downloaded when generating BOMs
Latest commit 24ca2c9 Nov 15, 2018
Permalink
Failed to load latest commit information.
.github Create issue templates Jun 5, 2018
.mvn/wrapper Add maven wrapper Apr 27, 2016
arquillian THORN-2205: the "swarm.*" system properties no longer work Nov 2, 2018
boms [maven-release-plugin] prepare for next development iteration Oct 30, 2018
build-parent THORN-2232 - Removed Teiid fraction from main Throntail build Nov 8, 2018
build-resources [maven-release-plugin] prepare for next development iteration Oct 30, 2018
cli [maven-release-plugin] prepare for next development iteration Oct 30, 2018
client-apis [maven-release-plugin] prepare for next development iteration Oct 30, 2018
core THORN-2205: the "swarm.*" system properties no longer work Nov 2, 2018
docs Renamed the Metrics howto to Application Metrics Nov 8, 2018
fractions Merge pull request #1171 from Ladicek/fix-build-problems Nov 15, 2018
meta [maven-release-plugin] prepare for next development iteration Oct 30, 2018
plugins [maven-release-plugin] prepare for next development iteration Oct 30, 2018
release Improvements/upgrade in release document and fetch scripts Nov 6, 2018
standalone-servers [maven-release-plugin] prepare for next development iteration Oct 30, 2018
swarmtool [maven-release-plugin] prepare for next development iteration Oct 30, 2018
testsuite [THORN-2231] Create a jsonp fraction test (#1166) Nov 8, 2018
thorntail-runner [maven-release-plugin] prepare for next development iteration Oct 30, 2018
tools [maven-release-plugin] prepare for next development iteration Oct 30, 2018
.gitignore Gradle plugin improvements (#1149) Oct 16, 2018
LICENSE.txt Compilation ok, test fails Jun 7, 2016
README.md Messed up image name Oct 10, 2018
mvnw Add maven wrapper Apr 27, 2016
mvnw.bat Add maven wrapper Apr 27, 2016
pom.xml THORN-2241: fix build so that all artifacts are properly built and SN… Nov 13, 2018

README.md

Build Status License Maven Central Join the chat at freenode:thorntail

Thorntail: Rightsize your JavaEE Applications

Issues for v2/master are being tracked using the JBoss issue tracking system (JIRA). Issues for v4 are being tracked in GitHub Issues. Bug reports and feature requests are greatly appreciated.

Thorntail Core

Thorntail provides a mechanism for building applications as uber jars, with just enough of the WildFly application server wrapped around it to support each application's use-case.

Note: Thorntail requires Maven 3.2.5 or higher for building your application.

Note: Thorntail requires JDK 8 or higher for building your application or for building Thorntail itself.

Project Configuration

In a normal WAR-based maven pom.xml, simply add the following

<plugin>
  <groupId>io.thorntail</groupId>
  <artifactId>thorntail-maven-plugin</artifactId>
  <version>${version.thorntail}</version>
  <executions>
    <execution>
      <phase>package</phase>
      <goals>
        <goal>package</goal>
      </goals>
    </execution>
  </executions>
</plugin>

This will take the .war file normally created by your build, and wrap it in the wildfly-swarm mechanisms.

If you normally produce myapp-1.0.war, in your target/ directory will then also be present a myapp-1.0-thorntail.jar.

In order to specify the portions of the WildFly AS your application needs, your pom.xml should specify some of the following dependencies within the io.thorntail Maven group-id:

  • bean-validation
  • cdi
  • ee
  • io
  • jaxrs
  • logging
  • naming
  • request-controller
  • security
  • transactions
  • undertow
  • and many more!

How To Build Thorntail Itself

Thorntail attempts to be a well-behaved Maven project. To install to your local repository for usage:

mvn clean install

If you're running short on time:

mvn clean install -DskipTests

Documentation

For a more complete set of documentation, go to the Thorntail Guide.

Community

  • We hang out in #thorntail on irc.freenode.net.