maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: How to make sure the local repository contains the latest version of a specific artifact?
Date Sat, 27 Nov 2010 21:36:22 GMT
Use ranges for specifying the version of the artifact?

/Anders

On Sat, Nov 27, 2010 at 17:57, Ralph Pöllath <lists@poellath.org> wrote:

> Hi,
>
> I'm looking for a simple way to make sure my local repository contains
> the latest version of a specific artifact (make Maven check the
> corporate repository and download a newer version if available).
>
> I guess I could create a POM containing a dependency on the artifact
> and build that, but since I'd like to script that task, I wonder
> whether there's a simpler solution, maybe through some plugin that I
> haven't seen so far.
>
> In case you're wondering why I want to do this, I'm considering to
> abuse Maven as some sort of a package manager.
>
> Cheers,
> -Ralph.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message