Skip to content

Releases: OpenLiberty/ci.maven

Liberty Maven Plug-in 3.7.1

21 Oct 14:48
Compare
Choose a tag to compare

Version 3.7.1 of the Liberty Maven Plugin is a minor fix release that contains a couple of fixes. 

The following fixes are included in this release.

  • Fix server.env file processing to handle blank lines and comment lines #1603 #1602
  • Add binary scanner license to our documentation #1595 #1601
  • Add build directory parameter when installing features to enable cleanup of internal folder with generated schema files #1599

See the commit log for the full set of the changes since the previous release.

The Liberty Maven Plugin 3.7.1 release is available on the Maven Central repository.

Liberty Maven Plug-in 3.7

21 Sep 19:25
Compare
Choose a tag to compare

Version 3.7 of the Liberty Maven Plugin is a minor release that adds functionality and provides some fixes. 

Jakarta EE9 and MicroProfile 5 support has been added for the generate-features goal. This support is also included for the dev and devc goals when feature generation is turned on.

The Liberty Maven Plugin now supports running with Java 17. The Liberty Maven Plugin is tested with Long-Term-Support (LTS) releases of Java. The plugin, as of release 3.7, supports Java 8, 11 and 17. Prior to this version, the plugin is supported on Java 8 and 11.

Additional Fixes

The following fixes are also included in this release.

  • Fix for #1203 and #1176 related to dev mode and multi-module support.
  • Copy SpringBoot application to devc folder in container #1576.
  • Removed docker scan suggestion on devc docker build #1575.
  • Update README to include information on Java support.
  • Add test case for multiple user feature.

See the commit log for the full set of the changes since the previous release.

The Liberty Maven Plugin 3.7 release is available on the Maven Central repository.

Liberty Maven Plug-in 3.6.1

21 Jun 15:28
Compare
Choose a tag to compare

Version 3.6.1 of the Liberty Maven Plugin is a minor fix release that contains a few fixes. 

Liberty dev mode has been updated to disable generate features by default. A new warning explaining that the source configuration directory will be modified is now displayed when generate features is toggled on using the g hotkey and when dev mode is started with the generateFeatures flag set to true.  For more information, refer to the dev goal and generate-features goal documentation.

Additional Fixes

The following fixes are also included in this release.

  • An improved dev mode startup message and help menu to make the hotkeys stand out more
  • Run generate features (if enabled) after a conflicting feature is removed from server configuration
  • If toggling on generate features using the g hotkey creates the configDropins/overrides directory, the generated features are now installed

See the commit log for the full set of the changes since the previous milestone release.

The Liberty Maven Plugin 3.6.1 release is available on the Maven Central repository.

Liberty Maven Plugin 3.6 Release

27 May 21:21
Compare
Choose a tag to compare

Version 3.6 of the Liberty Maven Plugin is a minor release that contains new functionality, plus some minor fixes.

The new functionality includes the generate-features goal. This goal creates a Liberty configuration file, generated-features.xml, containing the Liberty features required by the application. Refer to the generate-features goal for more information.

With the new generate-features goal comes new behavior for Liberty dev mode. By default, dev mode will invoke the generate-features goal both at start-up and whenever code or configuration changes are detected. Users can toggle feature generation on and off with the new g hotkey. Users can also optimize the generated feature list using the new o hotkey.

Additional Fixes

The following additional fixes are also included in this release.

See the commit log for the full set of the changes since the previous milestone release.

The Liberty Maven Plugin 3.6 release is available on the Maven Central repository.

Liberty Maven Plug-in 3.5.2

27 Apr 13:53
Compare
Choose a tag to compare

Version 3.5.2 of the Liberty Maven Plugin is a minor fix release that contains a few fixes.

Support was also added for exploded loose 'war' applications. More information can be found in the dev goal documentation.

The following fixes are included in this release.

  • Fixes related to log4j references #1335 #1338
  • Return correct artifact file path for Maven artifact - fix for user feature installation #1371 #1372
  • Fix regression related to determining Liberty runtime version from dependency management #1361 #1464
  • Added support for exploded loose 'war' applications #1289 #1362

See the commit log for the full set of the changes since the previous milestone release.

The Liberty Maven Plugin 3.5.2 release is available on the Maven Central repository.

Liberty Maven Plug-in 3.5.1

03 Dec 14:40
Compare
Choose a tag to compare

Version 3.5.1 of the Liberty Maven Plugin is a minor fix release that contains a few fixes. One notable change is the blocking of dev mode with Maven versions 3.8.2 and 3.8.3 due to a known Maven issue. This has been fixed in Maven version 3.8.4.

Support was also added for specifying the libertyRuntimeGroupId and libertyRuntimeArtifactId as parameters or properties, in addition to the libertyRuntimeVersion which was already supported. See the common parameters for more information. Some examples using the new parameters / properties can be found in the Liberty installation configuration documentation.

The following fixes are included in this release.

  • Fixed issue with dev mode and loose application support #1285 #1297
  • Blocked dev mode when using Maven version 3.8.2 or 3.8.3 due to known Maven issue #1255 #1279 #1305
  • Fixed issue for install-feature failure #1303 #1304

See the commit log for the full set of the changes since the previous milestone release.

The Liberty Maven Plugin 3.5.1 release is available on the Maven Central repository.

Liberty Maven Plug-in 3.5

04 Nov 16:46
Compare
Choose a tag to compare

Version 3.5 of the Liberty Maven Plugin is a minor release that contains new functionality, plus some minor fixes. The new functionality includes a prepare-feature goal to prepare a user feature for installation to the Liberty runtime. Refer to prepare-feature and the Open Liberty 21.0.0.11 blog for more information.

Additional Fixes

The following additional fixes are also included in this release.

  • Fixed package server goal for runnable jar and added attach parameter documentation #1239 #1244
  • Fixed loose application support for multi-module WAR that contains an ejb module #1240 #1248
  • Fixed loose application support for WAR within an EAR with webResources #1250 #1251

See the commit log for the full set of the changes since the previous milestone release.

The Liberty Maven Plugin 3.5 release is available on the Maven Central repository.

Liberty Maven Plug-in 3.4

23 Aug 19:18
Compare
Choose a tag to compare

Version 3.4 of the Liberty Maven Plugin is a minor release that contains new functionality, plus some minor fixes. The new functionality includes general support for running multi-module projects with the dev, devc and run goals. Refer to the Multiple Modules section of the docs for the dev, devc, and run goals for more information.

Additional Fixes

The following additional fixes are also included in this release since the previous milestone release.

  • Fixed loose app with dependency artifacts that include classifiers #1154 #1180
  • Enabled help goal #1181
  • Omitted test scope dependencies from copyDependencies when version parameter is null #1193
  • Fixed issue with resolving features due to change in Open Liberty 21.0.0.7 PR 277

See the commit log for the full set of the changes since the previous milestone release.

The Liberty Maven Plugin 3.4 release is available on the Maven Central repository.

Liberty Maven Plugin 3.3.5-M2 Pre-release

28 Jun 17:18
Compare
Choose a tag to compare

Version 3.3.5-M2 of the Liberty Maven Plugin is a pre-release milestone. This milestone release contains some minor fixes.

  • Improved multi-module project processing when using dev mode with the workaround described in the previous milestone.
  • Enabled the run goal to work with multi-module projects that use Maven CI friendly versions.
  • If userDir configuration is specified, pass it along for the configureArquillian goal which will set the usrDir property for arquillian.xml.
  • Added resource filtering for maven archetype so default property value is handled correctly.
  • Fixed the run goal to properly invoke the maven-ear-plugin:ear goal and the maven-ear-plugin:generate-application-xml goal for ear projects.
  • Initial fixes for handling projects with classifiers related to issue #1154.

See the commit log for the full set of the changes.

The Liberty Maven Plugin 3.3.5-M2 pre-release milestone is available on the Maven Central repository.

Liberty Maven Plugin 3.3.5-M1 Pre-release

13 Apr 13:42
Compare
Choose a tag to compare

Version 3.3.5-M1 of the Liberty Maven Plugin is a pre-release milestone. It contains a preview of a workaround for multi-module support with the dev goal, plus some minor fixes.

The workaround to enable dev mode with multi module projects requires an IDE or editor with Java support that can auto-rebuild to the Maven target directory of each module.

  1. Import your multi module project into an IDE or editor as a Maven project, and enable auto-builds in the IDE or editor's settings. Ensure that the JDK used by the IDE or editor matches the Java version that is used by Maven.

  2. From the directory that contains your multi module pom.xml file, run the following command (substituting <liberty-module> with the name of the module that contains your Liberty server configuration, which can be a module of type ear, war, liberty-assembly, or pom):

mvn io.openliberty.tools:liberty-maven-plugin:3.3.5-M1:dev -pl <liberty-module> -am

Note that if your Liberty server configuration is located in a module of type liberty-assembly or pom which depends on a module of type ear, you will need to mvn install the ear project to the .m2 directory once before running the above command (the mvn install will not be needed on subsequent runs of dev mode). For example:

mvn install -pl myapp-ear -am
mvn io.openliberty.tools:liberty-maven-plugin:3.3.5-M1:dev -pl myapp-liberty -am

The following additional fixes are also included in this pre-release milestone.

  • Fixed issues with the compile and test classpaths for dev mode.
  • Added support to preserve the generated keystore_password when default options are used with Liberty 'env' properties.
  • Added anchors to some documentation for easier linking and referencing.
  • Added support for ear projects with devc goal.
  • Fixed issue with using the correct version of liberty-maven-plugin with MojoExecutor.
  • Fixed generation of XML file for 'liberty.defaultVar.*' variables to use the configDropins/defaults directory instead of the configDropins/overrides directory. The liberty.var.* variables still generate a file in the configDropins/overrides directory.

See the commit log for the full set of the changes.

The Liberty Maven Plugin 3.3.5-M1 pre-release milestone is available on the Maven Central repository.