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 {
|
||||
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 {
|
||||
delegate.groupId('org.springframework.boot')
|
||||
|
|
|
|||
Loading…
Reference in New Issue