Actor properties and regular properties can be passed to the Maven actor. Right now, there's only one supported actor property, named "goal", which specifies which Maven goal needs to be performed. Maven goals can be parametrized, and those parameters (if needed) must be specified in the "executionParameters" property. The executionParameters value must consist in a list of key-value pairs, optionally preceded by the usual "-D" prefix. Let's see some valid action examples (by the way, the Maven actor name is "maven"):

+

This is the supported Maven actor syntax at the moment:

+

+

* The actor name (to be used in the actions' "actor" attribute) is <b>maven</b>.

+

* Actor properties:

+

** <b>goal</b>. The desired Maven goal goes here.

+

* Properties:

+

** <b>executionParameters</b>. This is an optional list of execution parameters for the specified goal. This list must follow the same syntax as in console Maven (but it's also fine to remove the "-D" prefix in the key-value pairs).

+

** <b>profiles</b>. Here you can choose a list of profiles to be active during the goal execution. These profiles must be defined inside the project's pom.xml.

+

** <b>deactiveProfiles</b>. If set to true, this option will cause the goal to be executed without taking into account any active profile (except for those which may be specified in the <b>profiles</b> property).

Revision as of 05:44, 10 October 2008

Introduction

An IAM-based Maven actor for Buckminster is under development and here we'll describe its features and API. If you are not familiar with Buckminster's actions and actors, here you will find detailed information.

Features

The Maven actor is capable of the following right now. Expect the list to grow!

Maven actor syntax

This is the supported Maven actor syntax at the moment:

The actor name (to be used in the actions' "actor" attribute) is maven.

Actor properties:

goal. The desired Maven goal goes here.

Properties:

executionParameters. This is an optional list of execution parameters for the specified goal. This list must follow the same syntax as in console Maven (but it's also fine to remove the "-D" prefix in the key-value pairs).

profiles. Here you can choose a list of profiles to be active during the goal execution. These profiles must be defined inside the project's pom.xml.

deactiveProfiles. If set to true, this option will cause the goal to be executed without taking into account any active profile (except for those which may be specified in the profiles property).