dongjoon-hyun commented on PR #3926:
URL: https://github.com/apache/hive/pull/3926#issuecomment-1376726492
Thank you, @ayushtkn . I confirmed that I missed `13` occurrences.
```
$ mvn install -DskipTests > /tmp/log
$ grep XmlPullParserException /tmp/log | wc -l
13
```
Although `CycloneDX` generates SBOM files, I'm investigating those 13
modules now to find the root cause.
```
[INFO] --- cyclonedx-maven-plugin:2.7.3:makeBom (default) @ hive-llap-server
---
[INFO] CycloneDX: Parameters
[INFO]
------------------------------------------------------------------------
[INFO] schemaVersion : 1.4
[INFO] includeBomSerialNumber : true
[INFO] includeCompileScope : true
[INFO] includeProvidedScope : true
[INFO] includeRuntimeScope : true
[INFO] includeTestScope : false
[INFO] includeSystemScope : true
[INFO] includeLicenseText : false
[INFO] outputReactorProjects : true
[INFO] outputFormat : all
[INFO] outputName : bom
[INFO]
------------------------------------------------------------------------
[INFO] CycloneDX: Resolving Dependencies
[ERROR] An error occurred attempting to read POM
org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag:
'project' (position: START_TAG seen ...</dependencies>\n <project>... @35:14)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.checkUnknownElement
(MavenXpp3Reader.java:178)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel
(MavenXpp3Reader.java:2309)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read
(MavenXpp3Reader.java:3872)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read
(MavenXpp3Reader.java:595)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read
(MavenXpp3Reader.java:609)
at org.cyclonedx.maven.BaseCycloneDxMojo.readPom
(BaseCycloneDxMojo.java:759)
at org.cyclonedx.maven.BaseCycloneDxMojo.extractPom
(BaseCycloneDxMojo.java:718)
at org.cyclonedx.maven.BaseCycloneDxMojo.convert
(BaseCycloneDxMojo.java:479)
at org.cyclonedx.maven.CycloneDxMojo.execute (CycloneDxMojo.java:70)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2
(MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute
(MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:171)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:163)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
[INFO] CycloneDX: Creating BOM
[INFO] CycloneDX: Writing BOM (XML):
/Users/dongjoon/APACHE/hive/llap-server/target/bom.xml
[INFO] CycloneDX: Validating BOM (XML):
/Users/dongjoon/APACHE/hive/llap-server/target/bom.xml
[INFO] CycloneDX: Writing BOM (JSON):
/Users/dongjoon/APACHE/hive/llap-server/target/bom.json
[INFO] CycloneDX: Validating BOM (JSON):
/Users/dongjoon/APACHE/hive/llap-server/target/bom.json
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ hive-llap-server ---
[INFO] Building jar:
/Users/dongjoon/APACHE/hive/llap-server/target/hive-llap-server-4.0.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @
hive-llap-server ---
[INFO] Installing
/Users/dongjoon/APACHE/hive/llap-server/target/hive-llap-server-4.0.0-SNAPSHOT.jar
to
/Users/dongjoon/.m2/repository/org/apache/hive/hive-llap-server/4.0.0-SNAPSHOT/hive-llap-server-4.0.0-SNAPSHOT.jar
[INFO] Installing /Users/dongjoon/APACHE/hive/llap-server/pom.xml to
/Users/dongjoon/.m2/repository/org/apache/hive/hive-llap-server/4.0.0-SNAPSHOT/hive-llap-server-4.0.0-SNAPSHOT.pom
[INFO] Installing /Users/dongjoon/APACHE/hive/llap-server/target/bom.xml to
/Users/dongjoon/.m2/repository/org/apache/hive/hive-llap-server/4.0.0-SNAPSHOT/hive-llap-server-4.0.0-SNAPSHOT-cyclonedx.xml
[INFO] Installing /Users/dongjoon/APACHE/hive/llap-server/target/bom.json to
/Users/dongjoon/.m2/repository/org/apache/hive/hive-llap-server/4.0.0-SNAPSHOT/hive-llap-server-4.0.0-SNAPSHOT-cyclonedx.json
[INFO] Installing
/Users/dongjoon/APACHE/hive/llap-server/target/hive-llap-server-4.0.0-SNAPSHOT-tests.jar
to
/Users/dongjoon/.m2/repository/org/apache/hive/hive-llap-server/4.0.0-SNAPSHOT/hive-llap-server-4.0.0-SNAPSHOT-tests.jar
```
Here is the list of modules.
- hive-llap-server
- hive-llap-ext-client
- hive-service
- hive-accumulo-handler
- hive-jdbc
- hive-cli
- hive-hbase-handler
- hive-hcatalog-core
- hive-hcatalog-pig-adapter
- hive-hcatalog-server-extensions
- hive-webhcat-java-client
- hive-webhcat
- hive-packaging
Sorry for this trouble. I'll ping you guys once more, @ayushtkn , @sunchao ,
@prasanthj .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]