Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Maven Updates

On 12-02-02 5:53 PM, paul.warren@xxxxxxx wrote:

So I guess the key sentence there was that m2e never updates
snapshots unless explicitly requested by the user.

And I am taking that to mean that
the<snapshots><updatePolicy>always</updatePolicy></snapshots>
specification in the project's pom.xml is effectively redundant and
ignored for any maven invocation performed by m2e right?


Yes, this is correct, m2e ignores repository update policy specified in
pom.xml and/or settings.xml files and never automatically updates
snapshots. You can force snapshot update from your code by using
IMavenProjectRegistry.refresh with update request
forceDependencyUpdate=true.

--
Regards,
Igor


Back to the top