Niclas Hedhman wrote:
Thank you very much but i've solved reinstalling maven and deleting the .maven directory. Now i've another problem compiling merlin servlet.
I've made these steps:
1) Checkout avalon\merlin project from cvs.apache.org 2) cd avalon\merlin\servlet 3) maven (MERLIN_HOME and MAVEN_HOME are correct)
the result:
C:\development\servlet\avalon\merlin\servlet>maven __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0
org.apache.maven.MavenException: Error parsing project.xml 'C:\development\servl
et\avalon\merlin\servlet\project.xml'
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:208)
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(DelegatingMethodAcces
sorImpl.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/[EMAIL PROTECTED]
- 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: 4 seconds Finished at: Thu Oct 14 13:52:49 CEST 2004
What about this error ?
thanks Federico
On Thursday 14 October 2004 14:56, Federico Piccinin wrote:
Can anyone help me ?
Sure.
The Avalon Meta Plugin for Maven has not been installed.
Now, FYI we are not likely to continue the Maven support, and the replacement Magic is far easier to get working, so I suggest that you do the following (provided that you have, or are prepared to, installed Subversion).
1. Check out the latest sources from the Subversion repository; svn co https://svn.apache.org/repos/asf/avalon/trunk avalon
2. Go to the root directory ( "cd avalon" after the command above), and issue the bootstrap command of Magic (which is an advanced Ant extension).
ant setup
3. Then run the build of the entire Avalon structure (takes ~8min on my 1.4GHz system), by;
ant
After that you find the Tutorials in avalon/planet/tutorials, and they can be compiled by executing "ant" from any directory level down the each project itself.
Cheers
Niclas
--
*Overit* *Information Technology*
via Bassi, 81 _33080_ Fiume Veneto (PN) - Italy http://www.overit.it
*Ing. Piccinin Federico** *SW Developer**
tel:/ +39 0434 562 968
/fax:* */+39 0434 562 925 /email:* */[EMAIL PROTECTED]/ <mailto:[EMAIL PROTECTED]>