sdedic commented on code in PR #5679:
URL: https://github.com/apache/netbeans/pull/5679#discussion_r1141830729


##########
java/maven/test/unit/data/projects/dependencies/golden/testDuplicatedDependencies:
##########


Review Comment:
   Update: it seems that the request for metadata of 
`com.fasterxml.jackson.core:jackson-databind:jar:2.13.4:compile` (locally 
present in .m2 repo) fails with
   ```
   org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:
   [ERROR] Failed to determine Java version for profile java14 @ line 223, 
column 14
   [ERROR] Failed to determine Java version for profile java17 @ line 274, 
column 14
   ```
   and the dependencies for that artifact evaluate to an empty list. The error 
is not propagated out from the `MavenMetadataSource` -> 
`DefaultLegacyArtifactCollector` -> `DefaultDependencyTreeBuilder` used in the 
NB implementation -- see 
[MavenMeatadataSoure](https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java#L569)



-- 
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]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to