This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push: new 756d582 minor, move Move m2e lifecycle-mapping into m2e-only profile to avoid spurious warnings 756d582 is described below commit 756d582cfc33f7c028edd02e22531b43a133a47e Author: shaofengshi <shaofeng...@apache.org> AuthorDate: Fri Mar 15 22:12:40 2019 +0800 minor, move Move m2e lifecycle-mapping into m2e-only profile to avoid spurious warnings --- pom.xml | 78 +++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 47 insertions(+), 31 deletions(-) diff --git a/pom.xml b/pom.xml index af41068..4ef0edc 100644 --- a/pom.xml +++ b/pom.xml @@ -1186,37 +1186,6 @@ <artifactId>checksum-maven-plugin</artifactId> <version>1.3</version> </plugin> - <!--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.apache.maven.plugins - </groupId> - <artifactId> - maven-checkstyle-plugin - </artifactId> - <versionRange> - [2.13,) - </versionRange> - <goals> - <goal>check</goal> - </goals> - </pluginExecutionFilter> - <action> - <ignore/> - </action> - </pluginExecution> - </pluginExecutions> - </lifecycleMappingMetadata> - </configuration> - </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> @@ -1799,5 +1768,52 @@ </plugins> </build> </profile> + + <profile> + <id>m2e-only</id> + <activation> + <property> + <name>m2e.version</name> + </property> + </activation> + <build> + <pluginManagement> + <plugins> + <!-- for development support in Eclipse IDE --> + <!--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.apache.maven.plugins + </groupId> + <artifactId> + maven-checkstyle-plugin + </artifactId> + <versionRange> + [2.13,) + </versionRange> + <goals> + <goal>check</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore/> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> </profiles> </project>