What specifically do you mean by "corrupt?" Can you execute 'jar tvf' against it, or is it too whacked?

Charles N. Harvey III wrote:
I think it was a problem with permissions and the cache.
I ran "maven" as root and it ran.
Then I ran it as "charvey" and it ran fine.

But I have another problem....

When I run "maven jar:install" for one particular jar, it installs
a corrupt jar.  The jar in target/ is fine.  But the one it installs
in the repository is corrupt.  I have NO idea what could cause this.

Sorry to be such a bother.  Thanks again.


Charlie



John Casey said the following on 8/24/2004 10:45 AM:

> /home/charvey/.maven/cache/maven-nsis-plugin-1.1/META-INF/MANIFEST.MF

Does the /home/charvey/.maven/cache directory exist? You might be able to rebuild your plugin cache by deleting this directory, and re-running maven...also, off the top of my head, you might have a privs problem with ~/.maven

HTH,
john


Charles N. Harvey III wrote:

Everything I do gets me this error:

org.apache.maven.MavenException: Unable to extract plugin: /home/charvey/.maven/plugins/maven-nsis-plugin-1.1.jar
at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:941)


at org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:294)

at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:262)
at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207)


at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:473)
at org.apache.maven.cli.App.main(App.java:1215)
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:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
java.io.FileNotFoundException: /home/charvey/.maven/cache/maven-nsis-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:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)




But I checked the maven-nsis-plugin-1.1.jar and it has that file.
What am I doing wrong? Why can't I extract anything? This just
started happening and I have no idea why. If anyone has seen anything
like this please let me know. This even comes up when I run "maven --info".


Thanks a lot.


Charlie


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




------------------------------------------------------------------------

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


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




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

Reply via email to