hboutemy commented on PR #13867:
URL: https://github.com/apache/druid/pull/13867#issuecomment-1453027384
thanks for the pointer, I now see
```
[ERROR] An error occurred attempting to read POM
org.codehaus.plexus.util.xml.pull.XmlPullParserException: UTF-8 BOM plus xml
decl of ISO-8859-1 is incompatible (position: START_DOCUMENT seen <?xml
version="1.0" encoding="ISO-8859-1"... @1:42)
at org.codehaus.plexus.util.xml.pull.MXParser.parseXmlDeclWithVersion
(MXParser.java:3423)
at org.codehaus.plexus.util.xml.pull.MXParser.parseXmlDecl
(MXParser.java:3345)
at org.codehaus.plexus.util.xml.pull.MXParser.parsePI
(MXParser.java:3197)
at org.codehaus.plexus.util.xml.pull.MXParser.parseProlog
(MXParser.java:1828)
at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl
(MXParser.java:1757)
at org.codehaus.plexus.util.xml.pull.MXParser.next (MXParser.java:1375)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read
(MavenXpp3Reader.java:3940)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read
(MavenXpp3Reader.java:612)
at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read
(MavenXpp3Reader.java:627)
at org.cyclonedx.maven.BaseCycloneDxMojo.readPom
(BaseCycloneDxMojo.java:759)
```
I confirm this code has been fully rewritten in CycloneDX Maven Plugin
2.7.4, then it's not a surprise you don't see the issue any more when
upgrading: #13878 is definitively the way to go
an additional move would also be to use `makeAggregateBom` instead of
`makeBom`, to get the aggregation for the whole project at root, in addition to
module-specific BOM in each module: please test and see if it works as expected
for you
--
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]