maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Remijan <>
Subject Re: Why can't 'mvn site' find a grand-parent pom?
Date Fri, 03 Jun 2011 16:35:20 GMT
Ok, so I am trying to use version 3.0-beta-3 and Maven is acting so inconsistently I can't
make any sense of what's going on. 

When I execute `mvn site` I see the following which indicates Maven is not getting the correct
version of the plugin.

     [INFO] --- maven-site-plugin:2.1:site (default-site) @ ferris-bible-jmce ---

When I grep through `mvn help:effective-pom` I see the wrong version number...


But when I execute `mvn help:describe -Dplugin=site` it shows the correct version!!!

     Group Id: org.apache.maven.plugins
     Artifact Id: maven-site-plugin
     Version: 3.0-beta-3

This is completely frustrating and I have no idea what's going on.

Any other thoughts?

From: Dennis Lundberg <>
To: Maven Users List <>
Sent: Wednesday, June 1, 2011 3:34 PM
Subject: Re: Why can't 'mvn site' find a grand-parent pom?

On 2011-06-01 16:18, Michael Remijan wrote:
> I'm using Maven 3.0.2 and when I execute 'mvn site' I get errors saying Maven cannot
find one of my pom files.  The error is:
> [INFO] --- maven-site-plugin:2.1:site (default-site) @ ferris-bible-jmce ---

Note that maven-site-plugin 2.1 is not compatible with Maven 3. Please
use version 3.0-beta-3.

> Downloading:
> [INFO] Unable to load parent project from a relative path: 1 problem was encount
> ered while building the effective model for org.ferris:ferris-bible-parent:0.0.4

This is a standard error message in Maven 3. It occurs when Maven is
building a project and cannot find the parent of the project using
<parent> / <relativePath>. See

> I have 2 questions:
> 1) Why isn't Maven looking for the file in .m2/repository/ ?  The POM is already there.
> 2) Why is Maven only look in "" for the pom and not look
through the rest of <repository> entries in my settings.xml? 

Dennis Lundberg

To unsubscribe, e-mail:
For additional commands, e-mail:
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message