diff options
-rw-r--r-- | integration/pom.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/integration/pom.xml b/integration/pom.xml index c513d731..3ef1cbb4 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -539,6 +539,49 @@ <url>https://wiki.onap.org/display/DW/Integration+Project</url> </scm> + <profiles> + <profile> + <id>m2e</id> + <!-- This profile is only active when the property "m2e.version" is set, + which is the case when building in Eclipse with m2e. --> + <activation> + <property> + <name>m2e.version</name> + </property> + </activation> + <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.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <versionRange>2.17,)</versionRange> + <goals> + <goal>check</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + </profiles> + <build> <extensions> <extension> |