Nevermind, it works fine. I had not enabled dependency management in
eclipse and kept thinking that it wasn't getting latest version.

Thanks adasal for your input 


--------------------------------------------
Shahzad Qureshi
Systems Analyst/Programmer
Applications Directorate, CIOB
Environment Canada
416-739-4702
[email protected]

-----Original Message-----
From: adasal [mailto:[email protected]] 
Sent: Friday, July 31, 2009 3:07 PM
To: Maven Users List
Subject: Re: Uploading a new version to internal remote repository

Are you sure?
I think you have misconfigured something.
The pom dictates the version of artifact you are using.
This doesn't make sense to me.
Adam

2009/7/31 Qureshi,Shahzad [Ontario] <[email protected]>

> Hi all,
>
> I've an internal remote repository setup which is working fine. I just

> have one confusion.
>
> I uploaded a internally developed library to the internal remote 
> repository a few months ago which worked fine. However, now there is a

> new version for it available and I wanted to upload the new version 
> but I also don't want to remove the older version yet as there are few

> modules that require the old version.
>
> I simply updated the version number in the pom file of the library and

> updated the file name in the upload script and it was uploaded fine.
>
> I updated the pom file on my module to the new version, however I 
> still get the older version downloaded in the module that needs to use

> the new version.
>
> Someone had mentioned to me before that if I use SNAPSHOT I won't get 
> this problem however, is that the rite approach though? I thought 
> SNAPSHOT is used only for the libraries/modules that are actively 
> under development and not for the stable/production versions?
>
> Hows do log4j for instance do this? I can simply change the version 
> for log4j in my pom file to whatever I want and I'll get that version.
>
>
>
> --------------------------------------------
> Shahzad Qureshi
> Systems Analyst/Programmer
> Applications Directorate, CIOB
> Environment Canada
> 416-739-4702
> [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to