You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Raffaele <r....@prismasw.it> on 2007/10/26 15:08:44 UTC

updatePolicy of artifact with packaging pom

Hi all,

I've noticed that if I modify then deploy a parent pom with packaging "pom"
(without changing its version), then If another person run mvn compile on a
child project of that parent (with updatePolicy set to always)) maven
doesn't see the modified parent pom.
How is it possible?
Perhaps the updatePolicy mechanism works only for pom with packaging "jar"?

In fact I noticed also that in the local repo, for artifact with packaging
"pom" isn't created the metadata file used (as I believe) by updatePolicy
mechanism to retrieve the new versions.

Thanks and best regards.
Raffaele
-- 
View this message in context: http://www.nabble.com/updatePolicy-of-artifact-with-packaging-pom-tf4697240s177.html#a13426932
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: updatePolicy of artifact with packaging pom

Posted by Raffaele <r....@prismasw.it>.
Please help me to clarify this issue. It is very important and it seems a
bug!

Thanks again.
Raffaele


Raffaele wrote:
> 
> Hi all,
> 
> I've noticed that if I modify then deploy a parent pom with packaging
> "pom" (without changing its version), then If another person run mvn
> compile on a child project of that parent (with updatePolicy set to
> always)) maven doesn't see the modified parent pom.
> How is it possible?
> Perhaps the updatePolicy mechanism works only for pom with packaging
> "jar"?
> 
> In fact I noticed also that in the local repo, for artifact with packaging
> "pom" isn't created the metadata file used (as I believe) by updatePolicy
> mechanism to retrieve the new versions.
> 
> Thanks and best regards.
> Raffaele
> 

-- 
View this message in context: http://www.nabble.com/updatePolicy-of-artifact-with-packaging-pom-tf4697240s177.html#a13464597
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