maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksey Didik <>
Subject Re: Automatic updates from repository
Date Mon, 01 Feb 2010 13:14:12 GMT
I will write a mail in Russian to your gmail account.
It will be more useful to speak about this problem.

Aleksey Didik.

01.02.2010 17:06, Andrey Razumovsky пишет:
> Hi,
> Thanks for an answer.
> I don't want to use snapshot for every pom because it brings ugly postfixes
> for artifacts e.g. when I deploy them to server, and i don't want to
> configure new names for every artifact in my POM's deploy to server
> executions.
> Removing artifact from local repo isn't fine because I want automatic
> updates for all developers
> 2010/2/1 Ilya Kazakevich<>
>> Hello,
>> Why do not you want to use SNAPSHOT?
>> Fixed version should never be changed but snapshot can.
>> You have SNAPSHOT while you develop your artifact, and when you're ready to
>> release it -- you give it version number.
>> Other artifacts may depend on your snapshot. If so -- maven knows that
>> snapshot could be changed and fetches new version of snapshot periodically.
>> But if you depend on fixed version (i.e: my-artifact-1.2.3) and you already
>> have it in your local repository -- maven would not fetch it again, because
>> it should be the same and maven knows it.
>> If you really want to refetch such artifact -- simply remove it from your
>> local repository, but that's bad idea because it breakes maven's philosophy
>> and brings pain in your development process.
>> Ilya.
>> -----Original Message-----
>> From: Andrey Razumovsky []
>> Sent: Monday, February 01, 2010 1:42 PM
>> To: Maven Users List
>> Subject: Automatic updates from repository
>> Hello,
>> In our company we've got a local repository. There's an artifact (packaged
>> as POM or as JAR), which is deployed by me and used by other projects. It
>> is
>> changing frequently, so we don't want referencing POM to change often (i.e.
>> version changes rarely). Now it seems new versions are not downloaded by
>> referencing projects automatically at build time. Is it because I haven't
>> specified "SNAPSHOT" postfix? If yes, is there a way to allow automatic
>> changes detection without "SNAPSHOT" postfix?
>> Thanks,
>> Andrey
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message