You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2011/07/13 09:21:42 UTC

[jira] Commented: (MSITE-337) site not reading properly with properties

    [ https://jira.codehaus.org/browse/MSITE-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273134#comment-273134 ] 

Lukas Theussl commented on MSITE-337:
-------------------------------------

I don't know why 'install' works in this case, it shouldn't IMO. The module defines its parent version via properties that are only defined in the parent, which is impossible to resolve. Maven 3 emits a warning for this setup, but I guess it only works to keep some historic feature.

> site not reading properly with properties
> -----------------------------------------
>
>                 Key: MSITE-337
>                 URL: https://jira.codehaus.org/browse/MSITE-337
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: property interpolation
>    Affects Versions: 2.0-beta-6, 2.0
>         Environment: Ubuntu 8.0.4, Windows XP, Sun JDK 1.6, Sun JDK 1.5
>            Reporter: Leon
>            Priority: Critical
>         Attachments: project.tgz
>
>
> The site goal does not read the correct properties from a parent pom if the properties are used to set the version of the artifact.
> For the attached project "mvn install" works but "mvn site" fails.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira