Skip to content

Releases: OpenLiberty/ci.maven

Liberty Maven Plug-in 3.3.4

04 Feb 14:12
Compare
Choose a tag to compare

Version 3.3.4 of the Liberty Maven Plugin is a minor fix release that primarily contains fixes for dev mode with containers.

The following fixes related to the dev and devc goals are included in this release:

  • Fixed an issue where incorrect dependencies were used for Java recompilations.
  • Fixed an issue where the application contents were not packaged by the liberty:package goal after running devc.
  • Fixed an issue where an internal configuration file was included by the liberty:package goal after running devc.
  • Improved messages relating to Docker build times when using devc.

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

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

Liberty Maven Plug-in 3.3.3

18 Dec 14:25
Compare
Choose a tag to compare

Version 3.3.3 of the Liberty Maven Plugin is a minor fix release that primarily contains fixes for dev mode with containers.

The following fixes related to the devc goal are included in this release:

  • Support installing features on Open Liberty images with the kernel-slim tag.
  • Fixed an issue where various characters in the project name were causing the docker build to fail.
  • Fixed an issue where an error message was shown when manually stopping the container started by devc.
  • Fixed an issue with using devc in a Windows VM.
  • Fixed an issue with using ADD or COPY commands with URLs in the Dockerfile.

The following additional fix is included in this release:

  • Fixed an issue with ear applications and the run goal to generate the archive based on the project packaging type.

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

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

Liberty Maven Plug-in 3.3.2

01 Dec 13:55
Compare
Choose a tag to compare

Version 3.3.2 of the Liberty Maven Plugin is a minor fix release to fix an issue with resolving variables referenced in the location attribute of an include element in a server configuration file.

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

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

Liberty Maven Plug-in 3.3.1

21 Nov 01:46
Compare
Choose a tag to compare

Version 3.3.1 of the Liberty Maven Plugin is a minor fix release to fix an issue with the liberty-maven-app-parent.

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

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

Liberty Maven Plug-in 3.3

20 Nov 20:07
Compare
Choose a tag to compare

NOTE: This release had a problem with the liberty-maven-app-parent referencing a milestone release version for the liberty-maven-plugin. That is fixed in version 3.3.1.

Version 3.3 of the Liberty Maven Plugin is a minor release that contains new functionality, plus some minor fixes. The new functionality includes the devc goal and the copyDependencies parameter.

devc goal

This release includes the general availability of the new devc goal for Liberty Dev mode to start the server in a Docker container. Refer to the docs for the devc goal for more information.

The following fixes related to the dev and devc goals are included in this release since the previous milestone release.

Startup changes:

  • Skip installing local runtime when starting devc
  • Auto-resolve port conflicts on devc startup
  • Pull the latest parent image specified in the Dockerfile during devc startup
  • Check for supported Docker version on devc startup
  • Disabled OpenJ9 SCC when devc builds docker image
  • The dev and devc startup message format was improved and now devc startup displays:
    -- internal container ports and mapped host ports
    -- container name, IP address, and connected Docker network

Updated messaging:

  • Changed Docker port mapping errors to warnings
  • Added an error message when incompatible Java versions are used between the host and container.
  • Display warning when users attempt to install features not included with the beta runtime
  • Fixed an issue where a docker stop error was shown when the container failed to start

File tracking changes:

  • Track Dockerfile changes and rebuild image on changes
  • Track folders specified in Dockerfile COPY commands and rebuild image on changes
  • Track folders and files specified in Dockerfile ADD commands and rebuild image on changes

Other fixes:

  • Changed dev mode's container naming convention to use hyphens instead of underscores
  • Let user provided container name override dev mode default container name
  • Fixed an issue where dev mode was not using Maven compiler options for recompiles 
  • Fixed an issue with auto-resolving port conflicts on Windows
  • Added an option to keep the temporary Dockerfile that dev mode uses to build the Docker image

copyDependencies parameter

This release includes the general availability of the new copyDependencies parameter for copying dependencies during server creation. If a dependency is not listed in the Maven dependencies section of the pom.xml, then the full GAV coordinates will need to be specified in the copyDependencies configuration. Alternatively, you can copy all resolved dependencies matching a specific groupId, or a specific groupId and artifactId. The artifactId may also end with a * to match all artifacts that have an artifactId that start with the specified string. Transitive dependencies are also copied. Additionally, a stripVersion parameter is available to strip the version during the copy. Refer to the common server parameters documentation for more information.

Additional Fixes

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

  • Fixed resolution of Liberty directory properties in the location attribute of the include element in the server.xml file
  • Removed warning message for redundant configuration files
  • Resolve plugins from PluginManagement if not resolved on the Project

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

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

Liberty Maven Plugin 3.3-M4 Pre-release

09 Oct 14:59
Compare
Choose a tag to compare
Pre-release

Version 3.3-M4 of the Liberty Maven Plugin is a pre-release milestone. It contains a technology preview of the devc goal, plus some minor fixes.

This pre-release milestone includes a technology preview of the new devc goal for Liberty Dev mode to start the server in a Docker container. The features and parameters supported by this goal are subject to change in future milestones or releases of the Liberty Maven Plugin. Refer to the docs for the devc goal for more information.

The following fixes related to the dev and devc goals are included in this pre-release milestone.

  • Added an option to specify the Docker build timeout for the devc goal.
  • Added an option to skip binding default HTTP/HTTPS ports for the devc goal to avoid port conflicts.
  • Added support for multiple concurrent instances of the devc goal when run on different projects.
  • Using container related parameters with the dev goal no longer forces container mode to be true.
  • Fixed an issue on Linux where the target directory could not be cleaned after running the devc goal.
  • Improved the display of Docker output messages during the devc goal.
  • Improved dev mode startup messages.
  • Added a way to restart the server or container within dev mode.

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

  • Added support for the type parameter in the dependency configuration, and the stripVersion parameter in the dependencyGroup configuration for copyDependencies on the deploy goal.
  • Fixed a NullPointerException for the install-feature goal.
  • Made various updates to the archetypes to use latest versions and technologies and to generate the source correctly.
  • Fixed the mergeServerEnv behavior when no server.env configuration is provided.
  • Fixed a NullPointerException when using the run goal on SpringBoot jar module and the SpringBoot plugin is not configured.
  • Handle the maven-resources-plugin 'resources' parameter correctly for dev mode.
  • Use the correct combined bootstrap properties (from properties and parameters) when checking for application configuration and status.

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

The Liberty Maven Plugin 3.3-M4 pre-release milestone is available on the Maven Central repository.

Liberty Maven Plugin 3.3-M3 Pre-release

21 Aug 17:22
Compare
Choose a tag to compare
Pre-release

Version 3.3-M3 of the Liberty Maven Plugin is a pre-release milestone. It contains a technology preview of the devc goal, plus some minor fixes and one enhancement detailed below.

This pre-release milestone includes a technology preview of the new devc goal for Liberty Dev mode to start the server in a Docker container. The features and parameters supported by this goal are subject to change in future milestones or releases of the Liberty Maven Plugin. Refer to the docs for the devc goal for more information.

This pre-release also contains some changes to the copyDependencies support that was introduced in the last milestone release.
Refer to the docs for the deploy goal copyDependencies parameter for more information.

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

  • Linux is supported for the devc goal when running as either root or non-root user.
  • Fixed an issue when using the devc goal and changing configuration files on Linux.
  • Fixed some issues where the devc goal was not displaying error messages from Docker or Liberty.
  • Added support for merging server environment properties with an existing server.env file. See the mergeServerEnv parameter in the common server parameters for more information.
  • Added informational log entries when the skip parameter is configured for a goal indicating that the goal is being skipped.

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

The Liberty Maven Plugin 3.3-M3 pre-release milestone is available on the Maven Central repository.

Liberty Maven Plugin 3.3-M2 Pre-release

24 Jul 14:59
Compare
Choose a tag to compare
Pre-release

Version 3.3-M2 of the Liberty Maven Plugin is a pre-release milestone. It contains a technology preview of the devc goal, plus some minor fixes and one enhancement detailed below.

This pre-release milestone includes a technology preview of the new devc goal for Liberty Dev mode to start the server in a Docker container. The features and parameters supported by this goal are subject to change in future milestones or releases of the Liberty Maven Plugin. Refer to the docs for the devc goal for more information.

This pre-release also contains an enhancement for copying dependencies on the deploy goal. Refer to the docs for the deploy goal copyDependencies parameter for more information.

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

  • Handle JSON format for the messages.log file.
  • Minor fixes for the devc goal.
  • Linux is supported for the devc goal when running as root user.

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

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

Liberty Maven Plugin 3.3-M1 Pre-release

02 Jul 13:33
Compare
Choose a tag to compare
Pre-release

Version 3.3-M1 of the Liberty Maven Plugin is a pre-release milestone. It contains a technology preview of the devc goal, plus some fixes detailed below.

This pre-release milestone includes a technology preview of the new devc goal for Liberty Dev mode to start the server in a Docker container. The features and parameters supported by this goal are subject to change in future milestones or releases of the Liberty Maven Plugin, and only macOS and Windows are currently supported. Refer to the docs for the devc goal for more information.

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

  • Removed the liberty-archetype-mp which was incomplete and never published.
  • Added testing with version 20.0.0.6 of Open Liberty and WebSphere Liberty.

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

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

Liberty Maven Plug-in 3.2.2

16 Jun 15:18
Compare
Choose a tag to compare

Version 3.2.2 of the Liberty Maven Plugin is a minor fix release with several bug fixes and improvements.

  • The uninstall-feature goal now uninstalls features individually to improve error handling.
  • Support was added for <outputFileNameMapping> introduced with version 3.0 of maven-ear-plugin.
  • Fixed the configure-arquillian goal to look for variables in the generated variable configuration file.
  • Fixed the parent POM liberty-maven-plugin version.
  • Updated the description for the run and start goals, and fixed some references to old goal names.
  • The compile-jsp goal now includes the configured features in the Liberty server during the compilation.

Other minor fixes have been included in this release.

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

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