Re: Maven Local Repository
I think so, but it's not very convenient. You might be better to delete that metadata file from your local repository - and hopefully the issue will be corrected in a version of Maven shortly. - Brett On 14/09/2007, De Vleeschauwer Nele <[EMAIL PROTECTED]> wrote: > But what if you are e.g. using Eclipse to update your pom file. Eclipse > uses the Maven plugin underneath to donwload the necessary artifacts. > Can I configure the -U option also somewhere in there ? > > > > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: vrijdag 14 september 2007 13:22 > To: Maven Users List > Subject: Re: Maven Local Repository > > it's a known problem - you can use -U to force it to try again. > > On 14/09/2007, De Vleeschauwer Nele <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have a question concerning the Maven local repository on my pc. > > When I add a new dependency to the pom file of my project then my > maven > > installation will try to download the necessary artifacts in my local > > repository. > > If for one reason or another, my connection with the central site can > > not be established, maven will create the artifacts folder structure > in > > my local repository and will also create a metadata xml file. > > When my connection with the central repo is up again, I can still not > > download the artifacts. I need to delete the earlier created xml files > > first. > > > > How can this be avoided ? > > > > Nele. > > > > - > > Visit our website! http://www.nbb.be > > > > "DISCLAIMER: The content of this e-mail message should not be > > construed as binding on the part of the National Bank of Belgium > > (NBB) unless otherwise and previously stated. The opinions > > expressed in this message are solely those of the author and do not > > necessarily reflect NBB viewpoints, particularly when the content > > of this message, or part thereof, is private by nature or does not > > fall within the professional scope of its author." > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Brett Porter > Blog: http://www.devzuz.org/blogs/bporter/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Brett Porter Blog: http://www.devzuz.org/blogs/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Local Repository
But what if you are e.g. using Eclipse to update your pom file. Eclipse uses the Maven plugin underneath to donwload the necessary artifacts. Can I configure the -U option also somewhere in there ? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: vrijdag 14 september 2007 13:22 To: Maven Users List Subject: Re: Maven Local Repository it's a known problem - you can use -U to force it to try again. On 14/09/2007, De Vleeschauwer Nele <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question concerning the Maven local repository on my pc. > When I add a new dependency to the pom file of my project then my maven > installation will try to download the necessary artifacts in my local > repository. > If for one reason or another, my connection with the central site can > not be established, maven will create the artifacts folder structure in > my local repository and will also create a metadata xml file. > When my connection with the central repo is up again, I can still not > download the artifacts. I need to delete the earlier created xml files > first. > > How can this be avoided ? > > Nele. > > - > Visit our website! http://www.nbb.be > > "DISCLAIMER: The content of this e-mail message should not be > construed as binding on the part of the National Bank of Belgium > (NBB) unless otherwise and previously stated. The opinions > expressed in this message are solely those of the author and do not > necessarily reflect NBB viewpoints, particularly when the content > of this message, or part thereof, is private by nature or does not > fall within the professional scope of its author." > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Brett Porter Blog: http://www.devzuz.org/blogs/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Local Repository
it's a known problem - you can use -U to force it to try again. On 14/09/2007, De Vleeschauwer Nele <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question concerning the Maven local repository on my pc. > When I add a new dependency to the pom file of my project then my maven > installation will try to download the necessary artifacts in my local > repository. > If for one reason or another, my connection with the central site can > not be established, maven will create the artifacts folder structure in > my local repository and will also create a metadata xml file. > When my connection with the central repo is up again, I can still not > download the artifacts. I need to delete the earlier created xml files > first. > > How can this be avoided ? > > Nele. > > - > Visit our website! http://www.nbb.be > > "DISCLAIMER: The content of this e-mail message should not be > construed as binding on the part of the National Bank of Belgium > (NBB) unless otherwise and previously stated. The opinions > expressed in this message are solely those of the author and do not > necessarily reflect NBB viewpoints, particularly when the content > of this message, or part thereof, is private by nature or does not > fall within the professional scope of its author." > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Brett Porter Blog: http://www.devzuz.org/blogs/bporter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven local repository location
Try a field in your mojo with an expression = ${settings.localRepository} Eric On 3/29/07, Rahul Khot <[EMAIL PROTECTED]> wrote: Is there a way to access maven local repository location in the plugin or in the pom.xml. I have tried the following vars: ${maven.repo.local} ${localRepository} I try to pass them as a parameter in the plugin metadata file. Any help will be highly appreciated. Thanks, Rahul 6605 -- Eric Redmond http://codehaus.org/~eredmond