build-helper:join-paths

Full name:

com.github.robtimus:build-helper-maven-plugin:1.2.1:join-paths

Description:

Join paths using the platform-specific path separator and provide the result as a Maven property.

While paths for most of the standard Maven plugins can be defined in a way that is platform agnostic, sometimes it's necessary to add flags directly. For instance, when configuring Javadoc's --snippet-path flag, the value should use the platform-specific path separator.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: initialize.

Optional Parameters

Name Type Since Description
<paths> String[] 1.0 The paths to join.
<propertyName> String 1.0 The name of the resulting Maven property name. This property should not have been set before.

Parameter Details

<paths>

The paths to join.
  • Type: java.lang.String[]
  • Since: 1.0
  • Required: No

<propertyName>

The name of the resulting Maven property name. This property should not have been set before.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No