| /******************************************************************************* |
| * 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 |
| * Rob Newton - added warning preferences page |
| *******************************************************************************/ |
| |
| package org.eclipse.m2e.core.internal.preferences; |
| |
| import org.eclipse.m2e.core.embedder.MavenRuntimeManager; |
| |
| |
| /** |
| * Maven preferences constants |
| */ |
| public interface MavenPreferenceConstants { |
| |
| static final String PREFIX = "eclipse.m2."; //$NON-NLS-1$ |
| |
| /** String */ |
| // public static final String P_LOCAL_REPOSITORY_DIR = PREFIX+"localRepositoryDirectory"; |
| |
| /** true or false */ |
| // public static final String P_CHECK_LATEST_PLUGIN_VERSION = PREFIX+"checkLatestPluginVersion"; |
| |
| /** String ??? */ |
| // public static final String P_GLOBAL_CHECKSUM_POLICY = PREFIX+"globalChecksumPolicy"; |
| |
| /** boolean */ |
| public static final String P_OFFLINE = PREFIX + "offline"; //$NON-NLS-1$ |
| |
| /** boolean. if true, use org.eclipse.aether.repository.RepositoryPolicy.UPDATE_POLICY_NEVER as global update policy */ |
| public static final String P_GLOBAL_UPDATE_NEVER = PREFIX + "globalUpdatePolicy"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| // public static final String P_UPDATE_SNAPSHOTS = PREFIX+"updateSnapshots"; |
| |
| /** boolean */ |
| public static final String P_DEBUG_OUTPUT = PREFIX + "debugOutput"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| public static final String P_DOWNLOAD_SOURCES = PREFIX + "downloadSources"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| public static final String P_DOWNLOAD_JAVADOC = PREFIX + "downloadJavadoc"; //$NON-NLS-1$ |
| |
| /** String */ |
| public static final String P_GLOBAL_SETTINGS_FILE = PREFIX + "globalSettingsFile"; //$NON-NLS-1$ |
| |
| /** String */ |
| public static final String P_USER_SETTINGS_FILE = PREFIX + "userSettingsFile"; //$NON-NLS-1$ |
| |
| /** String */ |
| public static final String P_OUTPUT_FOLDER = PREFIX + "outputFolder"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| public static final String P_DISABLE_JDK_WARNING = PREFIX + "disableJdkwarning"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| public static final String P_DISABLE_JDK_CHECK = PREFIX + "disableJdkCheck"; //$NON-NLS-1$ |
| |
| /** String, list of configured maven installations separated by '|', see {@link MavenRuntimeManager} */ |
| public static final String P_RUNTIMES = PREFIX + "runtimes"; //$NON-NLS-1$ |
| |
| /** Root node of extended maven installation attributes, see {@link MavenRuntimeManager} */ |
| public static final String P_RUNTIMES_NODE = PREFIX + "runtimesNodes"; //$NON-NLS-1$ |
| |
| /** String */ |
| public static final String P_DEFAULT_RUNTIME = PREFIX + "defaultRuntime"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| public static final String P_UPDATE_INDEXES = PREFIX + "updateIndexes"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| public static final String P_UPDATE_PROJECTS = PREFIX + "updateProjects"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| public static final String P_HIDE_FOLDERS_OF_NESTED_PROJECTS = PREFIX + "hideFoldersOfNestedProjects"; //$NON-NLS-1$ |
| |
| public static final String P_SHOW_CONSOLE_ON_ERR = PREFIX + "showConsoleOnErr"; //$NON-NLS-1$ |
| |
| public static final String P_SHOW_CONSOLE_ON_OUTPUT = PREFIX + "showConsoleOnOutput"; //$NON-NLS-1$ |
| |
| /** boolean */ |
| public static final String P_FULL_INDEX = PREFIX + "fullIndex"; //$NON-NLS-1$ |
| |
| /** boolean **/ |
| public static final String P_WARN_INCOMPLETE_MAPPING = PREFIX + "warn_incomplete_mapping"; //$NON-NLS-1$ |
| |
| /** boolean **/ |
| public static final String P_DEFAULT_POM_EDITOR_PAGE = "eclipse.m2.defaultPomEditorPage"; //$NON-NLS-1$ |
| |
| /** boolean **/ |
| public static final String P_DISABLE_GROUPID_DUP_OF_PARENT_WARNING = PREFIX |
| + ".disableGroupIdDuplicateOfParentWarning"; //$NON-NLS-1$ |
| |
| /** boolean **/ |
| public static final String P_DISABLE_VERSION_DUP_OF_PARENT_WARNING = PREFIX |
| + ".disableVersionDuplicateOfParentWarning"; //$NON-NLS-1$ |
| |
| /** string **/ |
| public static final String P_LIFECYCLE_MAPPINGS = PREFIX + "lifecycleMappings"; //$NON-NLS-1$ |
| |
| /** string **/ |
| public static final String P_WORKSPACE_MAPPINGS_LOCATION = PREFIX + "WorkspacelifecycleMappingsLocation"; //$NON-NLS-1$ |
| |
| } |