diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-03-03 09:14:57 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2020-03-03 09:16:04 -0500 |
commit | 310ff50a5787e828ead37599417d02467170ea5e (patch) | |
tree | 0f2b4e38dd5c9b2b0d0c0329ed294f736284a756 | |
parent | 4ac655ffee021bfe0566ca654f3a8f8282e4b4b3 (diff) |
use policy/parent awaitility
Also cleaned up a bunch of these pom's, they do not all need to
declare JUnit, assertjr, mockito testing classes. Can use more
cleanup in some other common dependencies, but we'll defer.
Issue-ID: POLICY-2381
Change-Id: Ib1149a0cd0215d1a38d5b625634440413cf79089
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r-- | controlloop/common/controller-usecases/pom.xml | 11 | ||||
-rw-r--r-- | controlloop/common/coordination/pom.xml | 10 | ||||
-rw-r--r-- | controlloop/common/database/pom.xml | 15 | ||||
-rw-r--r-- | controlloop/common/domains/pom.xml | 12 | ||||
-rw-r--r-- | controlloop/common/eventmanager/pom.xml | 15 | ||||
-rw-r--r-- | controlloop/common/feature-controlloop-amsterdam/pom.xml | 5 | ||||
-rw-r--r-- | controlloop/common/feature-controlloop-management/pom.xml | 21 | ||||
-rw-r--r-- | controlloop/common/feature-controlloop-trans/pom.xml | 11 | ||||
-rw-r--r-- | controlloop/common/feature-controlloop-utils/pom.xml | 5 | ||||
-rw-r--r-- | controlloop/common/guard/pom.xml | 5 | ||||
-rw-r--r-- | controlloop/common/simulators/pom.xml | 5 | ||||
-rw-r--r-- | controlloop/m2/adapters/pom.xml | 6 | ||||
-rw-r--r-- | controlloop/m2/appclcm/pom.xml | 11 | ||||
-rw-r--r-- | controlloop/m2/base/pom.xml | 17 | ||||
-rw-r--r-- | controlloop/m2/guard/pom.xml | 23 | ||||
-rw-r--r-- | controlloop/m2/lock/pom.xml | 5 | ||||
-rw-r--r-- | controlloop/m2/test/pom.xml | 5 | ||||
-rw-r--r-- | controlloop/m2/util/pom.xml | 18 | ||||
-rw-r--r-- | controlloop/templates/template.demo/pom.xml | 5 | ||||
-rw-r--r-- | pom.xml | 30 |
20 files changed, 30 insertions, 205 deletions
diff --git a/controlloop/common/controller-usecases/pom.xml b/controlloop/common/controller-usecases/pom.xml index a3f533599..795b96f99 100644 --- a/controlloop/common/controller-usecases/pom.xml +++ b/controlloop/common/controller-usecases/pom.xml @@ -185,22 +185,11 @@ <optional>true</optional> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.onap.policy.models.policy-models-interactions</groupId> <artifactId>simulators</artifactId> <version>${policy.models.version}</version> <scope>test</scope> </dependency> - <dependency> - <groupId>org.awaitility</groupId> - <artifactId>awaitility</artifactId> - <version>4.0.1</version> - <scope>test</scope> - </dependency> </dependencies> <profiles> diff --git a/controlloop/common/coordination/pom.xml b/controlloop/common/coordination/pom.xml index 03220e9d1..e540f2b51 100644 --- a/controlloop/common/coordination/pom.xml +++ b/controlloop/common/coordination/pom.xml @@ -31,21 +31,11 @@ <dependencies> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.onap.policy.drools-pdp</groupId> <artifactId>policy-management</artifactId> <version>${version.policy.drools-pdp}</version> <scope>provided</scope> </dependency> - <dependency> - <groupId>org.assertj</groupId> - <artifactId>assertj-core</artifactId> - <scope>test</scope> -</dependency> </dependencies> <build> <plugins> diff --git a/controlloop/common/database/pom.xml b/controlloop/common/database/pom.xml index 12f2c8bf4..e202da76e 100644 --- a/controlloop/common/database/pom.xml +++ b/controlloop/common/database/pom.xml @@ -42,11 +42,6 @@ <scope>provided</scope> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>test</scope> @@ -57,16 +52,6 @@ <version>${version.policy.drools-pdp}</version> <scope>provided</scope> </dependency> - <dependency> - <groupId>org.assertj</groupId> - <artifactId>assertj-core</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - <scope>test</scope> - </dependency> </dependencies> <build> <plugins> diff --git a/controlloop/common/domains/pom.xml b/controlloop/common/domains/pom.xml index c278cb577..fa30cea37 100644 --- a/controlloop/common/domains/pom.xml +++ b/controlloop/common/domains/pom.xml @@ -32,23 +32,11 @@ <dependencies> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - - <dependency> <groupId>org.onap.policy.drools-pdp</groupId> <artifactId>policy-management</artifactId> <version>${version.policy.drools-pdp}</version> <scope>provided</scope> </dependency> - - <dependency> - <groupId>org.assertj</groupId> - <artifactId>assertj-core</artifactId> - <scope>test</scope> - </dependency> </dependencies> <build> diff --git a/controlloop/common/eventmanager/pom.xml b/controlloop/common/eventmanager/pom.xml index 884817079..3cd069f38 100644 --- a/controlloop/common/eventmanager/pom.xml +++ b/controlloop/common/eventmanager/pom.xml @@ -155,21 +155,6 @@ <artifactId>proto-definition</artifactId> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito2</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.assertj</groupId> - <artifactId>assertj-core</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <scope>provided</scope> diff --git a/controlloop/common/feature-controlloop-amsterdam/pom.xml b/controlloop/common/feature-controlloop-amsterdam/pom.xml index 42980119e..8d7b3ec1c 100644 --- a/controlloop/common/feature-controlloop-amsterdam/pom.xml +++ b/controlloop/common/feature-controlloop-amsterdam/pom.xml @@ -96,10 +96,5 @@ <version>${version.policy.drools-pdp}</version> <scope>provided</scope> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/controlloop/common/feature-controlloop-management/pom.xml b/controlloop/common/feature-controlloop-management/pom.xml index 75c38bcd3..8c6821616 100644 --- a/controlloop/common/feature-controlloop-management/pom.xml +++ b/controlloop/common/feature-controlloop-management/pom.xml @@ -278,27 +278,6 @@ <version>${policy.models.version}</version> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.awaitility</groupId> - <artifactId>awaitility</artifactId> - <version>3.0.0</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito2</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.assertj</groupId> - <artifactId>assertj-core</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.onap.policy.models.policy-models-interactions</groupId> <artifactId>simulators</artifactId> <version>${policy.models.version}</version> diff --git a/controlloop/common/feature-controlloop-trans/pom.xml b/controlloop/common/feature-controlloop-trans/pom.xml index d6e43cdf5..02489b360 100644 --- a/controlloop/common/feature-controlloop-trans/pom.xml +++ b/controlloop/common/feature-controlloop-trans/pom.xml @@ -144,17 +144,6 @@ <scope>provided</scope> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.awaitility</groupId> - <artifactId>awaitility</artifactId> - <version>3.0.0</version> - <scope>test</scope> - </dependency> - <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <scope>provided</scope> diff --git a/controlloop/common/feature-controlloop-utils/pom.xml b/controlloop/common/feature-controlloop-utils/pom.xml index 9bed5a545..670cba37d 100644 --- a/controlloop/common/feature-controlloop-utils/pom.xml +++ b/controlloop/common/feature-controlloop-utils/pom.xml @@ -131,10 +131,5 @@ <artifactId>rest</artifactId> <version>${policy.models.version}</version> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/controlloop/common/guard/pom.xml b/controlloop/common/guard/pom.xml index b3ef2b0ef..001325da4 100644 --- a/controlloop/common/guard/pom.xml +++ b/controlloop/common/guard/pom.xml @@ -75,11 +75,6 @@ </exclusions> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.5</version> diff --git a/controlloop/common/simulators/pom.xml b/controlloop/common/simulators/pom.xml index bde8a5ce1..924de88be 100644 --- a/controlloop/common/simulators/pom.xml +++ b/controlloop/common/simulators/pom.xml @@ -38,11 +38,6 @@ <version>${version.policy.common}</version> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId> <artifactId>aai</artifactId> <version>${policy.models.version}</version> diff --git a/controlloop/m2/adapters/pom.xml b/controlloop/m2/adapters/pom.xml index b4cd2907a..ed42b277d 100644 --- a/controlloop/m2/adapters/pom.xml +++ b/controlloop/m2/adapters/pom.xml @@ -32,12 +32,6 @@ <dependencies> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - - <dependency> <groupId>org.onap.policy.drools-applications.controlloop.m2</groupId> <artifactId>base</artifactId> <version>${project.version}</version> diff --git a/controlloop/m2/appclcm/pom.xml b/controlloop/m2/appclcm/pom.xml index 8c4ff9068..fc14fbabb 100644 --- a/controlloop/m2/appclcm/pom.xml +++ b/controlloop/m2/appclcm/pom.xml @@ -70,17 +70,6 @@ <scope>provided</scope> </dependency> - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito2</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/controlloop/m2/base/pom.xml b/controlloop/m2/base/pom.xml index 02df1ee66..64d3da9ec 100644 --- a/controlloop/m2/base/pom.xml +++ b/controlloop/m2/base/pom.xml @@ -83,23 +83,6 @@ <scope>provided</scope> </dependency> - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito2</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-module-junit4</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/controlloop/m2/guard/pom.xml b/controlloop/m2/guard/pom.xml index 895cb6cdd..fae0c2775 100644 --- a/controlloop/m2/guard/pom.xml +++ b/controlloop/m2/guard/pom.xml @@ -32,18 +32,6 @@ <dependencies> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - <scope>test</scope> - </dependency> - - <dependency> <groupId>org.onap.policy.drools-applications.controlloop.m2</groupId> <artifactId>util</artifactId> <version>${project.version}</version> @@ -80,16 +68,5 @@ <artifactId>h2</artifactId> </dependency> - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito2</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.assertj</groupId> - <artifactId>assertj-core</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/controlloop/m2/lock/pom.xml b/controlloop/m2/lock/pom.xml index 00ea2a84c..d60737b9c 100644 --- a/controlloop/m2/lock/pom.xml +++ b/controlloop/m2/lock/pom.xml @@ -45,11 +45,6 @@ <scope>provided</scope> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/controlloop/m2/test/pom.xml b/controlloop/m2/test/pom.xml index c389be5c7..141f43b69 100644 --- a/controlloop/m2/test/pom.xml +++ b/controlloop/m2/test/pom.xml @@ -91,10 +91,5 @@ <scope>test</scope> </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/controlloop/m2/util/pom.xml b/controlloop/m2/util/pom.xml index 12f6ba7de..38686c44e 100644 --- a/controlloop/m2/util/pom.xml +++ b/controlloop/m2/util/pom.xml @@ -37,23 +37,5 @@ <version>${version.policy.drools-pdp}</version> <scope>provided</scope> </dependency> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito2</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-module-junit4</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/controlloop/templates/template.demo/pom.xml b/controlloop/templates/template.demo/pom.xml index 56f04bf42..b2d6aff19 100644 --- a/controlloop/templates/template.demo/pom.xml +++ b/controlloop/templates/template.demo/pom.xml @@ -207,11 +207,6 @@ <scope>provided</scope> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>test</scope> @@ -178,6 +178,36 @@ <artifactId>logback-classic</artifactId> <scope>provided</scope> </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito2</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-junit4</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.assertj</groupId> + <artifactId>assertj-core</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.awaitility</groupId> + <artifactId>awaitility</artifactId> + <scope>test</scope> + </dependency> </dependencies> </project> |