You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/11/02 18:54:01 UTC

[jira] [Commented] (MNG-6500) Dependency resolution broken with Java 11

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

Karl Heinz Marbaise commented on MNG-6500:
------------------------------------------

Hi, unfortunately the branch can't be compiled with Java 11 cause of this:
{code}
[ERROR] Failed to execute goal on project devon4j-rest: Could not resolve dependencies for project com.devonfw.java.modules:devon4j-rest:jar:3.0.0-SNAPSHOT: Failure to find org.openjfx:javafx.base:jar:11.0.0-SNAPSHOT in http://localhost:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
[ERROR]
{code}
JDK 10 works without any issue. Furthermore I don't find any dependency to openjfx but I can understand the failure cause with JDK 11 JavaFX has been removed from JDK 11...The question is: Do I need to do a special setup to build the project?  Does this build has any special profiles etc? 


> Dependency resolution broken with Java 11
> -----------------------------------------
>
>                 Key: MNG-6500
>                 URL: https://issues.apache.org/jira/browse/MNG-6500
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.5.4
>         Environment: Java 11
>            Reporter: Jörg Hohwiller
>            Priority: Major
>
> I am facing an issue that some transitive dependencies are missing on maven dependency resolution. This reproducible works fine with older Java (java8) and always fails with java 11.
> The code that fails can be found in this feature branch:
> [https://github.com/hohwille/devon4j/tree/feature-16-java-11-build]
> A detailed description of the issue can be found here:
> [https://github.com/devonfw/devon4j/issues/16]
> It would be awesome if someone could have a look and make maven work smooth with Java 11.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)