Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D097318861 for ; Mon, 7 Dec 2015 18:28:11 +0000 (UTC) Received: (qmail 36761 invoked by uid 500); 7 Dec 2015 18:28:11 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 36638 invoked by uid 500); 7 Dec 2015 18:28:11 -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 36615 invoked by uid 99); 7 Dec 2015 18:28:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2015 18:28:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 237CE2C1F62 for ; Mon, 7 Dec 2015 18:28:11 +0000 (UTC) Date: Mon, 7 Dec 2015 18:28:11 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (MJAVADOC-437) javadoc:aggregate fails on initial build MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MJAVADOC-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov closed MJAVADOC-437. ----------------------------------- Resolution: Fixed Fixed with [r1718436|http://svn.apache.org/r1718436]. > javadoc:aggregate fails on initial build > ---------------------------------------- > > Key: MJAVADOC-437 > URL: https://issues.apache.org/jira/browse/MJAVADOC-437 > Project: Maven Javadoc Plugin > Issue Type: Bug > Affects Versions: 2.10.3 > Reporter: Harald Wellmann > Assignee: Michael Osipov > Fix For: 2.10.4 > > > h3. Scenario > Take a SNAPSHOT version of a reactor project with at least two JAR modules. > Assume that no artifacts of the given SNAPSHOT version have been built before (this is usually the case just after running release:perform). > h3. Actual Behaviour > Now run {{mvn javadoc:aggregate}}. This build fails in the forked lifecycle. maven-javadoc-plugin unnecessarily tries to resolve the JAR artifacts of the current reactor (which are not avialable yet) and add them to the Javadoc classpath. > h3. Expected Behaviour > Aggregated Javadoc should be generated without problems. It is sufficient to take the sources of the current reactor and only put *external* dependencies on the Javadoc classpath. > This is a duplicate of an 8 year old bug MJAVADOC-116 with 51 votes which has been closed without being fixed. > A patch for this problem was submitted in MJAVADOC-362, but does not seem to have received attention by committers. (I admit the problem description is not very clear.) -- This message was sent by Atlassian JIRA (v6.3.4#6332)