Maven - Plugin Execution

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

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:

Configuration


Powered by ComboStrap