[ 
https://issues.apache.org/jira/browse/HADOOP-18590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716443#comment-17716443
 ] 

Ayush Saxena commented on HADOOP-18590:
---------------------------------------

Thanx Steve for pointing that out. It prints in the very beginning and it is so 
quick. I didn't notice.
[~dongjoon] Can you please raise an addendum to fix that warning.

Something like this should fix, Atleast it did for me.
{noformat}
diff --git a/pom.xml b/pom.xml
index 42a11795274..dc5edf8178d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -611,6 +611,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/x
       <plugin>
         <groupId>org.cyclonedx</groupId>
         <artifactId>cyclonedx-maven-plugin</artifactId>
+        <version>${cyclonedx.version}</version>
       </plugin>
     </plugins>
   </build>

{noformat}
btw. even after this there is one warning getting printed
{noformat}
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.hadoop:hadoop-benchmark:jar:3.4.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 74, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
{noformat}
Comes from HADOOP-11867, can chase that as well separately

> Publish SBOM artifacts
> ----------------------
>
>                 Key: HADOOP-18590
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18590
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.4.0
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.2.5, 3.3.9
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to