You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Ahrer (JIRA)" <ji...@codehaus.org> on 2006/11/09 13:01:31 UTC

[jira] Created: (MSITE-191) ${project.organization.name} is not evaluated in site.xml

${project.organization.name} is not evaluated in site.xml 
----------------------------------------------------------

                 Key: MSITE-191
                 URL: http://jira.codehaus.org/browse/MSITE-191
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-5
            Reporter: Martin Ahrer


In a site.xml I'm trying to reference the project.organization.name element from the POM. This expression is not evaluated properly when running the site plugin for rendering a site! But for example the epxression ${project.name} works fine!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-191) ${project.organization.name} is not evaluated in site.xml

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-191?page=comments#action_79710 ] 
            
Vincent Siveton commented on MSITE-191:
---------------------------------------

What is the maven version?
Is ${project.organization.name} = ${project.name} ?


> ${project.organization.name} is not evaluated in site.xml 
> ----------------------------------------------------------
>
>                 Key: MSITE-191
>                 URL: http://jira.codehaus.org/browse/MSITE-191
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>            Reporter: Martin Ahrer
>
> In a site.xml I'm trying to reference the project.organization.name element from the POM. This expression is not evaluated properly when running the site plugin for rendering a site! But for example the epxression ${project.name} works fine!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-191) ${project.organization.name} is not evaluated in site.xml

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-191?page=comments#action_79822 ] 
            
Vincent Siveton commented on MSITE-191:
---------------------------------------

OK I was thinking about another issue.

You right about the interpolation. See the TODO here:
http://maven.apache.org/plugins/maven-site-plugin/xref/org/apache/maven/plugins/site/AbstractSiteMojo.html#805

> ${project.organization.name} is not evaluated in site.xml 
> ----------------------------------------------------------
>
>                 Key: MSITE-191
>                 URL: http://jira.codehaus.org/browse/MSITE-191
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>            Reporter: Martin Ahrer
>
> In a site.xml I'm trying to reference the project.organization.name element from the POM. This expression is not evaluated properly when running the site plugin for rendering a site! But for example the epxression ${project.name} works fine!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-191) ${project.organization.name} is not evaluated in site.xml

Posted by "Martin Ahrer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-191?page=comments#action_79815 ] 
            
Martin Ahrer commented on MSITE-191:
------------------------------------

The version of maven  itself is 2.0.4 (version as published as last release version)!

When ${project.organization.name}  is used in site.xml exactly "${project.organization.name}" is rendered to the HTML page - So I guess the expression is not evaluated at all?

In my POM project.name is not equal to project.organization.name, they have different names!

> ${project.organization.name} is not evaluated in site.xml 
> ----------------------------------------------------------
>
>                 Key: MSITE-191
>                 URL: http://jira.codehaus.org/browse/MSITE-191
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>            Reporter: Martin Ahrer
>
> In a site.xml I'm trying to reference the project.organization.name element from the POM. This expression is not evaluated properly when running the site plugin for rendering a site! But for example the epxression ${project.name} works fine!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MSITE-191) ${project.organization.name} is not evaluated in site.xml

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-191?page=all ]

Vincent Siveton closed MSITE-191.
---------------------------------

         Assignee: Vincent Siveton
       Resolution: Fixed
    Fix Version/s: 2.0

Fixed. All expressions like ${project.*} will be interpolated in the site.xml

> ${project.organization.name} is not evaluated in site.xml 
> ----------------------------------------------------------
>
>                 Key: MSITE-191
>                 URL: http://jira.codehaus.org/browse/MSITE-191
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>            Reporter: Martin Ahrer
>         Assigned To: Vincent Siveton
>             Fix For: 2.0
>
>
> In a site.xml I'm trying to reference the project.organization.name element from the POM. This expression is not evaluated properly when running the site plugin for rendering a site! But for example the epxression ${project.name} works fine!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira