Unable to load parent POM on executing mvn site
-----------------------------------------------
Key: MNG-4671
URL: http://jira.codehaus.org/browse/MNG-4671
Project: Maven 2 & 3
Issue Type: Bug
Affects Versions: 3.0-beta-1
Reporter: Karsten Thoms
I have an issue executing 'mvn site', which does not occur with Maven2.
Steps to reproduce:
- check out http://svn.apache.org/repos/asf/commons/proper/lang/tags/LANG_2_5/
- run 'mvn site'
Another issue here is that mvn runs successfully although I get a FATAL error.
[INFO] ------------------------------------------------------------------------
[INFO] Building Commons Lang 2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-site-plugin:2.0.1:site (default-site) @ commons-lang ---
[INFO] Unable to load parent project from a relative path: 1 problem was
encountered while building the effective model
[FATAL] Non-readable POM
/Users/thoms/Documents/Events/20100510_DortmundTycho/projects/pom.xml:
/Users/thoms/Documents/Events/20100510_DortmundTycho/projects/pom.xml (No such
file or directory) @
for project at
/Users/thoms/Documents/Events/20100510_DortmundTycho/projects/pom.xml
[INFO] Parent project loaded from repository.
[INFO] Parent project loaded from repository.
[INFO] Unable to load parent project from a relative path: 1 problem was
encountered while building the effective model
[FATAL] Non-readable POM
/Users/thoms/Documents/Events/20100510_DortmundTycho/projects/pom.xml:
/Users/thoms/Documents/Events/20100510_DortmundTycho/projects/pom.xml (No such
file or directory) @
for project at
/Users/thoms/Documents/Events/20100510_DortmundTycho/projects/pom.xml
[INFO] Parent project loaded from repository.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.121s
[INFO] Finished at: Mon May 10 13:57:46 CEST 2010
[INFO] Final Memory: 7M/80M
[INFO] ------------------------------------------------------------------------
The POM itself declares a parent without relative path. The Parent POM is
available in my local repository, so I expect that it should not try to resolve
it from the relative path.
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>12</version>
</parent>
--
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