Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.0-beta-1
-
None
-
None
-
None
Description
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>
Attachments
Issue Links
- duplicates
-
MSITE-431 Rendering the site produces a Fatal error message if the parent pom isn't in the parent directory
- Closed