:invoke

Invoke Maven in a sub-process.

Mojo Attributes :

  • Requires a Maven 2.0 project to execute.

Required Parameters

Name Type Description
fileset DirectoryScanner Defines the set of pom.xml files to invoke.

Optional Parameters

Name Type Description
ant AntHelper No description.
flags String[] A set of command-line flags to pass to Maven.
goals String[] A set of goals (or phases) to be invoked.
parameters Map A map of parameters to define via -D
profiles String[] A set of profiles to activate via -P

Parameter Details

ant

No Description.

  • Type : org.codehaus.mojo.pluginsupport.ant.AntHelper
  • Required : No

fileset

Defines the set of pom.xml files to invoke.

  • Type : org.codehaus.plexus.util.DirectoryScanner
  • Required : Yes

flags

A set of command-line flags to pass to Maven.

  • Type : java.lang.String[]
  • Required : No

goals

A set of goals (or phases) to be invoked.

  • Type : java.lang.String[]
  • Required : No

parameters

A map of parameters to define via -D

  • Type : java.util.Map
  • Required : No

profiles

A set of profiles to activate via -P

  • Type : java.lang.String[]
  • Required : No