Maven 1

Wrong basedir property in <extend> producess unusefull error message

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: 1.1-beta-3
  • Component/s: None
  • Labels:
    None
  • Environment:
    Linux, Maven 1.0.2/Maven 1.1-beta-1
  • Testcase included:
    yes
  • Number of attachments :
    2

Description

In one of my projects I've misspelt basedir property in such way:

— ok/project.xml 2005-08-05 00:55:49.000000000 +0300
+++ bug/project.xml 2005-08-05 00:55:28.000000000 +0300
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>

  • <extend>${basedir}/../project.xml</extend>
    + <extend>{$basedir}/../project.xml</extend>
    <pomVersion>3</pomVersion>

and Maven reported about:

File...... /home/mn/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly
Element... maven:reactor
Line...... 64
Column.... 9
Unknown error reading project

for Maven 1.1-beta-1 and

File...... /home/mn/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly
Element... maven:reactor
Line...... 64
Column.... 9
Parent POM is equal to the current POM

for Maven 1.0.2

  1. extendbug.tar.gz
    04/Aug/05 5:30 PM
    0.6 kB
    Mykola Nikishov
  2. wrongextend.patch
    04/Aug/05 5:30 PM
    0.4 kB
    Mykola Nikishov

Activity

Hide
Lukas Theussl added a comment -

Maven 1.1-beta-3 gives

java.io.FileNotFoundException: Parent POM not found

which is hopefully useful enough...

Show
Lukas Theussl added a comment - Maven 1.1-beta-3 gives java.io.FileNotFoundException: Parent POM not found which is hopefully useful enough...

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: