Announcement 1.0.0.CR1

What’s New?

  • CLI Support

  • Enhanced standalone.xml support

  • SwarmTool

  • Resource Adapter archives

  • JPA fraction with PostgreSQL

  • Examples with WildFly Camel

  • Datasource configuration settable by properties

CLI Support

Your -swarm.jar`s now support basic command-line options to make on-the-go changes easier. In the event you’re already using `org.wildfly.swarm.Swarm as your main entry-point (or otherwise haven’t specified a main(…​)), you can see what’s available by

java -jar myapp-swarm.jar --help

If you have a custom main(…​), just start passing your String…​args to the constructor of Swarm (or Container) and your application will gain access to things like -D, -c and -b among others.

Enhanced standalone.xml support

On the heels of the CLI support above, which gives you the ability to pass a standalone.xml using the -c option, WildFly Swarm now also supports passing a partial standalone.xml. Previously, you had to decide if you were using standalone.xml or configuration through the Java API.

Now, if you pass a standalone.xml, its configuration will win, but anything not configured through XML can still be configured through the normal Java API, or through the defaults provided by WildFly Swarm fractions.

SwarmTool

SwarmTool provides a command-line tool for turning an existing WAR into a -swarm.jar without requiring Maven or Gradle, only Java. For installation and usage instructions, see the User’s Guide.

Changelog

Release notes for 1.0.0.CR1 are available here.

  • [ SWARM-6 ] swarmtool should support setting fully-qualified fractions
  • [ SWARM-8 ] swarmtool should be documented in gitbooks
  • [ SWARM-178 ] add tests to swarmtool
  • [ SWARM-230 ] Static content not reloaded on local change when running org.wildfly.swarm.Swarm
  • [ SWARM-265 ] Add resource-adapters subsystem from WildFly
  • [ SWARM-289 ] JavaFX as a dependency with scope=runtime fails to work
  • [ SWARM-294 ] Tool that can take an existing WAR and Swarmify it
  • [ SWARM-299 ] Missing dependency causes XmlPullParserException
  • [ SWARM-302 ] Expose maven plugin configuration as -D'able properties
  • [ SWARM-304 ] Ability to set all parts of module definition in jboss-deployment-structure.xml
  • [ SWARM-312 ] JPA Fraction for PostgreSQL
  • [ SWARM-342 ] Create a DatasourceArchive so that examples don't need to use JARArchive directly.
  • [ SWARM-349 ] The two flavors of getImplicitDeployments() in the ServerConfiguration SPI is error-prone and confusing
  • [ SWARM-354 ] Consider having our main pass along sysprops
  • [ SWARM-364 ] Ability to use a custom datasource without a custom Main()
  • [ SWARM-391 ] Support for RAR archive deployments
  • [ SWARM-405 ] mvn wildfly-swarm:run should gracefully shutdown when interrupted from an embedded maven runtime
  • [ SWARM-425 ] Add examples for wildfly-camel
  • [ SWARM-431 ] Add example for camel-mail
  • [ SWARM-434 ] Allow Swarmed JARs to be executable
  • [ SWARM-460 ] NoClassDefFoundError: io/undertow/servlet/ServletExtension in Beta7 and Beta8
  • [ SWARM-463 ] Allow standalone.xml to represent partial configuration of the container
  • [ SWARM-464 ] addPackage() on JAXRSArchive doesn't seem to add the classes in that package
  • [ SWARM-466 ] Keycloak v1.9.4.Final
  • [ SWARM-468 ] Expose setting main from swarmtool
  • [ SWARM-469 ] Expose adding module dirs to swarmtool
  • [ SWARM-470 ] Expose setting additional repos in swarmtool
  • [ SWARM-471 ] Expose option to create executable jar in swarmtool
  • [ SWARM-472 ] Incorrect service teardown order
  • [ SWARM-473 ] Support more CLI options to default Swarm jars
  • [ SWARM-476 ] Expose remaining jackson libraries from resteasy
  • [ SWARM-483 ] camel-cdi throws NCDFE with WAR deployment
  • [ SWARM-484 ] Show external configuration of a datasource

Resources

Per usual, we tend to hang out on irc.freenode.net in #wildfly-swarm.

All bug and feature-tracking is kept in JIRA.

Documentation for this release is available.

Thank you, Contributors!

We appreciate all of our contributors since the last release:

Core

  • emag

  • Heiko Braun

  • Toby Crawley

  • John D. Ament

  • Ken Finnigan

  • George Gastaldi

  • Martin Kouba

  • Bob McWhirter

Non Core

  • Heiko Braun

  • Ken Finnigan

  • George Gastaldi

  • Bob McWhirter

Examples

  • Ralf Battenfeld

  • Heiko Braun

  • Thomas Diesler

  • Ken Finnigan

  • Bob McWhirter

  • James Netherton

  • Tomas Remes

Documentation

  • George Gastaldi

  • Heiko Braun

  • Ken Finnigan

  • Toby Crawley