Skip to content

Adding CycloneDX SBOM#1480

Merged
coheigea merged 1 commit intomainfrom
coheigea/cyclonedx
Oct 18, 2023
Merged

Adding CycloneDX SBOM#1480
coheigea merged 1 commit intomainfrom
coheigea/cyclonedx

Conversation

@coheigea
Copy link
Contributor

No description provided.

@coheigea coheigea merged commit f373f6f into main Oct 18, 2023
@coheigea coheigea deleted the coheigea/cyclonedx branch October 18, 2023 10:55
coheigea added a commit that referenced this pull request Oct 18, 2023
(cherry picked from commit f373f6f)
coheigea added a commit that referenced this pull request Oct 18, 2023
(cherry picked from commit f373f6f)
(cherry picked from commit 6653d53)
@reta
Copy link
Member

reta commented Oct 19, 2023

@coheigea thanks for this change, I am wondering what it the future plan for it - would we publish the generated SBOM somewhere?

@coheigea
Copy link
Contributor Author

@reta It will be published in Maven Central like this when we release: https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/4.0.0/xmlsec-4.0.0-cyclonedx.json

<executions>
<execution>
<id>make-bom</id>
<phase>package</phase>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coheigea it seems like the configuration needs tuning here, the plugin kicks off before the every other module in the build and starts downloading all Apache CXF snapshots first.

[INFO] -------------------------< org.apache.cxf:cxf >-------------------------
[INFO] Building Apache CXF 3.6.3-SNAPSHOT                               [1/202]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- enforcer:3.3.0:enforce (enforce-maven) @ cxf ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO]
[INFO] --- cyclonedx:2.7.9:makeAggregateBom (make-bom) @ cxf ---

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK thanks, I'll take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants