[eclipse] git-commit-id-plugin ignored in M2E by lifecycle-mapping 89/49089/2
authorMichael Vorburger <vorburger@redhat.com>
Wed, 7 Dec 2016 11:45:42 +0000 (12:45 +0100)
committerStephen Kitt <skitt@redhat.com>
Fri, 9 Dec 2016 10:48:07 +0000 (10:48 +0000)
The recently git-commit-id-plugin likely was the culprit for the
recently very badly dropped Build Workspace performance issue I've
started noticing in Eclipse... there is really no need at all to produce
the new META-INF/git.properties during incremental in-IDE build (as
useful as it is on CLI build) - so ignore it!

Change-Id: I1a5a8282cdee236a5911560b80b1193522173c1d
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
odlparent-lite/pom.xml

index 7bd4cc56dadd0aa5d1fc59d82c72d6d396908833..87faa2bca5d7f736e8886a4a19949dbea1144a67 100644 (file)
           <configuration>
             <lifecycleMappingMetadata>
               <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>pl.project13.maven</groupId>
+                    <artifactId>git-commit-id-plugin</artifactId>
+                    <versionRange>[1,)</versionRange>
+                    <goals>
+                      <goal>revision</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
                 <pluginExecution>
                   <pluginExecutionFilter>
                     <groupId>org.apache.maven.plugins</groupId>