You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "SebbASF (JIRA)" <ji...@codehaus.org> on 2011/02/11 00:15:22 UTC
[jira] Created: (MSITE-550) site:site parameter does
not work
site:site <attributes> parameter does not work
----------------------------------------------
Key: MSITE-550
URL: http://jira.codehaus.org/browse/MSITE-550
Project: Maven 2.x and 3.x Site Plugin
Issue Type: Bug
Affects Versions: 2.2
Reporter: SebbASF
The site:site goal has an optional attributes parameter:
{quote}
attributes:
The template properties for rendering the site.
* Type: java.util.Map
* Required: No
* Expression: ${attributes}
{quote}
However this does not work - no parameters are created for the template.
--
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] Reopened: (MSITE-550) site:site parameter does
not work
Posted by "SebbASF (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
SebbASF reopened MSITE-550:
---------------------------
Works OK in 3.0, but not in 2.4
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: https://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Assignee: Lukas Theussl
> Fix For: 2.4, 3.0
>
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-550) site:site parameter does
not work
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273326#comment-273326 ]
Lukas Theussl commented on MSITE-550:
-------------------------------------
The problem was the expression="${attributes}" parameter annotation, apparently that clashed with something else.
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: https://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MSITE-550) site:site parameter does
not work
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MSITE-550:
-------------------------------
Fix Version/s: (was: 2.4)
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: https://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Assignee: Lukas Theussl
> Fix For: 3.0
>
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-550) site:site parameter does
not work
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281373#comment-281373 ]
Lukas Theussl commented on MSITE-550:
-------------------------------------
After 3.0 was made to work with both maven 2 and 3, the 2.4 branch was abandoned.
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: https://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Assignee: Lukas Theussl
> Fix For: 2.4, 3.0
>
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-550) site:site parameter does
not work
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255780#action_255780 ]
Dennis Lundberg commented on MSITE-550:
---------------------------------------
Do you have a sample project that we can use to test this?
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: http://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
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-550) site:site parameter does
not work
Posted by "SebbASF (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
SebbASF closed MSITE-550.
-------------------------
Resolution: Fixed
Sorry, scratch that - did not notice that 2.4 failed to download.
Why has 2.4 not been released
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: https://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Assignee: Lukas Theussl
> Fix For: 2.4, 3.0
>
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-550) site:site parameter does
not work
Posted by "SebbASF (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255787#action_255787 ]
SebbASF commented on MSITE-550:
-------------------------------
If you build the example, you will see that $dummy is resolved, but $att1 is not.
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: http://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
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] Updated: (MSITE-550) site:site parameter does
not work
Posted by "SebbASF (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
SebbASF updated MSITE-550:
--------------------------
Attachment: MSITE-550.zip
Here is a simple example.
BTW, don't the unit tests include any examples of using <attributes> ?
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: http://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
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-550) site:site parameter does
not work
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl closed MSITE-550.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.0
2.4
Assignee: Lukas Theussl
Fixed in [r1147048|http://svn.apache.org/viewvc?rev=1147048&view=rev] and [r1147051|http://svn.apache.org/viewvc?rev=1147051&view=rev]
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: https://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Assignee: Lukas Theussl
> Fix For: 2.4, 3.0
>
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-550) site:site parameter does
not work
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260833#action_260833 ]
Lukas Theussl commented on MSITE-550:
-------------------------------------
The mojo-parameter attributes Map in AbstractSiteRenderingMojo is always instantiated anew for each project, it doesn't seem to get populated correctly from the pom.
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: http://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
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-550) site:site parameter does
not work
Posted by "SebbASF (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281375#comment-281375 ]
SebbASF commented on MSITE-550:
-------------------------------
OK, I see. In that case it would be helpful to remove 2.4 from the Fix versions.
> site:site <attributes> parameter does not work
> ----------------------------------------------
>
> Key: MSITE-550
> URL: https://jira.codehaus.org/browse/MSITE-550
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: SebbASF
> Assignee: Lukas Theussl
> Fix For: 2.4, 3.0
>
> Attachments: MSITE-550.zip
>
>
> The site:site goal has an optional attributes parameter:
> {quote}
> attributes:
> The template properties for rendering the site.
> * Type: java.util.Map
> * Required: No
> * Expression: ${attributes}
> {quote}
> However this does not work - no parameters are created for the template.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira