[ http://jira.codehaus.org/browse/MSITE-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171784#action_171784 ]
murray commented on MSITE-395:
------------------------------
Can get site:site to work if each of the modules has the following.
Parent
2.0
maven-site-plugin
${site.version}
en
Modules
maven-site-plugin
${site.version}
en
${project.parent.reporting.outputDirectory}/${name}
> Maven site multi module url problem
> -----------------------------------
>
> Key: MSITE-395
> URL: http://jira.codehaus.org/browse/MSITE-395
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0
> Reporter: valsho
> Priority: Blocker
>
> The generated maven (2.0.10) site for a multi module project is different on windows and linux.
> The difference is the relative url for the modules.
> --------------------------------------------------
> Here's the project structure :
> myProject/
> trunk/
> pom.xml
> module1/
> pom.xml
> src/
> module2/
> pom.xml
> src/
> --------------------------------------------------
> Here's myProject/trunk/pom.xml definition :
> com.myProject
> modulepom
> pom
> POM myProject
> 1.0-SNAPSHOT
>
>
> module1
> module2
>
>
>
> site
> Maven site
> file://
>
>
>
>
> org.apache.maven.plugins
> maven-site-plugin
> 2.0
>
>
> --------------------------------------------------
> On module1 and module2 pom, I didn't declare any information.
> I've "only" declared the parent
>
> com.myProject
> modulepom
> 1.0-SNAPSHOT
>
>
> com.myProject
> module1
> jar
> 1.0-SNAPSHOT
> module1 name
> --------------------------------------------------
> Here are the index.html files generated on windows and linux in myProject/trunk/target/staging/localhost/ after launching mvn site:stage in directory myProject/trunk/
> --> Site deployed on Windows which is correct
> ....
> Modules
> -
> module1 name
>
>
> -
> module2 name
>
> ...
> --> Site deployed on Linux which isn't correct
> ...
> Modules
> -
> module1 name
>
>
> -
> module2 name
>
> ...
> where /tmp/testProject/ is the absolute path where is stored myProject/ on linux
> --------------------------------------------------
> Any idea ?
> Maybe i should use something different in than file://
> Thanks for your help
--
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