Source code for the WildFly Swarm project
Java Other
Latest commit effd943 Jan 18, 2017 @kenfinnigan kenfinnigan SWARM-966: Cleanup of previous PR
Motivation
----------
Remove some redudant code.

Modifications
-------------
Simplified .substring() usage and removed unnecessary File creation.

Result
------
No impact on behavior
Permalink
Failed to load latest commit information.
.github Subject: Modify PR template (#100) Aug 23, 2016
.mvn/wrapper Add maven wrapper Apr 27, 2016
arquillian SWARM-994 - @DefaultDeployment should default to WAR, not JAR. -- BRE… Jan 13, 2017
boms [maven-release-plugin] prepare for next development iteration Jan 4, 2017
core SWARM-966: Cleanup of previous PR Jan 18, 2017
fraction-list [maven-release-plugin] prepare for next development iteration Jan 4, 2017
fractions SWARM-987 - Enable spatial capabilities. (#301) Jan 13, 2017
jaxrs-client-api [maven-release-plugin] prepare for next development iteration Jan 4, 2017
plugin Classifier may be null, improved checking to avoid NPE. (#292) Jan 10, 2017
public-javadoc [maven-release-plugin] prepare for next development iteration Jan 4, 2017
release Improve release notes and JIRA-scraping script. Dec 15, 2016
standalone-servers SWARM-971: Code Style verification in build (#291) Jan 9, 2017
swarmtool SWARM-971: Code Style verification in build (#291) Jan 9, 2017
testsuite SWARM-994 - @DefaultDeployment should default to WAR, not JAR. -- BRE… Jan 13, 2017
tools SWARM-971: Code Style verification (#285) Jan 6, 2017
.gitignore Arquillian test did no work in gradle builds, this led to larger revi… Oct 31, 2016
LICENSE.txt Compilation ok, test fails Jun 7, 2016
README.md Updated CI Build Status link Jan 3, 2017
mvnw Add maven wrapper Apr 27, 2016
mvnw.bat Add maven wrapper Apr 27, 2016
pom.xml SWARM-987 - Enable spatial capabilities. (#301) Jan 13, 2017

README.md

WildFly Swarm: Rightsize your JavaEE Applications

Build Status License Maven Central Join the chat at freenode:wildfly-swarm

We rely on the Java profiler from EJ Technologies

Supported by JProfiler

WildFly Swarm Core

WildFly Swarm 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: WildFly Swarm requires Maven 3.2.5 or higher for building your application.

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

Project Configuration

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

<plugin>
  <groupId>org.wildfly.swarm</groupId>
  <artifactId>wildfly-swarm-plugin</artifactId>
  <version>${version.wildfly-swarm}</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-swarm.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 org.wildfly.swarm Maven group-id:

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

How To Build WildFly Swarm Itself

WildFly Swarm 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

Issue Tracking

Issues are being tracked using the JBoss issue tracking system (JIRA). Bug reports and feature requests are greatly appreciated.

Documentation

For a more complete set of documentation, go to the WildFly Swarm User's Guide.

Community

  • We hang out in #wildfly-swarm on irc.freenode.net.
  • Logs can be found here