diff options
Diffstat (limited to 'org.eclipse.m2e.launching/src/org/eclipse/m2e/actions/MavenLaunchConstants.java')
-rw-r--r-- | org.eclipse.m2e.launching/src/org/eclipse/m2e/actions/MavenLaunchConstants.java | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/org.eclipse.m2e.launching/src/org/eclipse/m2e/actions/MavenLaunchConstants.java b/org.eclipse.m2e.launching/src/org/eclipse/m2e/actions/MavenLaunchConstants.java new file mode 100644 index 00000000..0d48f535 --- /dev/null +++ b/org.eclipse.m2e.launching/src/org/eclipse/m2e/actions/MavenLaunchConstants.java @@ -0,0 +1,46 @@ +/******************************************************************************* + * 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.actions; + +import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants; + +public interface MavenLaunchConstants { + // this should correspond with launchConfigurationType.id attribute in plugin.xml! + public final String LAUNCH_CONFIGURATION_TYPE_ID = "org.eclipse.m2e.Maven2LaunchConfigurationType"; //$NON-NLS-1$ + public final String BUILDER_CONFIGURATION_TYPE_ID = "org.eclipse.m2e.Maven2BuilderConfigurationType"; //$NON-NLS-1$ + + // pom directory automatically became working directory for maven embedder launch + public final String ATTR_POM_DIR = IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY; + + public final String ATTR_GOALS = "M2_GOALS"; //$NON-NLS-1$ + public final String ATTR_GOALS_AUTO_BUILD = "M2_GOALS_AUTO_BUILD"; //$NON-NLS-1$ + public final String ATTR_GOALS_MANUAL_BUILD = "M2_GOALS_MANUAL_BUILD"; //$NON-NLS-1$ + public final String ATTR_GOALS_CLEAN = "M2_GOALS_CLEAN"; //$NON-NLS-1$ + public final String ATTR_GOALS_AFTER_CLEAN = "M2_GOALS_AFTER_CLEAN"; //$NON-NLS-1$ + + public final String ATTR_PROFILES = "M2_PROFILES"; //$NON-NLS-1$ + public final String ATTR_PROPERTIES = "M2_PROPERTIES"; //$NON-NLS-1$ + + public final String ATTR_OFFLINE = "M2_OFFLINE"; //$NON-NLS-1$ + public final String ATTR_UPDATE_SNAPSHOTS = "M2_UPDATE_SNAPSHOTS"; //$NON-NLS-1$ + public final String ATTR_DEBUG_OUTPUT = "M2_DEBUG_OUTPUT"; //$NON-NLS-1$ + public final String ATTR_SKIP_TESTS = "M2_SKIP_TESTS"; //$NON-NLS-1$ + public final String ATTR_NON_RECURSIVE = "M2_NON_RECURSIVE"; //$NON-NLS-1$ + public final String ATTR_WORKSPACE_RESOLUTION = "M2_WORKSPACE_RESOLUTION"; //$NON-NLS-1$ + + public final String ATTR_USER_SETTINGS = "M2_USER_SETTINGS"; //$NON-NLS-1$ + + public final String ATTR_RUNTIME = "M2_RUNTIME"; //$NON-NLS-1$ + + // hidden (for now) list of workspace components to be pushed into maven runtime + public final String ATTR_FORCED_COMPONENTS_LIST = "M2_FORCED_COMPONENTS_LIST"; //$NON-NLS-1$ +} |