mvn install (Access is denied) problem

2012-03-05 Thread Jehan Badshah
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


mvn install (Access is denied) problem

2012-03-05 Thread jehan
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.

Re: mvn install (Access is denied) problem

2012-03-05 Thread John Patrick
Looks like a client side issue with your local environment.

Double check the -Dfile option as it looks like your referring to a
directory, instead of a file. Can you confirm the following is what
you are executing:

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

John

On 5 March 2012 08:32, jehan jehan.bads...@nu.edu.pk wrote:
 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.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn install (Access is denied) problem

2012-03-05 Thread jehan
Thanks and resolved

On Mon, Mar 5, 2012 at 3:20 PM, John Patrick [via Maven] 
ml-node+s40175n5537110...@n5.nabble.com wrote:

 Looks like a client side issue with your local environment.

 Double check the -Dfile option as it looks like your referring to a
 directory, instead of a file. Can you confirm the following is what
 you are executing:

 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

 John

 On 5 March 2012 08:32, jehan [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=5537110i=0
 wrote:

  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.

 -
 To unsubscribe, e-mail: [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=5537110i=1
 For additional commands, e-mail: [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=5537110i=2



 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://maven.40175.n5.nabble.com/mvn-install-Access-is-denied-problem-tp5536889p5537110.html
  To unsubscribe from mvn install (Access is denied) problem, click 
 herehttp://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=5536889code=amVoYW4uYmFkc2hhaEBudS5lZHUucGt8NTUzNjg4OXwxNTY0NzU0MzI1
 .
 NAMLhttp://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




-- 

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


--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-install-Access-is-denied-problem-tp5536889p5537119.html
Sent from the Maven - Users mailing list archive at Nabble.com.