Neil Blue wrote:

I think you need to use genapp as the command e.g.

maven -Dpackage=za.co.fma.patricia genapp

Bombs out with the exact same error :(


Regards,
Graham
--

-----Original Message-----
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 15:08
To: [EMAIL PROTECTED]
Subject: Maven initial project creation throws an exception and dies


Hi all,


According to the manual, it is possible for maven to create an initial project directory structure like so:

maven -Dpackage=za.co.fma.patricia patricia

When I try it, I get an exception like so:

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


org.apache.maven.MavenException: Unable to extract plugin: /opt/maven-1.0-beta-8/plugins/maven-javadoc-plugin-1.1.jar
at
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:271)
at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:305)
at org.apache.maven.MavenSession.initialize(MavenSession.java:245)
at org.apache.maven.cli.App.doMain(App.java:507)
at org.apache.maven.cli.App.main(App.java:1074)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.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)
--- Nested Exception ---
java.io.FileNotFoundException: /opt/maven-1.0-beta-8/plugins/maven-javadoc-plugin-1.1/META-INF/MANIFEST.MF (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.maven.util.Expand.extractFile(Expand.java:192)
at org.apache.maven.util.Expand.expandFile(Expand.java:124)
at org.apache.maven.util.Expand.execute(Expand.java:104)
at
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:267)
at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:305)
at org.apache.maven.MavenSession.initialize(MavenSession.java:245)
at org.apache.maven.cli.App.doMain(App.java:507)
at org.apache.maven.cli.App.main(App.java:1074)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.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: 2 seconds


Does any of this mean anything to anyone? Or do I have to set up the directories myself?

Regards,
Graham


--
-----------------------------------------
[EMAIL PROTECTED]               "There's a moon
                                        over Bourbon Street
                                                tonight..."


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



Reply via email to