We are running into an NullPointerException when trying to invoke a simple
ant script through our maven.xml. maven.xml looks like the following:
<project default="run-ant" xmlns:ant="jelly:ant">
<goal name="run-ant">
<echo>Hello Maven!</echo>
</goal>
</project>
And the output we get from running....
> maven run-ant
...is the following....
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
java.lang.NullPointerException
at org.apache.maven.plugin.PluginManager.attainGoals
(PluginManager.java:
430)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
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)
Total time: 1 seconds
Finished at: Mon Mar 22 08:28:36 PST 2004
Any ideas as to why this is happening?
--
Open WebMail Project (http://openwebmail.org)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]