You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Paulo Silveira <pa...@paulo.com.br> on 2003/03/12 01:16:33 UTC

maven running in a directory that has not a project.XML

ok guys, is that a bug?

$ maven
 __  __
|  \/  |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-9-SNAPSHOT


java.lang.NullPointerException
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
362)
        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:  0 seconds

Shouldnt it say "no project.xml" or something like that?

------------------------
Paulo Silveira
http://www.paulo.com.br/
http://www.guj.com.br/
 



Re: maven running in a directory that has not a project.XML

Posted by di...@multitask.com.au.
Yes.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"Paulo Silveira" <pa...@paulo.com.br> wrote on 11/03/2003 09:16:33 PM:

> ok guys, is that a bug?
> 
> $ maven
>  __  __
> |  \/  |__ Jakarta _ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-9-SNAPSHOT
> 
> 
> java.lang.NullPointerException
>         at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 362)
>         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:  0 seconds
> 
> Shouldnt it say "no project.xml" or something like that?
> 
> ------------------------
> Paulo Silveira
> http://www.paulo.com.br/
> http://www.guj.com.br/
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-maven-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
turbine-maven-dev-help@jakarta.apache.org
>