You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Sveen (JIRA)" <ji...@codehaus.org> on 2006/08/07 20:43:09 UTC
[jira] Commented: (MSITE-169) links to modules where not working if
a modules dir is used
[ http://jira.codehaus.org/browse/MSITE-169?page=comments#action_71782 ]
Anders Sveen commented on MSITE-169:
------------------------------------
The links in my project also turns out wrong.
My modules/directory structure:
- rootproj
-- pom.xml
-- module1
-- module2
-- module3
Generated filestructure for site (correct according to artifactId):
rootproj
- pom.xml
- rootproj-module1
- rootproj-module2
- rootproj-module3
Generated linkstructure (correct according to original directory structure):
rootproj
- pom.xml
- module1
- module2
- module3
> links to modules where not working if a modules dir is used
> -----------------------------------------------------------
>
> Key: MSITE-169
> URL: http://jira.codehaus.org/browse/MSITE-169
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.0, 2.0-beta-4, 2.0-beta-5
> Reporter: Mathias Brökelmann
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
> <module>modules/module1</module>
> <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.
--
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