Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
downloaded commons-jelly-1.0-beta-3, maven-1.0-beta-9, using win2k and j2sdk1.4.1_02
Description
Downloaded example.jelly as described in http://jakarta.apache.org/commons/sandbox/jelly/jellyswing.html.
Installed maven such that when I type "maven -h" everything looks fine.
Typed "maven demo:swing" and got
<< __ __
\/ | __ 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: 3 seconds>>
Somehow this doesn't surprise me:
how shall maven learn about example.jelly (albeit it is in the current working directory from which I started maven...) - there is no "-f" option or alike where I had to tell maven where to look for it...
Any hints would be highly appreciated - many thanks in advance!
Ralf
P.S.: I am getting a similar error when just calling "maven" on its own - perhaps there is another cause for the problem (http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-427)?