cleanup

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java
index 2a3aaec..31065cb 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java
@@ -97,6 +97,7 @@
  * @author igor
  */
 public class LifecycleMappingFactory {
+
   private static final Logger log = LoggerFactory.getLogger(LifecycleMappingFactory.class);
 
   public static final String LIFECYCLE_MAPPING_PLUGIN_GROUPID = "org.eclipse.m2e"; //$NON-NLS-1$
@@ -114,6 +115,8 @@
 
   private static final String LIFECYCLE_MAPPING_METADATA_SOURCE_PATH = "/" + LIFECYCLE_MAPPING_METADATA_SOURCE_NAME; //$NON-NLS-1$
 
+  private static final String LIFECYCLE_MAPPING_METADATA_EMBEDDED_SOURCE_PATH = "META-INF/m2e/" + LIFECYCLE_MAPPING_METADATA_SOURCE_NAME; //$NON-NLS-1$
+
   public static final String EXTENSION_LIFECYCLE_MAPPINGS = IMavenConstants.PLUGIN_ID + ".lifecycleMappings"; //$NON-NLS-1$
 
   public static final String EXTENSION_PROJECT_CONFIGURATORS = IMavenConstants.PLUGIN_ID + ".projectConfigurators"; //$NON-NLS-1$
@@ -319,7 +322,7 @@
       if(file.isFile()) {
         JarFile jar = new JarFile(file);
         try {
-          ZipEntry entry = jar.getEntry("META-INF/m2e/lifecycle-mapping-metadata.xml");
+          ZipEntry entry = jar.getEntry(LIFECYCLE_MAPPING_METADATA_EMBEDDED_SOURCE_PATH);
           if(entry == null) {
             return null;
           }
@@ -335,7 +338,7 @@
       } else if(file.isDirectory()) {
         try {
           InputStream is = new BufferedInputStream(new FileInputStream(new File(file,
-              "META-INF/m2e/lifecycle-mapping-metadata.xml")));
+              LIFECYCLE_MAPPING_METADATA_EMBEDDED_SOURCE_PATH)));
           try {
             return readMavenPluginEmbeddedMetadata(artifact, is);
           } finally {
diff --git a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/SourcesGenerationProjectConfigurator.java b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/SourcesGenerationProjectConfigurator.java
index 64d0ece..7cfb21b 100644
--- a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/SourcesGenerationProjectConfigurator.java
+++ b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/SourcesGenerationProjectConfigurator.java
@@ -54,7 +54,7 @@
  * <li>File outputDirecotry, location of generated sources on the local filesystem. Default ${mojo.outputDirecotry}.</li>
  * <li>File sourceDirectory, location of input resources used by the code generation plugin. Used to suppress unneeded
  * code generation when there are no changes. Can be null, in which case code generation will be executed on full
- * workspace builds only.</li>
+ * workspace builds only, unless incremental build is forced with runOnIncremental=true</li>
  * <li>Boolean runOnIncremental, if <code>true</code> the code generation will be executed on incremental builds, if
  * <code>false</code> the code generation will be executed on full builds only. Default is to execute code generation on
  * incremental builds if sourceDirectory is provided.</li>