[ http://jira.codehaus.org/browse/MNG-554?page=comments#action_43839 ]
Yann Le Du commented on MNG-554: -------------------------------- Some more info : Prefixing siteDirectory with ${basedir} , i.e. : <siteDirectory>${basedir}/site</siteDirectory> ...solves the issue So I guess ${basedir} is not automatically prefixed when you are working in the parent project. The ${basedir} thing is also present in http://jira.codehaus.org/browse/MNG-694 > site:site launched from parent project doesn't parse child custom site source > sub-directories > --------------------------------------------------------------------------------------------- > > Key: MNG-554 > URL: http://jira.codehaus.org/browse/MNG-554 > Project: Maven 2 > Type: Bug > Components: maven-plugins > Versions: 2.0-alpha-3 > Environment: Windows XP > Reporter: Yann Le Du > Assignee: Vincent Siveton > Fix For: 2.0-beta-1 > Attachments: common.zip > > > Project A contains a module B. B's site source directory is different from > the default one and contains a sub-directory apt : > A / B / site / site.xml > A / B / site / apt / index.apt > ... so I've put this in the B / pom.xml plugins section : > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-site-plugin</artifactId> > <configuration> > <siteDirectory>site</siteDirectory> > </configuration> > When I launch site:site from B directory, B's site is correclty built. But > when I launch from A directory, B's index.html is missing. I guess that > site.xml was correctly taken, but that apt sub-directory was ignored. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]