You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2019/01/31 12:09:32 UTC

[brooklyn] 02/03: add eclipse excludes for non-supported maven goals

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn.git

commit 4bf4f4c821cad74bbdbf82951717e43a96956f32
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Thu Jan 31 12:08:33 2019 +0000

    add eclipse excludes for non-supported maven goals
---
 pom.xml | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/pom.xml b/pom.xml
index 49123c8..b684acb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,4 +106,48 @@
         </profile>
     </profiles>
 
+    <build>
+      <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>flatten-maven-plugin</artifactId>
+                      <versionRange>[1.0.1,)</versionRange>
+                      <goals>
+                        <goal>flatten</goal>
+                      </goals>
+                    </pluginExecutionFilter>
+                    <action>
+                      <ignore></ignore>
+                    </action>
+                  </pluginExecution>
+                  <pluginExecution>
+                    <pluginExecutionFilter>
+                      <groupId>org.apache.karaf.tooling</groupId>
+                      <artifactId>karaf-maven-plugin</artifactId>
+                      <versionRange>[4.1.6,)</versionRange>
+                      <goals>
+                        <goal>verify</goal>
+                      </goals>
+                    </pluginExecutionFilter>
+                    <action>
+                      <ignore></ignore>
+                    </action>
+                  </pluginExecution>
+                </pluginExecutions>
+              </lifecycleMappingMetadata>
+            </configuration>
+          </plugin>
+        </plugins>
+      </pluginManagement>
+    </build>
 </project>