Skip to content

Define execution id for repackage goal in spring-boot-starter-parent #14210

@ST-DDT

Description

@ST-DDT

To simplify overriding and extending the goals it would be nice if you could define a execution id for the repackage goal. This is helpful, if you only need the build-info and not the repackage goal.

https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-starters/spring-boot-starter-parent/pom.xml#L154

Example:

<plugin>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-maven-plugin</artifactId>
	<executions>
		<execution>
			<id>repackage</id>
			<goals>
				<goal>repackage</goal>
			</goals>
			<configuration>
				<skip>true</skip>
			</configuration>
		</execution>
	</executions>
</plugin>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions