commit | ff26bd31b3b23130ea8f6a313a13035eb3554527 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Tue Jul 01 16:45:58 2008 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Tue Jul 01 16:45:58 2008 +0000 |
tree | 3d548ce7817876af33a8b225bf6ed37a01247a47 | |
parent | 1e8ce9b19d414c6fb16b85bf8b8cf77fb605dae9 [diff] |
FELIX-617: Provided scope is allowed for inheriting scr configurations. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@673133 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/JavaClassDescriptorManager.java b/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/JavaClassDescriptorManager.java index e93455d..d133121 100644 --- a/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/JavaClassDescriptorManager.java +++ b/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/JavaClassDescriptorManager.java
@@ -140,7 +140,8 @@ final Artifact declared = (Artifact) it.next(); this.log.debug("Checking artifact " + declared); if (Artifact.SCOPE_COMPILE.equals(declared.getScope()) - || Artifact.SCOPE_RUNTIME.equals(declared.getScope())) { + || Artifact.SCOPE_RUNTIME.equals(declared.getScope()) + || Artifact.SCOPE_PROVIDED.equals(declared.getScope())) { this.log.debug("Resolving artifact " + declared); final Artifact artifact = (Artifact) resolved.get(ArtifactUtils.versionlessKey(declared)); if (artifact != null) {