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

[jira] (MSITE-672) Interpolation of site deploy URL not done in child

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

Fred Cooke commented on MSITE-672:
----------------------------------

Three combos:

declared in parent only - as above
declared in parent and child identically - as above, no change
NOT declared in parent, only in child, identically to before - works as expected

Due to this I and an SCM issue I have an extra 13 lines in every single child project. I don't like it at all, but it works for now. I'm happy to work with whoever to help resolve this properly. As far as I'm concernted when mvn help:effective-pom reports a certain set of values for a property, that is what I expect to be used. This is in violation of the basic principal of maven pom properties and late/final evaluation.
                
> Interpolation of site deploy URL not done in child
> --------------------------------------------------
>
>                 Key: MSITE-672
>                 URL: https://jira.codehaus.org/browse/MSITE-672
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 3.0
>         Environment: Debian Linux OpenJDK 7 mvn 3.0.4 
>            Reporter: Fred Cooke
>
> I have my parent distribution site config filled out like so:
> {{<url>scp://private-site/home/private/site/releases/$\{project.groupId}/$\{project.artifactId}/$\{project.version}/</url>}}
> When the child tries to release:perform or {{site:deploy}} it tries to upload with the parent arifactId, groupId and version instead of the current project values. These should be interpolated like any other variables in the POM to prevent needless duplication in all children.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira