Lennart Jörelid wrote:
> Good evening, all.
>
> Today, maven-site-plugin performs its site:stage goal by copying the site
> of a project into a staging directory, and relativizing some URLs. The
> latter part is done by calculating the difference between the current
> project's ${project.distributionManagement.site.url} and
> the ${project.distributionManagement.site.url} of the topmost parent pom,
> retrieved from the current project.
>
> The MSITE-699 patch (https://jira.codehaus.org/browse/MSITE-669) currently
> introduces an optional parameter to permit relativizing the URLs in a
> staged site against the ${project.distributionManagement.site.url} of the
> reactor root pom instead. This flexibility simplifies site:stage for
> nonstandard reactor layouts.
>
> However - I believe it could be more powerful/flexible/desirable to simply
> add an optional parameter to the site:stage goal with the desired root URL
> (i.e. giving the users the ability to supply the effective site:stage root
> URL as a [command line] configuration parameter). This would enable users
> to create staged sites for parts of a reactor with relative ease - which
> would be an improvement to the current site:stage goal.
>
> It would certainly be a simple patch to supply.
> What do you think?
This would be a more general solution than the current MSITE-699, sounds
reasonable to me.
-Lukas
>
> --
> +==============================+
> | Bästa hälsningar,
> | [sw. "Best regards"]
> |
> | Lennart Jörelid
> | EAI Architect & Integrator
> |
> | Phone
> | (skype): jgurueurope
> +==============================+
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]