Now, I do maven eclipse:generate-project
and it works fine. But if I do maven eclipse which is simply defined as prereqs="eclipse:generate-project, eclipse:generate-classpath"> then I get a nullpointer exception, as follows:
__ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-rc1-SNAPSHOT
eclipse:
eclipse:generate-project:
eclipse:generate-project:
[echo] Creating D:\src\open\maven/.project ...
java.lang.NullPointerException
at org.apache.maven.plugin.PluginManager.createPluginContext(PluginManag
er.java:553)
at org.apache.maven.plugin.PluginManager.createPluginContext(PluginManag
er.java:541)
at org.apache.maven.jelly.tags.werkz.MavenAttainGoalListener.preAttain(M
avenAttainGoalListener.java:134)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:578)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
467)
at org.apache.maven.Maven.attainGoals(Maven.java:254)
at org.apache.maven.cli.App.doMain(App.java:451)
at org.apache.maven.cli.App.main(App.java:1016)
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: 9 seconds
Finished at: Mon Aug 04 11:10:43 EDT 2003
Very very weird...
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
