Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e1a1d125bf836509e6c44ae34fdd48464d5a7d7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/*******************************************************************************
 * 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.core;


/**
 * Maven Constants
 * 
 * @author Eugene Kuleshov
 */
public interface IMavenConstants {

  public static final String PLUGIN_ID = "org.eclipse.m2e.core"; //$NON-NLS-1$

  public static final String NATURE_ID = PLUGIN_ID + ".maven2Nature"; //$NON-NLS-1$

  public static final String BUILDER_ID = PLUGIN_ID + ".maven2Builder"; //$NON-NLS-1$

  public static final String MARKER_ID = PLUGIN_ID + ".maven2Problem"; //$NON-NLS-1$

  public static final String MARKER_POM_LOADING_ID = MARKER_ID + ".pomloading"; //$NON-NLS-1$

  public static final String MARKER_CONFIGURATION_ID = MARKER_ID + ".configuration"; //$NON-NLS-1$

  public static final String MARKER_DEPENDENCY_ID = MARKER_ID + ".dependency"; //$NON-NLS-1$

  public static final String MARKER_BUILD_ID = MARKER_ID + ".build"; //$NON-NLS-1$

  public static final String MARKER_BUILD_PARTICIPANT_ID = MARKER_BUILD_ID + ".participant"; //$NON-NLS-1$
  
  /**
   * string that gets included in pom.xml file comments and makes the marker manager to ignore
   * the managed version override marker
   */
  public static final String MARKER_IGNORE_MANAGED = "$NO-MVN-MAN-VER$";//$NON-NLS-1$ 

  public static final String MAVEN_COMPONENT_CONTRIBUTORS_XPT = PLUGIN_ID + ".mavenComponentContributors"; //$NON-NLS-1$
  
  public static final String POM_FILE_NAME = "pom.xml"; //$NON-NLS-1$

  public static final String PREFERENCE_PAGE_ID = PLUGIN_ID + ".MavenProjectPreferencePage"; //$NON-NLS-1$
  
  public static final String NO_WORKSPACE_PROJECTS = "noworkspace"; //$NON-NLS-1$

  public static final String ACTIVE_PROFILES = "profiles"; //$NON-NLS-1$

  public static final String FILTER_RESOURCES = "filterresources"; //$NON-NLS-1$

  public static final String JAVADOC_CLASSIFIER = "javadoc"; //$NON-NLS-1$

  public static final String SOURCES_CLASSIFIER = "sources"; //$NON-NLS-1$

  /**
   * The name of the folder containing metadata information for the workspace.
   */
  public static final String METADATA_FOLDER = ".metadata"; //$NON-NLS-1$

  public static final String INDEX_UPDATE_PROP = "indexUpdate"; //$NON-NLS-1$

  /**
   * marker containing this attribute (with whatever value) will be considered to contain a quick fix
   * and will be marker appropriately in the editor.
   */
  public static final String MARKER_ATTR_EDITOR_HINT = "editor_hint";

  public static final String MARKER_ATTR_PACKAGING = "packaging"; //$NON-NLS-1$

  public static final String MARKER_ATTR_ARTIFACT_ID = "artifactId";

  public static final String MARKER_ATTR_EXECUTION_ID = "executionId";

  public static final String MARKER_ATTR_GOAL = "goal";

  public static final String MARKER_ATTR_GROUP_ID = "groupId";

  public static final String MARKER_ATTR_LIFECYCLE_PHASE = "lifecyclePhase";

  public static final String MARKER_ATTR_VERSION = "version";

  public static final String EDITOR_HINT_PARENT_GROUP_ID = "parent_groupid";

  public static final String EDITOR_HINT_PARENT_VERSION = "parent_version";

  public static final String EDITOR_HINT_MANAGED_DEPENDENCY_OVERRIDE = "managed_dependency_override";

  public static final String EDITOR_HINT_MANAGED_PLUGIN_OVERRIDE = "managed_plugin_override";

  public static final String EDITOR_HINT_MISSING_SCHEMA = "missing_schema";
  
  public static final String EDITOR_HINT_NOT_COVERED_MOJO_EXECUTION = "not_covered_mojo_execution";
  
  public static final String EDITOR_HINT_UNKNOWN_PACKAGING = "unknown_packaging_type";

}

Back to the top