[
https://issues.apache.org/jira/browse/MRESOLVER-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910227#comment-17910227
]
Tobias Brix commented on MRESOLVER-650:
---------------------------------------
Yes, setSystemProperties() does the trick!
> Demo DependencyTree not working for io.netty:netty-codec-http:4.1.114.Final
> ---------------------------------------------------------------------------
>
> Key: MRESOLVER-650
> URL: https://issues.apache.org/jira/browse/MRESOLVER-650
> Project: Maven Resolver
> Issue Type: Bug
> Components: Demo
> Affects Versions: 2.0.5
> Reporter: Tobias Brix
> Priority: Major
>
> Using the example *GetDependencyTree.java* on the ** artifact
> *io.netty:netty-codec-http:4.1.114.Final* results in the output:
> Invalid artifact descriptor for io.netty:netty-codec-http:jar:4.1.114.Final:
> 16 problems were encountered while building the effective model for
> io.netty:netty-codec-http:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java23 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java22 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java21 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java20 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java19 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java18 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java17 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java16 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java15 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java14 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java13 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java12 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java11 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java10 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile java9 @
> io.netty:netty-parent:4.1.114.Final
> - [ERROR] Failed to determine Java version for profile jdk8 @
> io.netty:netty-parent:4.1.114.Final
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)