You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Kristian Köhler <Kr...@gmx.de> on 2004/09/02 09:20:15 UTC
Parsing Error in project.xml
Hi
after updating the project i get the following error (same with new
checkout):
org.apache.maven.MavenException: Error parsing project.xml
'D:\work\jakarta\geronimo\incubator-geronimo\etc\project.xml'
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:208)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:232)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235)
at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
at org.apache.maven.cli.App.doMain(App.java:473)
at org.apache.maven.cli.App.main(App.java:1215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Any ideas?
Kristian
Re: Parsing Error in project.xml -- fixed
Posted by David Blevins <da...@visi.com>.
On Thu, Sep 02, 2004 at 09:20:15AM +0200, Kristian Köhler wrote:
> Hi
>
> after updating the project i get the following error (same with new
> checkout):
>
> org.apache.maven.MavenException: Error parsing project.xml
> 'D:\work\jakarta\geronimo\incubator-geronimo\etc\project.xml'
This issue has been fixed and is checked in.
Do an update and give it a shot.
-David
Re: Parsing Error in project.xml
Posted by Jacek Laskowski <jl...@apache.org>.
Kristian Köhler wrote:
> When I modify the entity reference to a absolut one
> (<!DOCTYPE project SYSTEM
> file:///d:/work/jakarta/geronimo/incubator-geronimo/etc/version-info.ent">)
>
> maven build runs a step further.
That means that's indeed a problem with entity refs resolving in Maven.
Would that mean that Dain uses the newest Maven release? My
environment is like yours, the same versions of Maven, JDK and OS.
> Kristian
>
>
> ps: maven1.0, jdk 1.4.2_05, windows2000
Jacek
Re: Parsing Error in project.xml
Posted by Kristian Köhler <Kr...@gmx.de>.
Hi Jacek
> It's only a guess, but I think it's associated with the recent changes
> (that I couldn't resist to praise :)). They externalized dependencies'
> version numbers from project.xml files to another file, and introduced
> entity refs in their place.
When I modify the entity reference to a absolut one
(<!DOCTYPE project SYSTEM
file:///d:/work/jakarta/geronimo/incubator-geronimo/etc/version-info.ent">)
maven build runs a step further.
BUILD FAILED
File...... d:\work\jakarta\geronimo\incubator-geronimo\maven.xml
Element... maven:reactor
Line...... 181
Column.... 27
Error parsing project.xml
'd:\work\jakarta\geronimo\incubator-geronimo\applications\demo\project.xml'
Kristian
ps: maven1.0, jdk 1.4.2_05, windows2000
Re: Parsing Error in project.xml
Posted by Jacek Laskowski <jl...@apache.org>.
Kristian Köhler wrote:
> Hi
>
> after updating the project i get the following error (same with new
> checkout):
I'm doing it now...
> org.apache.maven.MavenException: Error parsing project.xml
> 'D:\work\jakarta\geronimo\incubator-geronimo\etc\project.xml'
> at
> org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:208)
It's only a guess, but I think it's associated with the recent changes
(that I couldn't resist to praise :)). They externalized dependencies'
version numbers from project.xml files to another file, and introduced
entity refs in their place.
I see the code couldn't recover itself after the changes (and their
impressiveness) as did I ;)
> Kristian
Jacek