You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kathryn Newbould (Jira)" <ji...@apache.org> on 2019/09/19 18:49:00 UTC

[jira] [Commented] (MSITE-847) "$prerequisiteMavenVersion" text in plugin's documentation

    [ https://issues.apache.org/jira/browse/MSITE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933678#comment-16933678 ] 

Kathryn Newbould commented on MSITE-847:
----------------------------------------

Either this is not as simple as it seems, or I'm missing something :D
Tried to fix it locally as a test, and am seeing the following behaviour:

./target/site/index.html:143:<p>This is the site for <b>version 3</b> of the maven-site-plugin. It requires at least Maven *$<a name="project.properties.prerequisiteMavenVersion">project.properties.prerequisiteMavenVersion</a> to run test: 3.8.3-SNAPSHOT, Jenkins, 3.0*.


./src/site/apt/index.apt.vm:35: This is the site for <<version 3>> of the maven-site-plugin. It requires at least Maven *${project.properties.prerequisiteMavenVersion} to run test: ${project.version}, ${project.ciManagement.system}, ${project.properties.mavenVersion}*.

 

This is the behaviour that we'd expect if the property couldn't be found within the pom.xml, but as far as I can see the value is [there|[https://github.com/apache/maven-site-plugin/blob/9fa5222141ae30f4b387350223da6c4c0dba5000/pom.xml]].

It seems that project.properties.prerequisiteMavenVersion is a link?  or there is special processing around this name somehow?  I can extract other values from project.properties, it's only the prerequisite version that behaves this way.  

> "$prerequisiteMavenVersion" text in plugin's documentation
> ----------------------------------------------------------
>
>                 Key: MSITE-847
>                 URL: https://issues.apache.org/jira/browse/MSITE-847
>             Project: Maven Site Plugin
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.8.2
>            Reporter: Hervé Boutemy
>            Priority: Trivial
>              Labels: up-for-grabs
>
> looking at https://maven.apache.org/plugins-archives/maven-site-plugin-3.8.2/
> {quote}It requires at least Maven $prerequisiteMavenVersion to run{quote}
> where previously we had https://maven.apache.org/plugins-archives/maven-site-plugin-3.7.1/
> {quote}It requires at least Maven 2.2.1 to run{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)