Just stumbled over the <relativePath> element, which I assume will solve my
warning, a case of rtfm there...


On 12/05/06, Mikael Andersson < [EMAIL PROTECTED]> wrote:

Hi

When I try to run "mvn site:site" in a child module I get the following
warning message:
[WARNING] Unable to load parent project from repository: Could not find
the model file '/scratch/usr/workspace/rssgen/rssgen-core/../pom.xml'.

It is looking for the parent pom in the wrong place, to work for me it
would have to look here: ...../rssgen/rssgen-core../rssgen-parent/pom.xml

My project structure is like this:

/rssgen/rssgen-parent
/rssgen/rssgen-core
/rssgen/rssgen-servlet

with group Id for all being uk.ac.ebi.es.rssgen , and the artifactId the
same as the top directory above.

Another question; is it possible to get the ${modules} navigation which I
have in the parent module in the child modules?
Currently I have the ${modules} in the child modules site.xml, but there
is nothing generated. Can I reference the parents ${modules} somehow?

Thanks
 Micke

Reply via email to