[ https://issues.apache.org/jira/browse/MPIR-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209484#comment-16209484 ]
Brad Flood commented on MPIR-349: --------------------------------- [~hboutemy] version 2.10, containing the fix for MPIR-349 does not appear to have been released yet. Can you provide an indication on plans to release 2.10? If it is not planned, could you please advise as to how to configure project-info-reports-plugin:2.9 to work around this? I've followed the other tickets and believe I am current with regards to all other suggested workarounds. We are currently blocked, not able to generate production site reports without the broken links caused by this issue. The project variableSettingsIndexReport (provided in this ticket) fails with my configuration. I have maven-site-plugin:3.6, and sitetools 1.7.4 is configured correctly there. But project-info-reports-plugin uses doxia-integration-tools:1.6 {code:java} [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-project-info-reports-plugin:2.9 [DEBUG] Included: org.apache.maven.plugins:maven-project-info-reports-plugin:jar:2.9 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.3 [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:0.6 [DEBUG] Included: com.google.code.findbugs:jsr305:jar:2.0.1 [DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:3.1 [DEBUG] Included: org.apache.maven.shared:maven-dependency-tree:jar:2.2 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 [DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M2 [DEBUG] Included: org.apache.maven.doxia:doxia-integration-tools:jar:1.6 ... {code} I cannot figure out how to configure MPIR to use org.apache.maven.doxia:doxia-integration-tools:jar:1.7.4. Any help is appreciated, either by releasing the 2.10 or giving guidance on what I am missing regarding the workaround. Thanks > Bad modules links in 'index/modules' reports when > 'distributionManagement.site.url' comes from settings.xml > ----------------------------------------------------------------------------------------------------------- > > Key: MPIR-349 > URL: https://issues.apache.org/jira/browse/MPIR-349 > Project: Maven Project Info Reports Plugin > Issue Type: Bug > Components: index, modules > Affects Versions: 2.9 > Reporter: Alix Lourme > Assignee: Hervé Boutemy > Labels: features > Fix For: 2.10 > > Attachments: MPIR-349-maven-project-info-reports-plugin.patch, > variableSettingsIndexReport.zip > > > When the _distributionManagement.site.url_ contains a property filled in > _settings.xml_ like : > _pom.xml_ : > {code} > <distributionManagement> > <site> > <id>projectSite</id> > <url>${sitePublishLocation}/foo/${project.artifactId}</url> > </site> > </distributionManagement> > {code} > _settings.xml_: > {code} > <?xml version="1.0" encoding="ISO-8859-1"?> > <settings ...> > <profiles> > <profile> > <id>site-location</id> > <properties> > > <sitePublishLocation>file://tmp/sitePublish</sitePublishLocation> > </properties> > </profile> > </profiles> > <activeProfiles> > <activeProfile>site-location</activeProfile> > </activeProfiles> > </settings> > {code} > The modules links in *index* report contain > {code} > ${sitePublishLocation} > {code} > Problem can be reproduced with [^variableSettingsIndexReport.zip] project > (dependencies required : [maven-site-plugin > 3.6-SNAPSHOT|http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-site-plugin] > & [doxia-integration-tools > 1.7.2-SNAPSHOT|https://svn.apache.org/repos/asf/maven/doxia/doxia-sitetools/trunk/]). > This command fails: > {code} > mvn site -s settings-site-location.xml > {code} > This command works: > {code} > mvn site -s settings-site-location.xml > -DsitePublishLocation="/tmp/sitePublish" > {code} > The root cause is explained in MSITE-783 and fixed by DOXIASITETOOLS-166. -- This message was sent by Atlassian JIRA (v6.4.14#64029)