This is an automated email from the ASF dual-hosted git repository.
breed pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 5e592d3 ZOOKEEPER-3788: Add m2e config for Eclipse devs
5e592d3 is described below
commit 5e592d303b596961c03bff9731cfe2e202cea5f2
Author: Christopher Tubbs <[email protected]>
AuthorDate: Thu Apr 16 11:20:25 2020 -0700
ZOOKEEPER-3788: Add m2e config for Eclipse devs
Add information to the pom.xml about plugin executions when importing
the project into Eclipse using M2E. This information is added to a
profile that is automatically activated when using Eclipse, but
otherwise ignored.
This change enables developers who use Eclipse to more easily develop
and contribute to ZooKeeper without the project generating a bunch of
errors when importing into the Eclipse IDE.
As plugins add their own m2e lifecycle metadata, the section added in
this commit can be removed.
For more, see:
https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html
Author: Christopher Tubbs <[email protected]>
Reviewers: ben reed <[email protected]>
Closes #1313 from ctubbsii/eclipse-m2e-config
---
pom.xml | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+)
diff --git a/pom.xml b/pom.xml
index e9e973f..7361dba 100755
--- a/pom.xml
+++ b/pom.xml
@@ -324,6 +324,88 @@
<properties>
<maven.compiler.release>8</maven.compiler.release>
</properties>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <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>[0,)</versionRange>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <versionRange>[0,)</versionRange>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>com.ruleoftech</groupId>
+ <artifactId>markdown-page-generator-plugin</artifactId>
+ <versionRange>[0,)</versionRange>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>javacc-maven-plugin</artifactId>
+ <versionRange>[0,)</versionRange>
+ <goals>
+ <goal>javacc</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>com.github.koraktor</groupId>
+ <artifactId>mavanagaiata</artifactId>
+ <versionRange>[0,)</versionRange>
+ <goals>
+ <goal>commit</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</profile>
<profile>
<id>jdk-release-flag</id>