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 131D817340 for ; Tue, 28 Oct 2014 18:39:36 +0000 (UTC) Received: (qmail 70737 invoked by uid 500); 28 Oct 2014 18:39:35 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 70690 invoked by uid 500); 28 Oct 2014 18:39:35 -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 69987 invoked by uid 99); 28 Oct 2014 18:39:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2014 18:39:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2014 18:39:30 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 45AFEB1089 for ; Tue, 28 Oct 2014 13:39:10 -0500 (CDT) Date: Tue, 28 Oct 2014 13:39:10 -0500 (CDT) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MPIR-279) Wrong hyperlinks on index and modules page MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MPIR-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov closed MPIR-279. ------------------------------- Resolution: Duplicate > Wrong hyperlinks on index and modules page > ------------------------------------------ > > Key: MPIR-279 > URL: https://jira.codehaus.org/browse/MPIR-279 > Project: Maven Project Info Reports Plugin > Issue Type: Bug > Components: modules > Affects Versions: 2.7 > Reporter: Stephen Colebourne > Attachments: OG-Platform2.zip > > > The attached zip is a complete multi-module build with the bug exposed. Run using "mvn clean site site:stage" to reproduce. > What is observed is that the navigation hyperlinks in the top left (added by the site plugin) are correctly defined as "target/staging/og-timeseries/index.html", whereas the hyperlinks in the middle of index.html and modules.html are incorrectly defined as "target/staging/projects/og-timeseries/index.html" - note the incorrect extra "projects". > The problem will occur because the child projects in the multi-module build are not immediate children of the parent/aggregator. Instead the structure is: > {code} > platform > - pom.xml > - projects > - og-timeseries > - pom.xml > {code} > The extra layer is being handled by the site plugin (by referring to the "distributionManagement.site.url"). It is not handled by this plugin. > As a side note, if "distributionManagement.site.url" is NOT set in the child projects, then the site will build consistently using "target/staging/projects/og-timeseries/index.html" everywhere. > This is no doubt related to MPIR-273. -- This message was sent by Atlassian JIRA (v6.1.6#6162)