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 over folder ".m" repository
please resolve it

Regards
----------------------------------------------------
Jehan Badshah | Sr. Software Engineer
FAST - National University of Computer and Emerging Sciences
A.K. Brohi Road, H-11/4, Islamabad
UAN: +92 (0)51 - 111 128 128 ext 344

Reply via email to