use of com.liferay.ide.maven.core.MavenProjectBuilder in project liferay-ide by liferay.
the class BuildServiceGoalAction method updateProject.
@Override
protected void updateProject(IProject p, IProgressMonitor monitor) {
MavenProjectBuilder builder = new MavenProjectBuilder(p);
try {
IMavenProjectFacade projectFacade = MavenUtil.getProjectFacade(p, monitor);
builder.refreshSiblingProject(projectFacade, monitor);
} catch (CoreException ce) {
LiferayMavenUI.logError("Unable to refresh sibling project", ce);
}
}
Aggregations