[ 
https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fred Cooke reopened MSITE-672:
------------------------------


Sorry for the delay in replying, but closing this is absolutely not acceptable 
to me. Marking it as "cannot reproduce" is just plain inaccurate. "Won't fix" 
might be appropriate, but would still have resulted in my reopening with en 
emphatic "Then I will!" comment.

*Some* solution *must* be found for this.

My previous comment was written after a few glasses of wine, which may have 
been a contributing factor to me confusing the behaviour of m-site-p with that 
of m-release-p, which does in fact screw with the variable and differ from the 
effective-pom output.

Your first link mentions nothing about such arbitrary transformations as far as 
I can tell, and I note that it's been updated today, and as such looked extra 
hard. Blind?

Your second link states that "Default value is: parent value [+ path 
adjustment] + artifactId " for the site URL. If the parent does NOT contain a 
value, but ONLY a variable, then you should honour that variable being 
interpolated in the child as with all others. Variables, in Maven, as you well 
know, being a core committer, and infinitely more important than I, are 
universally interpolated at the lowest level. Trying to do otherwise is 
difficult in most cases.

Here it's *impossible" to get the right result without wholesale duplication of 
configuration. If my parent had an actual URL, then I'd be quite happy for the 
process you describe to take place, BUT IT DOESN'T have a URL, only a variable, 
intended to be determined in the child.
                
> 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
>            Assignee: Herve Boutemy
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to