Skip to content

WildFly Swarm Maven Changes

Last week, a new version, 1.0.0.Alpha6 of WildFly Swarm was released. One of the main features of this release, from a development point of view, is the simplified handling of dependencies within a project's pom.xml file.

All of the artifactId values for WildFly Swarm dependencies have been simplified from wildfly-swarm-artifactName to simply artifactName

Recently, I showed how to create a simple JAX-RS application using WildFly Swarm. With the previous version of WildFly Swarm, 1.0.0.Alpha5, the JAX-RS Swarm dependency was defined as:

<dependency>
  <groupId>org.wildfly.swarm</groupId>
  <artifactId>wildfly-swarm-jaxrs</artifactId>
  <version>${swarm.version}</version>
</dependency>

Now, with version 1.0.0.Alpha6 of WildFly Swarm, the dependency looks like:

<dependency>
  <groupId>org.wildfly.swarm</groupId>
  <artifactId>jaxrs</artifactId>
  <version>${swarm.version}</version>
</dependency>

It's a relatively small change, but it makes the pom.xml file more compact and readable.

I've updated my sample JAX-RS application on GitHub to support this latest version of WildFly Swarm.

Leave a Reply

Your email address will not be published. Required fields are marked *