-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not add external reference if URL is explicitly empty #388
Labels
Comments
you're right that the intent of |
mtgag
added a commit
to MTG-AG/cyclonedx-maven-plugin
that referenced
this issue
Sep 12, 2023
…ank (using Java 1.8 compatibility)
mtgag
added a commit
to MTG-AG/cyclonedx-maven-plugin
that referenced
this issue
Sep 14, 2023
…ank (using Java 1.8 compatibility) Signed-off-by: mtgag <githreg@mtg.de>
hboutemy
pushed a commit
that referenced
this issue
Sep 14, 2023
…g Java 1.8 compatibility) Signed-off-by: mtgag <githreg@mtg.de>
fixed by #396 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Projects that inherit properties like scm or url from parent pom files always include the website or vcs external references like that
One option is to provide empty values in child pom.xml like that:
which leads to this bom file:
and another option is to place correct URLs, which in some scenarios may not be desired.
Therefore the bom file may appear like that:
Do other options exist?
Would it be meaningful to change this code:
cyclonedx-maven-plugin/src/main/java/org/cyclonedx/maven/DefaultModelConverter.java
Line 272 in 47742b1
to:
to allow not to add an externalReference for a certain type if the URL provided for this type is explicitly empty?
The text was updated successfully, but these errors were encountered: