extractor:extract
Full name:
org.kuali.maven.plugins:extractor-maven-plugin:1.1.0-SNAPSHOT:extract
Description:
Extracts information contained in the pom and exposes it as project
properties eg major version, scm type, scm url
Attributes:
- Requires a Maven project to be executed.
Required Parameters
Name |
Type |
Since |
Description |
majorVersionProperty |
String |
- |
The project property where the major version will be stored. eg for
a project with a version "1.0.0" this mojo considers "1.0" to be
the major version Default value is: extractor.majorVersion. |
scmTypeProperty |
String |
- |
The project property where the scm type will be stored eg "svn",
"git" Default value is: extractor.scmType. |
scmUrlProperty |
String |
- |
The project property where the scm url (minus the Maven prefix eg
"scm:svn", "scm:git") will be stored Default value is: extractor.scmUrl. |
svnTagBaseProperty |
String |
- |
The project property where the Subversion specific tag base will be
stored. The logic here examines the scm url for the last occurrence
of "/branches" or "/trunk". It then takes whatever is to the left
of that and adds "/tags" Default value is: extractor.svnTagBase. |
Parameter Details
majorVersionProperty:
The project property where the major version will be stored. eg for
a project with a version "1.0.0" this mojo considers "1.0" to be
the major version
- Type: java.lang.String
- Required: Yes
- Expression: ${extractor.majorVersionProperty}
- Default: extractor.majorVersion
scmTypeProperty:
The project property where the scm type will be stored eg "svn",
"git"
- Type: java.lang.String
- Required: Yes
- Expression: ${extractor.scmTypeProperty}
- Default: extractor.scmType
scmUrlProperty:
The project property where the scm url (minus the Maven prefix eg
"scm:svn", "scm:git") will be stored
- Type: java.lang.String
- Required: Yes
- Expression: ${extractor.scmUrlProperty}
- Default: extractor.scmUrl
svnTagBaseProperty:
The project property where the Subversion specific tag base will be
stored. The logic here examines the scm url for the last occurrence
of "/branches" or "/trunk". It then takes whatever is to the left
of that and adds "/tags"
- Type: java.lang.String
- Required: Yes
- Expression: ${extractor.svnTagBaseProperty}
- Default: extractor.svnTagBase