Version 3.1 of the Liberty Maven Plugin introduces new functionality, fixes some issues with the
dev goal and contains other minor fixes.
The new functionality is aimed at improving the developer experience. First, support is added to specify Liberty configuration using Maven properties as described in the common server parameters. This provides an easy mechanism to override or add Liberty configuration from the command line or as Maven properties in the pom.xml file.
run goal now implicitly creates the server, installs features referenced by the server.xml file, and deploys the application before starting the server in the foreground.
package goal is changed to support
tar.gz. The serverRoot parameter is added. Also,
runnable can be specified for the
include parameter once again to create a runnable jar file. When
runnable is specified, the
packageType defaults to
jar is specified for
runnable in the
include parameter, a self-extracting jar file is created.
See the commit log for the full set of the changes.
The Liberty Maven Plugin 3.1 release is available on the Maven Central repository.