I've seen this error too and it is related to not having a project.xml file in the directory where you call 'maven'.

Could we get a better error message for this case? In ant it says something nice like "build.xml not found".

Cheers,
--Bill

[EMAIL PROTECTED] wrote:
Do you have a project.xml in that directory?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Work:      http://www.multitask.com.au


"David Liles" <[EMAIL PROTECTED]> wrote on 18/06/2003 02:37:13 PM:



Thanks for the info however, when I entered the below line I got the
following error.

I'm not sure what I need to do at this point....

Thanks


C:\projects>maven -Dpackage=com.example.test testapp __ __ | \/ |__ Jakarta _ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-9-SNAPSHOT

java.lang.NullPointerException
at org.apache.maven.plugin.PluginManager.
attainGoals(PluginManager.java:
376)
at

org.apache.maven.MavenSession.attainGoals(MavenSession.java:357)


       at org.apache.maven.cli.App.doMain(App.java:524)
       at org.apache.maven.cli.App.main(App.java:1080)
       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:543)
       at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time:  7 seconds




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to