mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Apply configuration to CycloneDX plugin only for the execution
Closes gh-40927
This commit is contained in:
parent
9e86230c06
commit
0dff055c38
@ -162,14 +162,14 @@ publishing.publications.withType(MavenPublication) {
|
|||||||
goals {
|
goals {
|
||||||
delegate.goal('makeAggregateBom')
|
delegate.goal('makeAggregateBom')
|
||||||
}
|
}
|
||||||
|
configuration {
|
||||||
|
delegate.projectType('application')
|
||||||
|
delegate.outputDirectory('${project.build.outputDirectory}/META-INF/sbom')
|
||||||
|
delegate.outputFormat('json')
|
||||||
|
delegate.outputName('application.cdx')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
configuration {
|
|
||||||
delegate.projectType('application')
|
|
||||||
delegate.outputDirectory('${project.build.outputDirectory}/META-INF/sbom')
|
|
||||||
delegate.outputFormat('json')
|
|
||||||
delegate.outputName('application.cdx')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
plugin {
|
plugin {
|
||||||
delegate.groupId('org.springframework.boot')
|
delegate.groupId('org.springframework.boot')
|
||||||
|
Loading…
Reference in New Issue
Block a user