summaryrefslogtreecommitdiffstats
path: root/policy-core/pom.xml
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-02-08 13:35:44 -0600
committerJorge Hernandez <jh1730@att.com>2018-02-08 13:35:44 -0600
commit19257102e06ecea46c0c3a6ba2063a42e6c4231a (patch)
tree93321078632099ff48233a288984d27b6082536c /policy-core/pom.xml
parent9916cc6f9f6070c879cbf5ae19441155fcff695c (diff)
programatic install of rules artifacts for junits
instead of relying on pom.xml, build settings. since jenkins jobs that generate sonars don't seem to go through a build phase anymore, therefore the preceding artifacts are not available in the local repository, which is required by the tests. Change-Id: Icfd14b2f8a6c6e1ac7d986bd6eb977b2a83b044d Issue-ID: POLICY-621 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-core/pom.xml')
-rw-r--r--policy-core/pom.xml53
1 files changed, 1 insertions, 52 deletions
diff --git a/policy-core/pom.xml b/policy-core/pom.xml
index 81803955..4bfd23ad 100644
--- a/policy-core/pom.xml
+++ b/policy-core/pom.xml
@@ -3,7 +3,7 @@
============LICENSE_START=======================================================
ONAP Policy Engine - Drools PDP
================================================================================
- Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -30,57 +30,6 @@
<version>1.2.0-SNAPSHOT</version>
</parent>
- <build>
- <plugins>
-
- <!--
- 'maven-invoker-plugin' is used to build and install two versions of a
- Drools artifact, both of which are used in Junit tests. These Maven
- projects are invisible to Sonar and SonarQube, so there are no
- complaints about multiple projects with the same artifact, and they
- don't show up in the list of files or code line counts.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-invoker-plugin</artifactId>
- <version>3.0.1</version>
- <executions>
-
- <execution>
- <id>drools-artifact-1.1</id>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>test-compile</phase>
- <configuration>
- <pom>drools-artifact-1.1/pom.xml</pom>
- <goals>
- <goal>install</goal>
- </goals>
- <streamLogs>true</streamLogs>
- </configuration>
- </execution>
-
- <execution>
- <id>drools-artifact-1.2</id>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>test-compile</phase>
- <configuration>
- <pom>drools-artifact-1.2/pom.xml</pom>
- <goals>
- <goal>install</goal>
- </goals>
- <streamLogs>true</streamLogs>
- </configuration>
- </execution>
-
- </executions>
- </plugin>
- </plugins>
- </build>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>