Skip to content

@cherylking cherylking released this Oct 16, 2019 · 27 commits to master since this release

Version 3.1 of the Liberty Maven Plugin introduces new functionality, fixes some issues with thedev 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.

Second, the 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.

Finally, the package goal is changed to support packageType of tar and 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. If jar is specified for packageType without 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.

Assets 2
You can’t perform that action at this time.