Provide maven configuration for add-reachability-metadata goal

Update `spring-boot-starter-parent` to execute the native build tools
`add-reachability-metadata` goal when the 'native' profile is active.

Closes gh-32736
This commit is contained in:
Phillip Webb 2022-10-17 13:51:20 -07:00
parent 8358a0e3f3
commit a8e701cee2

View File

@ -254,6 +254,14 @@ publishing.publications.withType(MavenPublication) {
delegate.enabled('true')
}
}
executions {
execution {
delegate.id('add-reachability-metadata')
goals {
delegate.goal('add-reachability-metadata')
}
}
}
}
}
}