diff options
author | Hao Kuang <Hao.Kuang@amdocs.com> | 2017-09-01 14:11:57 +0000 |
---|---|---|
committer | Hao Kuang <Hao.Kuang@amdocs.com> | 2017-09-01 14:12:05 +0000 |
commit | 58a7196916567cfd46f8fd984ac924ea480ac0f3 (patch) | |
tree | 78982509dca04cd10f4ca0c7c6d16b676b955d13 | |
parent | 94cd1ffc720bc206f6b75a8781acbcdb147f7778 (diff) |
Fix classNotFound issue when executing dg-loader
Change slf4j from transitive dependency to explicit dependency.
Issue-Id: APPC-188
Change-Id: I8054b5c4e0c0023be1fd6ae7a7e89799682f20fd
Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
-rw-r--r-- | appc-directed-graph/dg-loader/provider/pom.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/appc-directed-graph/dg-loader/provider/pom.xml b/appc-directed-graph/dg-loader/provider/pom.xml index 587c92aae..873613507 100644 --- a/appc-directed-graph/dg-loader/provider/pom.xml +++ b/appc-directed-graph/dg-loader/provider/pom.xml @@ -23,7 +23,7 @@ ============LICENSE_END========================================================= --> <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"> + 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> <groupId>org.openecomp.appc.plugins</groupId> @@ -40,6 +40,16 @@ <artifactId>sli-provider</artifactId> <version>${sdnctl.sli.version}</version> <scope>compile</scope> + <exclusions> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>commons-io</groupId> @@ -54,6 +64,14 @@ <artifactId>junit</artifactId> <scope>test</scope> </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + </dependency> </dependencies> <build> @@ -130,7 +148,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> </pluginExecutions> |