commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: [jelly] Problem with project.xml
Date Wed, 20 Oct 2004 12:12:52 GMT
Maven 1.1 does not currently support entities in project.xml. You need 
to use Maven 1.0 until this is resolved.

A Leg wrote:

> Hi
>
> If I try to compile jelly from CVS I get :
>
> {orion:rcs} maven
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.1-SNAPSHOT
>
> org.apache.maven.MavenException: Unknown error reading project
>        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:145)
>        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:98)
>        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)
> --- Nested Exception ---
> org.apache.maven.MavenException: Error parsing project.xml 
> '/home/rcs/Master/extern/java/jakarta/jakarta-commons/jelly/project.xml'
>        at 
> org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:188)
>        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:119)
>        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:98)
>        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)
> --- Nested Exception ---
> org.xmlpull.v1.XmlPullParserException: could not resolve entity named 
> 'commonDeps' (position: START_TAG seen ...<dependencies>\n  \n    
> &commonDeps;... @306:17)
>        at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1250)
>        at org.xmlpull.mxp1.MXParser.next(MXParser.java:1061)
>        at org.xmlpull.mxp1.MXParser.nextTag(MXParser.java:1046)
>        at 
> org.apache.maven.project.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:289) 
>
>        at org.apache.maven.project.Project.<init>(Project.java:131)
>        at 
> org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:184)
>        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:119)
>        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:98)
>        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)
>
> You have encountered an unknown error running Maven. Please help us to 
> correct
> this problem by following these simple steps:
> - read the Maven FAQ at http://maven.apache.org/faq.html
> - run the same command again with the '-e' parameter, eg maven -e jar
> - search the maven-user archives for the error at
> http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org 
>
> - post the output of maven -e to JIRA at
> http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up 
> first)
> - run 'maven --info' and post the output as the environment to the bug 
> above
>
>
> Total time: 1 seconds
> Finished at: Wed Oct 20 15:16:54 EEST 2004
>
> Andre
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message