maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jehan <jehan.bads...@nu.edu.pk>
Subject Re: mvn install (Access is denied) problem
Date Mon, 05 Mar 2012 10:24:31 GMT
Thanks and resolved

On Mon, Mar 5, 2012 at 3:20 PM, John Patrick [via Maven] <
ml-node+s40175n5537110h48@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=node&node=5537110&i=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=node&node=5537110&i=1>
> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=5537110&i=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 here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5536889&code=amVoYW4uYmFkc2hhaEBudS5lZHUucGt8NTUzNjg4OXwxNTY0NzU0MzI1>
> .
> NAML<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message