/******************************************************************************* * Copyright (c) 2015 Pivotal, 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: * Pivotal, Inc. - initial API and implementation *******************************************************************************/ package org.springframework.ide.eclipse.boot.launch; import org.eclipse.core.runtime.CoreException; import org.eclipse.debug.core.ILaunchConfiguration; import org.eclipse.m2e.jdt.IClasspathManager; import org.eclipse.m2e.jdt.internal.launch.MavenSourcePathProvider; @SuppressWarnings("restriction") public class BootMavenSourcePathProvider extends MavenSourcePathProvider { public BootMavenSourcePathProvider() { } @Override protected int getArtifactScope(ILaunchConfiguration configuration) throws CoreException { return IClasspathManager.CLASSPATH_RUNTIME; } }