extractor:extract

Full name:

org.kuali.maven.plugins:extractor-maven-plugin:1.1.11: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.
User property is: extractor.majorVersionProperty.
scmTypeProperty String - The project property where the scm type will be stored eg "svn", "git"
Default value is: extractor.scmType.
User property is: extractor.scmTypeProperty.
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.
User property is: extractor.scmUrlProperty.
svnBranchProperty String - The project property where the Subversion specific branch will be stored. The logic here examines the scm url for the last occurrence of "/branches" or "/trunk". If it finds the string "/branches" it stores whatever is to the right of that under the indicated property, if it finds the string "/trunk" it stores "trunk" under the indicated property
Default value is: extractor.svnBranch.
User property is: extractor.svnBranchProperty.
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.
User property is: extractor.svnTagBaseProperty.

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
  • User Property: 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
  • User Property: 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
  • User Property: extractor.scmUrlProperty
  • Default: extractor.scmUrl

svnBranchProperty:

The project property where the Subversion specific branch will be stored. The logic here examines the scm url for the last occurrence of "/branches" or "/trunk". If it finds the string "/branches" it stores whatever is to the right of that under the indicated property, if it finds the string "/trunk" it stores "trunk" under the indicated property
  • Type: java.lang.String
  • Required: Yes
  • User Property: extractor.svnBranchProperty
  • Default: extractor.svnBranch

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
  • User Property: extractor.svnTagBaseProperty
  • Default: extractor.svnTagBase