[ 
http://jira.codehaus.org/browse/MSITE-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138595#action_138595
 ] 

Paul Sundling commented on MSITE-238:
-------------------------------------

It's confusing for a starting user that when you do mvn site:site the links for 
the subprojects aren't pointing to the write place with where the files are 
generated.  As John Allen comments if you do mvn site:site site:deploy and the 
url is not filled in, then this will copy the files to a location that will 
have the right links for the subprojects.

i.e. after doing site:site on ANY multi-module project without urls specified:

actual site generation location:
overall/target/site/  (parent project)
overall/child1/target/site/  (child 1)
overall/child2/target/site/  (child 2)

It would be nice if the subprojects would have links to where the site files 
for subprojects are generated when no url is provided, using relative paths  
Then the url could be templated for the stage/deploy use cases and the relative 
links to projects would always work, even for site:site.



> multi project default URL is wrong
> ----------------------------------
>
>                 Key: MSITE-238
>                 URL: http://jira.codehaus.org/browse/MSITE-238
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>            Reporter: Paul Sundling
>            Priority: Trivial
>
> In multi module projects the default URL if non is included is 
> <baseURL>/<parentProject>/target/site/<childProject>/index.html , but it 
> should be <baseURL>/<parentProject>/<childProject>/target/site/index.html. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to