extractor:extract

Full name:

org.kuali.maven.plugins:extractor-maven-plugin:1.0.3: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.

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