Hi
Im running 'maven deploy' command from a non-root user and its is connecting
remote repo and has downloaded all required jars But it cannot access its
plugins folder jars....also my local repo is at
/home/gridport/.maven/repository/ ...............wat is the problem with this
deployment command........plz suggest solution......below is the error that
comes as i run deploy command
[EMAIL PROTECTED] gpir]$ maven deploy e
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
org.apache.maven.MavenException: Unable to extract plugin:
/usr/local/maven/plugins/maven-nsis-plugin-1.1.jar
at
org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1075)
at
org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:321)
at
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:288)
at
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204)
at org.apache.maven.MavenSession.initialize(MavenSession.java:171)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
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.IOException: File
/home/gridport/.maven/cache/maven-nsis-plugin-1.1/project.xml unable to be
deleted.
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1001)
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1169)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1125)
at
org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1065)
at
org.apache.maven.plugin.PluginManager.expandPluginFiles(PluginManager.java:321)
at
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:288)
at
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204)
at org.apache.maven.MavenSession.initialize(MavenSession.java:171)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
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)
You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above
Total time: 0 seconds
Finished at: Wed Jan 16 08:00:08 PKT 2002
----------------------------------------
Farhana
O assembly of jinn and men, if you are able to pass through the confines of the
heavens and the earth, pass through; but you shall not pass through except with
authority _(33)so which your Lord's bounties will you two deny? (34) [Surah
Ar-Rehman]
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.