[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] referesh dependencies

Here is the relevant javadoc from IMavenProjectRegistry

* Performs requested Maven project update synchronously. In other words, this method does not return until all
* affected projects have been updated and corresponding MavenProjectChangeEvent's broadcast. This method acquires a
* lock on the workspace's root.
public void refresh(MavenUpdateRequest request, IProgressMonitor monitor) throws CoreException;

-- Regards, Igor

On 12-03-05 4:17 PM, paul.warren@xxxxxxx wrote:
Hi Guys,

In my code I want to force a dependencies update and then wait until I
know it is done before proceeding further.

What is the best/easiest way to make the
MavenPlugin./getMavenProjectRegistry/().refresh call synchronous?



m2e-dev mailing list