diff options
author | liamfallon <liam.fallon@est.tech> | 2019-11-04 18:07:20 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2019-11-04 18:07:24 +0000 |
commit | d7eda87db76d8afafb59b88c2ca22e6e89cbada0 (patch) | |
tree | 6980cc2a1195c852a3586ca2e8335773f1dbd152 /client | |
parent | 4171256446af0144c56b4f6016c7b9f748b9061d (diff) |
Use jersey dependencies from policy-endpoints
There is no need to have Jersey dependencies in the PDP POMs as they are
inherited from the policy-endpoints POM.
Issue-ID: POLICY-2209
Change-Id: I5c53e7b29f4df25fd730f7a521e149e4ee70d964
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'client')
-rw-r--r-- | client/client-deployment/pom.xml | 16 | ||||
-rw-r--r-- | client/client-editor/pom.xml | 24 | ||||
-rw-r--r-- | client/client-full/pom.xml | 9 | ||||
-rw-r--r-- | client/client-monitoring/pom.xml | 12 |
4 files changed, 15 insertions, 46 deletions
diff --git a/client/client-deployment/pom.xml b/client/client-deployment/pom.xml index cd139e181..5aa8f41a3 100644 --- a/client/client-deployment/pom.xml +++ b/client/client-deployment/pom.xml @@ -33,6 +33,10 @@ <dependencies> <dependency> + <groupId>org.onap.policy.common</groupId> + <artifactId>policy-endpoints</artifactId> + </dependency> + <dependency> <groupId>org.onap.policy.apex-pdp.core</groupId> <artifactId>core-deployment</artifactId> <version>${project.version}</version> @@ -42,18 +46,6 @@ <artifactId>jersey-container-grizzly2-http</artifactId> </dependency> <dependency> - <groupId>org.glassfish.jersey.media</groupId> - <artifactId>jersey-media-multipart</artifactId> - </dependency> - <dependency> - <groupId>org.glassfish.jersey.containers</groupId> - <artifactId>jersey-container-servlet-core</artifactId> - </dependency> - <dependency> - <groupId>org.glassfish.jersey.inject</groupId> - <artifactId>jersey-hk2</artifactId> - </dependency> - <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> </dependency> diff --git a/client/client-editor/pom.xml b/client/client-editor/pom.xml index 39162424b..2577148fd 100644 --- a/client/client-editor/pom.xml +++ b/client/client-editor/pom.xml @@ -34,6 +34,10 @@ <dependencies> <dependency> <groupId>org.onap.policy.common</groupId> + <artifactId>policy-endpoints</artifactId> + </dependency> + <dependency> + <groupId>org.onap.policy.common</groupId> <artifactId>utils</artifactId> </dependency> <dependency> @@ -55,12 +59,9 @@ <artifactId>jersey-media-moxy</artifactId> </dependency> <dependency> - <groupId>org.glassfish.jersey.containers</groupId> - <artifactId>jersey-container-servlet-core</artifactId> - </dependency> - <dependency> - <groupId>org.glassfish.jersey.inject</groupId> - <artifactId>jersey-hk2</artifactId> + <groupId>org.glassfish.jersey.test-framework.providers</groupId> + <artifactId>jersey-test-framework-provider-grizzly2</artifactId> + <scope>test</scope> </dependency> <dependency> <groupId>commons-cli</groupId> @@ -72,17 +73,6 @@ <scope>test</scope> </dependency> <dependency> - <groupId>org.glassfish.jersey.test-framework</groupId> - <artifactId>jersey-test-framework-core</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.glassfish.jersey.test-framework.providers</groupId> - <artifactId>jersey-test-framework-provider-grizzly2</artifactId> - <scope>test</scope> - </dependency> - - <dependency> <groupId>org.onap.policy.apex-pdp.client</groupId> <artifactId>client-common</artifactId> <version>${project.version}</version> diff --git a/client/client-full/pom.xml b/client/client-full/pom.xml index 6f8c11697..257d3d7e6 100644 --- a/client/client-full/pom.xml +++ b/client/client-full/pom.xml @@ -48,12 +48,6 @@ <version>${project.version}</version> </dependency> <dependency> - <groupId>org.glassfish.jersey.containers</groupId> - <artifactId>jersey-container-grizzly2-http</artifactId> - </dependency> - - - <dependency> <groupId>org.onap.policy.apex-pdp.client</groupId> <artifactId>client-monitoring</artifactId> <version>${project.version}</version> @@ -82,9 +76,6 @@ <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> - - - </dependencies> <build> diff --git a/client/client-monitoring/pom.xml b/client/client-monitoring/pom.xml index 5ae5412b3..4e5eb0b3e 100644 --- a/client/client-monitoring/pom.xml +++ b/client/client-monitoring/pom.xml @@ -32,6 +32,10 @@ <description>Web client for monitoring Apex engines</description> <dependencies> + <dependency> + <groupId>org.onap.policy.common</groupId> + <artifactId>policy-endpoints</artifactId> + </dependency> <dependency> <groupId>org.onap.policy.apex-pdp.core</groupId> <artifactId>core-deployment</artifactId> @@ -42,14 +46,6 @@ <artifactId>jersey-container-grizzly2-http</artifactId> </dependency> <dependency> - <groupId>org.glassfish.jersey.containers</groupId> - <artifactId>jersey-container-servlet-core</artifactId> - </dependency> - <dependency> - <groupId>org.glassfish.jersey.inject</groupId> - <artifactId>jersey-hk2</artifactId> - </dependency> - <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> </dependency> |