Table of Contents

About

A plugin execution

Example

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-assembly-plugin</artifactId>
	<executions>
		<execution>
			<id>Parent Create Zip Windows Distribution</id>
			<phase>package</phase>
			<goals>
				<goal>single</goal>
			</goals>
			<configuration>
				<descriptorRefs>
					<descriptorRef>windows-x64</descriptorRef>
				</descriptorRefs>
			</configuration>
		</execution>
	</executions>
</plugin>

where:

Management

Execution

mvn prefix:goal@executionId

where:

Id

Default ???

  • default in the POM model
  • default-cli from the command line
  • default-goalName mojo bound to the build lifecycle via the default lifecycle mapping

You can see it at the console:

Maven Execution Id

Configuration

http://maven.apache.org/guides/mini/guide-default-execution-ids.html