diff options
author | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-09-11 15:32:30 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2019-09-11 19:40:53 +0000 |
commit | e47bfae925887947650f5d0b6a3050edec86ee1d (patch) | |
tree | a8c4b42518889d89402b14909c9049945879ecd3 | |
parent | 11024639bc19d62e2f2e177bbcfaeb04b5e27737 (diff) |
Specify sli scope as provided
Specify scope of sli dependency as provided to avoid issue in
generated feature.xml
Change-Id: I16caad2df85b1a8c103d942815c08e9ea037372a
Issue-ID: CCSDK-1445
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
-rwxr-xr-x | restconf-client/provider/pom.xml | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/restconf-client/provider/pom.xml b/restconf-client/provider/pom.xml index 953db693..cd1d4f74 100755 --- a/restconf-client/provider/pom.xml +++ b/restconf-client/provider/pom.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> @@ -14,17 +15,17 @@ <packaging>bundle</packaging> <name>ccsdk-sli-plugins :: restconf-client :: ${project.artifactId}</name> - + <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.onap.ccsdk.sli.core</groupId> - <artifactId>sli-core-artifacts</artifactId> - <version>${ccsdk.sli.core.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> + <dependencies> + <dependency> + <groupId>org.onap.ccsdk.sli.core</groupId> + <artifactId>sli-core-artifacts</artifactId> + <version>${ccsdk.sli.core.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + </dependencies> </dependencyManagement> <dependencies> @@ -39,16 +40,12 @@ <dependency> <groupId>org.onap.ccsdk.sli.core</groupId> <artifactId>sli-common</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.onap.ccsdk.sli.core</groupId> - <artifactId>sli-provider</artifactId> - <scope>provided</scope> - </dependency> + <scope>provided</scope> + </dependency> <dependency> <groupId>org.onap.ccsdk.sli.core</groupId> <artifactId>sli-provider</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.onap.ccsdk.sli.plugins</groupId> @@ -84,11 +81,11 @@ <groupId>org.opendaylight.yangtools</groupId> <artifactId>yang-parser-impl</artifactId> </dependency> - <dependency> - <groupId>org.osgi</groupId> - <artifactId>org.osgi.core</artifactId> - <scope>provided</scope> - </dependency> + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.core</artifactId> + <scope>provided</scope> + </dependency> <!-- For test --> <dependency> |