changeset 514:a58bfc79b777

suppress exec in keyring bundle in eclipse Reviewed-by: sghewolf Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-August/002568.html The M2E plugin for eclipse does not understand the exec directive we use to build the native parts of keyring bundle. This adds some configuration used only when building in eclipse to ignore this directive.
author Jon VanAlten <jon.vanalten@redhat.com>
date Thu, 02 Aug 2012 13:11:11 -0400
parents c36dd2bd7280
children ac3d23577264
files keyring/pom.xml
diffstat 1 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/keyring/pom.xml	Thu Aug 02 12:02:53 2012 +0200
+++ b/keyring/pom.xml	Thu Aug 02 13:11:11 2012 -0400
@@ -66,6 +66,35 @@
         </configuration>
       </plugin>
     </plugins>
+    <pluginManagement>
+	  <plugins>
+        <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>exec-maven-plugin</artifactId>
+                    <versionRange>[1.2.1,)</versionRange>
+                    <goals>
+                      <goal>exec</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
 
   <dependencies>