From 7613e27ebb0c756645513ae800e32e0a6dac6837 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 4 Jul 2022 21:29:17 +0200 Subject: [PATCH] Cleanup odl-aaa-web feature Declare the feature so we can ditch project.version reference and make sure odl-aaa-shiro does not pull in the osgi implementation artifact. Also make sure the feature is mentioned in features-aaa and that in turn uses the artifacts declaration. Change-Id: Ibead8e8ea29e54258bbfddc80514b2655344b26d Signed-off-by: Robert Varga --- artifacts/pom.xml | 7 +++++++ dependency-check/pom.xml | 6 ++++++ features/features-aaa/pom.xml | 24 ++++++++++++++++++------ features/odl-aaa-shiro/pom.xml | 6 ------ 4 files changed, 31 insertions(+), 12 deletions(-) diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 86d689553..663325b67 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -213,6 +213,13 @@ features xml + + ${project.groupId} + odl-aaa-web + ${project.version} + features + xml + ${project.groupId} odl-apache-shiro diff --git a/dependency-check/pom.xml b/dependency-check/pom.xml index d7dbe38ae..ef21cef8f 100644 --- a/dependency-check/pom.xml +++ b/dependency-check/pom.xml @@ -140,6 +140,12 @@ features xml + + ${project.groupId} + odl-aaa-web + features + xml + ${project.groupId} odl-apache-shiro diff --git a/features/features-aaa/pom.xml b/features/features-aaa/pom.xml index 3cb139e8c..c4e242e85 100644 --- a/features/features-aaa/pom.xml +++ b/features/features-aaa/pom.xml @@ -22,46 +22,58 @@ ODL :: aaa :: ${project.artifactId} feature + + + + org.opendaylight.aaa + aaa-artifacts + ${project.version} + pom + import + + + + ${project.groupId} odl-aaa-api - ${project.version} xml features ${project.groupId} odl-aaa-cert - ${project.version} xml features ${project.groupId} odl-aaa-cli - ${project.version} xml features ${project.groupId} odl-aaa-encryption-service - ${project.version} xml features ${project.groupId} odl-aaa-shiro - ${project.version} + xml + features + + + ${project.groupId} + odl-aaa-web xml features ${project.groupId} odl-apache-shiro - ${project.version} xml features diff --git a/features/odl-aaa-shiro/pom.xml b/features/odl-aaa-shiro/pom.xml index 3e1fea0d3..5742f426b 100644 --- a/features/odl-aaa-shiro/pom.xml +++ b/features/odl-aaa-shiro/pom.xml @@ -56,15 +56,9 @@ org.opendaylight.aaa odl-aaa-web - ${project.version} features xml - - org.opendaylight.aaa.web - web-osgi-impl - ${project.version} - org.opendaylight.aaa aaa-shiro -- 2.36.6