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 D45E318AE6 for ; Wed, 2 Mar 2016 12:03:18 +0000 (UTC) Received: (qmail 97374 invoked by uid 500); 2 Mar 2016 12:03:18 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 97321 invoked by uid 500); 2 Mar 2016 12:03:18 -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 97309 invoked by uid 99); 2 Mar 2016 12:03:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2016 12:03:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2D1B22C1F64 for ; Wed, 2 Mar 2016 12:03:18 +0000 (UTC) Date: Wed, 2 Mar 2016 12:03:18 +0000 (UTC) From: =?utf-8?Q?J=C3=B6rg_Sesterhenn_=28JIRA=29?= To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MSITE-769) Can't use property in breadcrumbs items in child module site descriptor 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/MSITE-769?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15175= 491#comment-15175491 ]=20 J=C3=B6rg Sesterhenn commented on MSITE-769: --------------------------------------- I ran into the same issue. Is there a workaround that allows using Version = 3.5 with this kind of parent_site.xml_with_properties_in_breadcrumbs? I believe that even if this gets fixed the change in MSITE-135 would be a p= roblem for us, since we expect the breadcrumb to point to the parent projec= ts url.=20 If I understand MSITE-135 right this shall no longer work. Please give advice on how to achieve this with curent/future versions of th= e maven site plugin: I want breadcrumbs to point back to parent projects like "enterprise_paren= t_project_url - parent_project_url - child_project_url - module_a_project_u= rl"=20 This worked before by deploying the site.xml with the enterprise parent pom= containing something like {code} {code} > Can't use property in breadcrumbs items in child module site descriptor > ----------------------------------------------------------------------- > > Key: MSITE-769 > URL: https://issues.apache.org/jira/browse/MSITE-769 > Project: Maven Site Plugin > Issue Type: Bug > Components: inheritance, site descriptor > Affects Versions: 3.5 > Reporter: Tony Chemit > Priority: Critical > Attachments: MSITE-769.zip > > > In a multi-module project, I have this in pom module site descriptor > {noformat} > > > > > {noformat} > While running mvn site, the build fail with this error : > {noformat} > Caused by: java.lang.IllegalArgumentException: Illegal character in path = at index 1: ${project.url}/index.html > =09at java.net.URI.create(URI.java:852) > =09at org.apache.maven.doxia.site.decoration.inheritance.URIPathDescripto= r.(URIPathDescriptor.java:69) > =09at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecoratio= nModelInheritanceAssembler$URLContainer.rebaseLink(DefaultDecorationModelIn= heritanceAssembler.java:453) > =09at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecoratio= nModelInheritanceAssembler.rebaseLinkItemPaths(DefaultDecorationModelInheri= tanceAssembler.java:300) > =09at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecoratio= nModelInheritanceAssembler.mergeLinkItemLists(DefaultDecorationModelInherit= anceAssembler.java:326) > =09at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecoratio= nModelInheritanceAssembler.assembleBodyInheritance(DefaultDecorationModelIn= heritanceAssembler.java:228) > =09at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecoratio= nModelInheritanceAssembler.assembleModelInheritance(DefaultDecorationModelI= nheritanceAssembler.java:109) > =09at org.apache.maven.doxia.tools.DefaultSiteTool.getDecorationModel(Def= aultSiteTool.java:1171) > =09at org.apache.maven.doxia.tools.DefaultSiteTool.getDecorationModel(Def= aultSiteTool.java:423) > =09at org.apache.maven.plugins.site.descriptor.AbstractSiteDescriptorMojo= .prepareDecorationModel(AbstractSiteDescriptorMojo.java:86) > =09at org.apache.maven.plugins.site.render.AbstractSiteRenderingMojo.crea= teSiteRenderingContext(AbstractSiteRenderingMojo.java:279) > =09at org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo= .java:151) > =09at org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java= :135) > =09at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Defau= ltBuildPluginManager.java:134) > =09... 21 more > Caused by: java.net.URISyntaxException: Illegal character in path at inde= x 1: ${project.url}/index.html > =09at java.net.URI$Parser.fail(URI.java:2848) > =09at java.net.URI$Parser.checkChars(URI.java:3021) > =09at java.net.URI$Parser.parseHierarchical(URI.java:3105) > =09at java.net.URI$Parser.parse(URI.java:3063) > =09at java.net.URI.(URI.java:588) > =09at java.net.URI.create(URI.java:850) > =09... 34 more > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)