From issues-return-153516-archive-asf-public=cust-asf.ponee.io@maven.apache.org Sun Aug 25 18:01:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D7A71180656 for ; Sun, 25 Aug 2019 20:01:01 +0200 (CEST) Received: (qmail 96859 invoked by uid 500); 25 Aug 2019 18:01:01 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 96839 invoked by uid 99); 25 Aug 2019 18:01:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Aug 2019 18:01:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9D173E3063 for ; Sun, 25 Aug 2019 18:01:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 1852A7809A5 for ; Sun, 25 Aug 2019 18:01:00 +0000 (UTC) Date: Sun, 25 Aug 2019 18:01:00 +0000 (UTC) From: "Robert Scholte (Jira)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MJAVADOC-620) Maven Javadoc Plugin fails to resolve the dependencies when used with Java 11 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MJAVADOC-620?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 915309#comment-16915309 ]=20 Robert Scholte commented on MJAVADOC-620: ----------------------------------------- For analysis you need to compare {{target/site/javadoc/options}}. This file= is generated when executing {{mvn -X}} or when the plugin fails. You'll notice a different for Java 8 and Java 11 in the {{-classpath}}=C2= =A0entry. (the appearance of test-jars are awkward too, but not the problem= of this issue) So the thing to figure out, why did it disappear? > Maven Javadoc Plugin fails to resolve the dependencies when used with Jav= a 11 > -------------------------------------------------------------------------= ---- > > Key: MJAVADOC-620 > URL: https://issues.apache.org/jira/browse/MJAVADOC-620 > Project: Maven Javadoc Plugin > Issue Type: Bug > Components: javadoc > Affects Versions: 3.1.0, 3.1.1 > Environment: Mageia Linux 7, AdoptOpenJDK 11.0.1 > Reporter: Julien Gouesse > Priority: Major > Attachments: MavenTest.zip > > > Maven Javadoc Plugin fails to resolve the dependencies that are inherited= by all sub-modules in the parent pom file and the dependencies specific to= some sub-modules if and only if it's used with Java 11 whereas it works fl= awlessly with Java 8. This bug is reproducible with this project: > [https://jogamp.org/cgit/ardor3d.git/tree/] > Enter "mvn site" and you'll get the following error message: > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin= :3.7.1:site (default-site) on project ardor3d: Error generating maven-javad= oc-plugin:3.1.1:aggregate report: [ERROR] Exit code: 1 - Ardor3D/ardor3d-sw= t/src/test/java/com/ardor3d/input/swt/TestSwtMouseWrapper.java:23: error: p= ackage org.eclipse.swt.events does not exist > Note that "mvn install" works with Java 11, this problem of dependency ma= nagement only occurs while generating the Java API documentation with Java = 11. > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.2#803003)