aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/controller-beijing/pom.xml
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@ericsson.com>2018-06-06 16:26:10 +0100
committerliamfallon <liam.fallon@ericsson.com>2018-06-06 16:26:29 +0100
commitd84ac8f13c794becb051cad93b4ea0e8f756a7ba (patch)
treea3baf1c5944efa72f3ddd0ebe0acfb300f9689fc /controlloop/common/controller-beijing/pom.xml
parent9cbca383a8fdd1c079f35ceecb8787a70a15c585 (diff)
Remove Eclipse lifecycle error on plugin
The kie-maven-plugin causes a lifecycle management error in Eclipse (not in normal build). A profile is added to the POM to remove this eclipse error. Change-Id: I6f5e5bec5e1e388edb083a910b9d1472af889a47 Issue-ID: POLICY-716 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'controlloop/common/controller-beijing/pom.xml')
-rw-r--r--controlloop/common/controller-beijing/pom.xml60
1 files changed, 51 insertions, 9 deletions
diff --git a/controlloop/common/controller-beijing/pom.xml b/controlloop/common/controller-beijing/pom.xml
index ba9afa9b7..8efd25ced 100644
--- a/controlloop/common/controller-beijing/pom.xml
+++ b/controlloop/common/controller-beijing/pom.xml
@@ -158,15 +158,15 @@
<groupId>com.att.research.xacml</groupId>
<artifactId>xacml-pdp</artifactId>
<version>1.0.1</version>
- <exclusions>
- <!-- The LDAP PIP uses velocity which pulls this insecure jar in. We
- are not using that PIP and can safely exclude this jar to resolve CLM issue.
- -->
- <exclusion>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- </exclusion>
- </exclusions>
+ <exclusions>
+ <!-- The LDAP PIP uses velocity which pulls this insecure jar in. We
+ are not using that PIP and can safely exclude this jar to resolve CLM issue.
+ -->
+ <exclusion>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.onap.policy.drools-pdp</groupId>
@@ -177,4 +177,46 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <!--This profile is used to store Eclipse m2e settings only. It has no
+ influence on the Maven build itself. -->
+ <id>only-eclipse</id>
+ <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.kie</groupId>
+ <artifactId>kie-maven-plugin</artifactId>
+ <versionRange>6.5.0.Final</versionRange>
+ <goals>
+ <goal>build</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
+ </profiles>
</project>