/******************************************************************************* * Copyright (c) 2008-2010 Sonatype, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Sonatype, Inc. - initial API and implementation *******************************************************************************/ package org.eclipse.m2e.core.embedder; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; /** * Maven runtime * * @author Eugene Kuleshov * @author Igor Fedorenko * @noimplement This interface is not intended to be implemented by clients. * @deprecated as of version 1.5, m2e does not provide API to access or configure Maven Installations */ @SuppressWarnings("deprecation") public interface MavenRuntime { public abstract boolean isEditable(); /** * Reads m2.conf file and notifies configuration collector of the logical content of plexus configuration. Collector * callback methods are invoked in the order corresponding configuration elements are present in m2.conf file. */ public abstract void createLauncherConfiguration(IMavenLauncherConfiguration collector, IProgressMonitor monitor) throws CoreException; public abstract String getLocation(); public abstract String getSettings(); public abstract boolean isAvailable(); public String getVersion(); }