You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by DCVer <ke...@o2.pl> on 2007/08/08 10:27:19 UTC
updating snapshots
Hello,
I have such a problem: I want to force maven to update the snapshot jar to
download it again to the local repository. The problem is i have no access
to the local repository (don't have priviledges), so i can't delete the old
snapshot jar. The option -U isn't working (i use mvn install --batch-mode
-fae -Dmaven.test.skip=true -U -up). Thanks for any help..
--
View this message in context: http://www.nabble.com/updating-snapshots-tf4234881s177.html#a12049135
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: updating snapshots
Posted by Eric Redmond <er...@gmail.com>.
Create a settings.xml file and put it in your home account's
~/.m2/settings.xml
<settings>
<localRepository>/a/dir/you/can/access</localRepository>
<!-- ... whatever else you want... -->
</settings>
Maven (quite rightly) assumes you have write access to your local repo.
--
Eric Redmond
http://blog.propellors.net
On 8/8/07, DCVer <ke...@o2.pl> wrote:
>
>
> Hello,
>
> I have such a problem: I want to force maven to update the snapshot jar to
> download it again to the local repository. The problem is i have no access
> to the local repository (don't have priviledges), so i can't delete the
> old
> snapshot jar. The option -U isn't working (i use mvn install --batch-mode
> -fae -Dmaven.test.skip=true -U -up). Thanks for any help..
> --
> View this message in context:
> http://www.nabble.com/updating-snapshots-tf4234881s177.html#a12049135
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>