Skip to main content
Jump to: navigation, search

IAM Buckminster Maven Actor

Revision as of 06:59, 7 October 2008 by (Talk | contribs)

< To: IAM




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 (oh, by the way, the Maven actor name is "maven"):

<cs:public name="foo-action-with-properties" actor="maven">
                <cs:property key="goal" value="archetype:generate"/> 
		<cs:property key="executionParameters" value="-DarchetypeGroupId=org.apache.maven.archetypes artifactId=my-app"/>
        <cs:public name="foo-maven-action" actor="maven">
                <cs:property key="goal" value="install"/>
	<cs:public name="foo-eclipse-eclipse" actor="maven">
                <cs:property key="goal" value="eclipse:eclipse"/>

Back to the top