build-helper:maven-version
Full name:
org.codehaus.mojo:build-helper-maven-plugin:3.6.1:maven-version
Deprecated:
Maven since version 3.0.4
has such property build in: MNG-4112. So goal can be removed.
Description:
Store the maven core version in a property maven.version
.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
1.3
. - Binds by default to the lifecycle phase:
validate
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<versionProperty> |
String |
- |
The name of the property in which to store the version of Maven. Default: maven.version |
Parameter Details
<versionProperty>
The name of the property in which to store the version of Maven.
- Type:
java.lang.String
- Required:
No
- Default:
maven.version