[ALL] pom hints for eclipse to exclude certain maven build steps prevents errors when opening project in eclipse
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/1f725bd0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/1f725bd0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/1f725bd0 Branch: refs/heads/master Commit: 1f725bd020e36b75f0c015ef9781af5a68ce0cce Parents: 2264220 Author: Alex Heneveld <[email protected]> Authored: Tue Dec 22 12:32:13 2015 +0000 Committer: Alex Heneveld <[email protected]> Committed: Tue Dec 22 12:54:07 2015 +0000 ---------------------------------------------------------------------- brooklyn-server/rest/rest-api/pom.xml | 35 ++++++++++++++++++++++++++++++ brooklyn-ui/pom.xml | 31 ++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/1f725bd0/brooklyn-server/rest/rest-api/pom.xml ---------------------------------------------------------------------- diff --git a/brooklyn-server/rest/rest-api/pom.xml b/brooklyn-server/rest/rest-api/pom.xml index 81306e5..9a74d52 100644 --- a/brooklyn-server/rest/rest-api/pom.xml +++ b/brooklyn-server/rest/rest-api/pom.xml @@ -138,6 +138,41 @@ </executions> </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> + com.github.kongchen + </groupId> + <artifactId> + swagger-maven-plugin + </artifactId> + <versionRange> + [3.1.0,) + </versionRange> + <goals> + <goal>generate</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> </build> </project> http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/1f725bd0/brooklyn-ui/pom.xml ---------------------------------------------------------------------- diff --git a/brooklyn-ui/pom.xml b/brooklyn-ui/pom.xml index 29abd5b..9947c7c 100644 --- a/brooklyn-ui/pom.xml +++ b/brooklyn-ui/pom.xml @@ -218,6 +218,37 @@ </excludes> </configuration> </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> + com.github.skwakman.nodejs-maven-plugin + </groupId> + <artifactId> + nodejs-maven-plugin + </artifactId> + <versionRange> + [1.0.3,) + </versionRange> + <goals> + <goal>extract</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> </plugins> </pluginManagement> </build>
