Update Dependencies

View: New views
3 Messages — Rating Filter:   Alert me  

Update Dependencies

by Rémy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I understand the purpose of "Update Snapshots" and "Update Project Configuration" menu items. I don't understand what "Update Depdencies" does.
In the document (http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management), I found this :

You can force a refresh of the Maven Dependencies container and force downloading of artifact snapshots (regardless of the Maven repository refresh policy) by using the "Update Depdencies" and "Update Snapshots" actions from the Maven popup menu on the selected project or pom.xml.

The "Update Project Configuration" action can be used to refresh or recreate the Eclipse project configuration based on the content of the Maven pom.xml, for example, when changes in pom.xml affect the project structure (folders settings, plugins that dynamically add folders or have other configuration).


What "force a refresh of the Maven Dependencies container" means ?

Thanks.

Rémy



Re: Update Dependencies

by Igor Fedorenko-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

m2e keeps internal cache of all project dependencies and
interdependencies. "Update Dependencies" will force cache refresh. It is
mostly needed to handle out-of-workspace changes, like when you purge
maven local repository, for example.

--
Regards,
Igor

Rémy wrote:

> Hello,
> I understand the purpose of "Update Snapshots" and "Update Project
> Configuration" menu items. I don't understand what "Update Depdencies" does.
> In the document
> (http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management), I found
> this :
>
> You can force a refresh of the Maven Dependencies container and force
> downloading of artifact snapshots (regardless of the Maven repository
> refresh policy) by using the "Update Depdencies" and "Update Snapshots"
> actions from the Maven popup menu on the selected project or pom.xml.
>
> The "Update Project Configuration" action can be used to refresh or recreate
> the Eclipse project configuration based on the content of the Maven pom.xml,
> for example, when changes in pom.xml affect the project structure (folders
> settings, plugins that dynamically add folders or have other configuration).
>
> What "force a refresh of the Maven Dependencies container" means ?
>
> Thanks.
>
> Rémy
>
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Update Dependencies

by Rémy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for explanation.
Rémy

Igor Fedorenko-4 wrote:
m2e keeps internal cache of all project dependencies and
interdependencies. "Update Dependencies" will force cache refresh. It is
mostly needed to handle out-of-workspace changes, like when you purge
maven local repository, for example.

--
Regards,
Igor

Rémy wrote:
> Hello,
> I understand the purpose of "Update Snapshots" and "Update Project
> Configuration" menu items. I don't understand what "Update Depdencies" does.
> In the document
> (http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management), I found
> this :
>
> You can force a refresh of the Maven Dependencies container and force
> downloading of artifact snapshots (regardless of the Maven repository
> refresh policy) by using the "Update Depdencies" and "Update Snapshots"
> actions from the Maven popup menu on the selected project or pom.xml.
>
> The "Update Project Configuration" action can be used to refresh or recreate
> the Eclipse project configuration based on the content of the Maven pom.xml,
> for example, when changes in pom.xml affect the project structure (folders
> settings, plugins that dynamically add folders or have other configuration).
>
> What "force a refresh of the Maven Dependencies container" means ?
>
> Thanks.
>
> Rémy
>
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email