maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lennart Jorelid (JIRA)" <j...@codehaus.org>
Subject [jira] (MSITE-669) site:stage creates incorrect structure when module paths contains sets of "../"
Date Wed, 20 Feb 2013 04:34:13 GMT

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

Lennart Jorelid commented on MSITE-669:
---------------------------------------

Taking a look at the site:stage-deploy goal, I am a little confused over its structure.

One could assume that it would be relying on the fact that site:stage had been run, but instead
it basically is a copy of the site:stage plus some extra steps/parameters to deploy the staged
site.

I wonder if it would not be more natural that the site:stage-deploy goal would

# Need the site:stage goal to be run, and complain otherwise
# Simply deploy the output from the site:stage goal to a remote location instead of doing
all site:stage work all over again
                
> site:stage creates incorrect structure when module paths contains sets of "../"
> -------------------------------------------------------------------------------
>
>                 Key: MSITE-669
>                 URL: https://jira.codehaus.org/browse/MSITE-669
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module, relative links, site:stage(-deploy)
>    Affects Versions: 3.1, 3.2
>            Reporter: Lennart Jorelid
>            Assignee: Lukas Theussl
>         Attachments: msite_669.patch, msite_669_v2.patch, msite_669_v3.patch, nazgul_tools_project_dependencies.png,
nazgul_tools_project_dependencies.png, nazgul_tools_reactor_structure.png, sample.zip
>
>
> Given the module definitions given below, the site:stage goal produces sets of maps relative
to the staging directory - i.e. outside of the target directory.
> {code:xml} 
> <modules>
>   <module>../../validation/validation-api</module>
>   <module>../../validation/validation-aspect</module>
>   <module>../parent</module>
> </modules>
> {code}
> The staged site should be fully included within the staging directory. It would appear
that relativization of links for site:stage should take special links into consideration.

--
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

        

Mime
View raw message