Dashboard > Pulse v1.2 > ... > recipe > maven
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  maven
Added by Daniel Ostermeier, last edited by Jason Sankey on May 08, 2006  (view change)
Labels: 
(None)

Pulse Manual Index

Maven

The maven command is used to execute the Apache Maven build tool. It provides a convenient way to execute maven. The maven command is based on the executable command, thus all attributes and child elements valid for the executable command are also valid for the maven command.

Finding the maven binary

The maven command will try the following values for the maven binary:

  • if a binary is specified explictly using the exe attribute, that value will be used
  • if a property named "maven.bin" exists, the value of that property will be used
  • otherwise, the value "maven" will be used, or "maven.bat" on Windows systems (and thus maven must be found in the PATH of the pulse? process)

The "maven.bin" property may be manually created via resource.

Attributes

Attribute Description Required? Default
targets A space-separated list of targets to execute. No  

See also executable.

Child Elements

See executable.

Examples

Execute the "build" target from the default build file:

<maven name="build" targets="build"/>

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators