Dear All I am using windows 7, when installing a library using command *mvn install:install-file -DgroupId=com.google.gdata -DartifactId=gdata-docs -Dversion=3.0 -Dpackaging=jar -Dfile=C:\Users\admin\rsmart-gdoc\gdata\java\lib -DgeneratePom=true*
then getting following error [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'install'. [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [install:install-file] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [install:install-file {execution: default-cli}] [INFO] Installing C:\Users\admin\rsmart-gdoc\gdata\java\lib to C:\Users\admin\.m2\repository\com\google\gdata\gdata-docs\3.0\gdata-docs-3.0.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error installing artifact 'com.google.gdata:gdata-docs:jar': Error installing artifact: C:\Users\admin\rsmart-gdoc\gdata\java\lib (Access is denied) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon Mar 05 13:31:25 PKT 2012 [INFO] Final Memory: 3M/15M [INFO] ------------------------------------------------------------------------ I think it is permission problem, but I checked current user have full right on .m repository please resolve it -- View this message in context: http://maven.40175.n5.nabble.com/mvn-install-Access-is-denied-problem-tp5536889p5536889.html Sent from the Maven - Users mailing list archive at Nabble.com.