You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2019/06/10 07:05:13 UTC
[karaf] branch master updated: [KARAF-6202] Use new OSGi core/cmpn
Maven coordinates (preparation step for OSGi R7 upgrade)
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/master by this push:
new fb9e33f [KARAF-6202] Use new OSGi core/cmpn Maven coordinates (preparation step for OSGi R7 upgrade)
new 68f8cef Merge pull request #790 from jbonofre/KARAF-6202
fb9e33f is described below
commit fb9e33fab561e33033abb61b5a1c1c382fddc8cb
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Sun Jun 9 14:17:47 2019 +0200
[KARAF-6202] Use new OSGi core/cmpn Maven coordinates (preparation step for OSGi R7 upgrade)
---
.../src/main/resources/archetype-resources/pom.xml | 2 +-
.../src/main/resources/archetype-resources/pom.xml | 4 ++--
assemblies/features/base/pom.xml | 2 +-
audit/pom.xml | 4 ++--
bundle/blueprintstate/pom.xml | 2 +-
bundle/core/pom.xml | 4 ++--
bundle/springstate/pom.xml | 2 +-
config/pom.xml | 4 ++--
deployer/blueprint/pom.xml | 2 +-
deployer/features/pom.xml | 4 ++--
deployer/kar/pom.xml | 4 ++--
deployer/spring/pom.xml | 2 +-
deployer/wrap/pom.xml | 2 +-
diagnostic/boot/pom.xml | 2 +-
diagnostic/core/pom.xml | 4 ++--
docker/pom.xml | 4 ++--
event/pom.xml | 4 ++--
.../karaf-bundle-example-client/pom.xml | 2 +-
.../karaf-bundle-example-provider/pom.xml | 2 +-
.../pom.xml | 2 +-
.../pom.xml | 2 +-
.../karaf-jpa-example-provider-ds-openjpa/pom.xml | 2 +-
.../karaf-maven-example-deploy/pom.xml | 2 +-
.../karaf-maven-example-run-bundle/pom.xml | 2 +-
features/command/pom.xml | 4 ++--
features/core/pom.xml | 6 ++++--
.../internal/region/SubsystemResolveContext.java | 22 ++++++++++++++++++++++
features/extension/pom.xml | 2 +-
http/pom.xml | 4 ++--
instance/pom.xml | 4 ++--
itests/common/pom.xml | 4 ++--
itests/test/pom.xml | 4 ++--
.../KarafMinimalMonitoredTestSupport.java | 5 +----
...ResolverRegisteredOnlyAfterConfigAdminTest.java | 2 +-
jaas/blueprint/config/pom.xml | 2 +-
jaas/blueprint/jasypt/pom.xml | 6 +++---
jaas/boot/pom.xml | 2 +-
jaas/command/pom.xml | 2 +-
jaas/config/pom.xml | 2 +-
jaas/jasypt/pom.xml | 4 ++--
jaas/modules/pom.xml | 4 ++--
jdbc/pom.xml | 4 ++--
jms/pom.xml | 4 ++--
jndi/pom.xml | 2 +-
jpa/hibernate/pom.xml | 2 +-
kar/pom.xml | 4 ++--
log/pom.xml | 4 ++--
main/pom.xml | 2 +-
management/server/pom.xml | 4 ++--
manual/pom.xml | 4 ++--
maven/core/pom.xml | 4 ++--
obr/pom.xml | 2 +-
package/pom.xml | 2 +-
pom.xml | 6 +++---
profile/pom.xml | 4 ++--
scheduler/pom.xml | 4 ++--
scr/examples/component-factory/pom.xml | 4 ++--
scr/examples/managed-service/pom.xml | 4 ++--
scr/examples/service/pom.xml | 4 ++--
scr/management/pom.xml | 2 +-
scr/state/pom.xml | 2 +-
service/core/pom.xml | 2 +-
service/guard/pom.xml | 4 ++--
services/coordinator/pom.xml | 2 +-
services/eventadmin/pom.xml | 4 ++--
services/staticcm/pom.xml | 4 ++--
shell/commands/pom.xml | 4 ++--
shell/console/pom.xml | 4 ++--
shell/core/pom.xml | 4 ++--
shell/ssh/pom.xml | 4 ++--
specs/activator/pom.xml | 2 +-
specs/locator/pom.xml | 2 +-
subsystem/pom.xml | 4 ++--
system/pom.xml | 2 +-
tooling/karaf-maven-plugin/pom.xml | 12 +++++++++++-
tooling/karaf-services-maven-plugin/pom.xml | 2 +-
util/pom.xml | 4 ++--
web/pom.xml | 2 +-
webconsole/console/pom.xml | 6 +++---
webconsole/features/pom.xml | 4 ++--
webconsole/gogo/pom.xml | 4 ++--
webconsole/http/pom.xml | 4 ++--
webconsole/instance/pom.xml | 4 ++--
wrapper/pom.xml | 2 +-
84 files changed, 165 insertions(+), 134 deletions(-)
diff --git a/archetypes/bundle/src/main/resources/archetype-resources/pom.xml b/archetypes/bundle/src/main/resources/archetype-resources/pom.xml
index 0a8badc..5eacc21 100644
--- a/archetypes/bundle/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/bundle/src/main/resources/archetype-resources/pom.xml
@@ -40,7 +40,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<version>${osgi.version}</version>
<scope>provided</scope>
</dependency>
diff --git a/archetypes/command/src/main/resources/archetype-resources/pom.xml b/archetypes/command/src/main/resources/archetype-resources/pom.xml
index dd7077f..88cd379 100644
--- a/archetypes/command/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/command/src/main/resources/archetype-resources/pom.xml
@@ -37,14 +37,14 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<version>^osgi.version^</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<version>^osgi.compendium.version^</version>
<scope>provided</scope>
</dependency>
diff --git a/assemblies/features/base/pom.xml b/assemblies/features/base/pom.xml
index 4e54904..922b71d 100644
--- a/assemblies/features/base/pom.xml
+++ b/assemblies/features/base/pom.xml
@@ -212,7 +212,7 @@
</artifactItem>
<artifactItem>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<outputDirectory>target/classes/resources/lib/boot</outputDirectory>
</artifactItem>
<artifactItem>
diff --git a/audit/pom.xml b/audit/pom.xml
index c998029..ebbb568 100644
--- a/audit/pom.xml
+++ b/audit/pom.xml
@@ -41,12 +41,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/bundle/blueprintstate/pom.xml b/bundle/blueprintstate/pom.xml
index 169dad2..7a4249a 100644
--- a/bundle/blueprintstate/pom.xml
+++ b/bundle/blueprintstate/pom.xml
@@ -47,7 +47,7 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/bundle/core/pom.xml b/bundle/core/pom.xml
index e48ea48..9f2e2f2 100644
--- a/bundle/core/pom.xml
+++ b/bundle/core/pom.xml
@@ -47,12 +47,12 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/bundle/springstate/pom.xml b/bundle/springstate/pom.xml
index e059a4d..1128634 100644
--- a/bundle/springstate/pom.xml
+++ b/bundle/springstate/pom.xml
@@ -47,7 +47,7 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/config/pom.xml b/config/pom.xml
index 5b4d7c8..c5b3054 100644
--- a/config/pom.xml
+++ b/config/pom.xml
@@ -41,12 +41,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/deployer/blueprint/pom.xml b/deployer/blueprint/pom.xml
index 253eb36..637f0b6 100644
--- a/deployer/blueprint/pom.xml
+++ b/deployer/blueprint/pom.xml
@@ -56,7 +56,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/deployer/features/pom.xml b/deployer/features/pom.xml
index f09effc..ffc8d34 100644
--- a/deployer/features/pom.xml
+++ b/deployer/features/pom.xml
@@ -50,12 +50,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/deployer/kar/pom.xml b/deployer/kar/pom.xml
index 520abbf..2d9bf53 100644
--- a/deployer/kar/pom.xml
+++ b/deployer/kar/pom.xml
@@ -50,12 +50,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/deployer/spring/pom.xml b/deployer/spring/pom.xml
index fba8dfd..601a446 100644
--- a/deployer/spring/pom.xml
+++ b/deployer/spring/pom.xml
@@ -55,7 +55,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/deployer/wrap/pom.xml b/deployer/wrap/pom.xml
index 0abcd8f..b513c77 100644
--- a/deployer/wrap/pom.xml
+++ b/deployer/wrap/pom.xml
@@ -45,7 +45,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/diagnostic/boot/pom.xml b/diagnostic/boot/pom.xml
index b98c939..9263fc3 100644
--- a/diagnostic/boot/pom.xml
+++ b/diagnostic/boot/pom.xml
@@ -41,7 +41,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/diagnostic/core/pom.xml b/diagnostic/core/pom.xml
index 8c5544a..792e5e4 100644
--- a/diagnostic/core/pom.xml
+++ b/diagnostic/core/pom.xml
@@ -41,13 +41,13 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/docker/pom.xml b/docker/pom.xml
index 706dda7..eaa11ed 100644
--- a/docker/pom.xml
+++ b/docker/pom.xml
@@ -40,12 +40,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/event/pom.xml b/event/pom.xml
index 3f0121b..44a5d23 100644
--- a/event/pom.xml
+++ b/event/pom.xml
@@ -54,7 +54,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
@@ -64,7 +64,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/examples/karaf-bundle-example/karaf-bundle-example-client/pom.xml b/examples/karaf-bundle-example/karaf-bundle-example-client/pom.xml
index 2dc4b91..de3cdb5 100644
--- a/examples/karaf-bundle-example/karaf-bundle-example-client/pom.xml
+++ b/examples/karaf-bundle-example/karaf-bundle-example-client/pom.xml
@@ -40,7 +40,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
</dependencies>
diff --git a/examples/karaf-bundle-example/karaf-bundle-example-provider/pom.xml b/examples/karaf-bundle-example/karaf-bundle-example-provider/pom.xml
index 4bc81e9..588fe55 100644
--- a/examples/karaf-bundle-example/karaf-bundle-example-provider/pom.xml
+++ b/examples/karaf-bundle-example/karaf-bundle-example-provider/pom.xml
@@ -40,7 +40,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
</dependencies>
diff --git a/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-eclipselink/pom.xml b/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-eclipselink/pom.xml
index e89f4e2..8642db0 100644
--- a/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-eclipselink/pom.xml
+++ b/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-eclipselink/pom.xml
@@ -55,7 +55,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<version>6.0.0</version>
</dependency>
<dependency>
diff --git a/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-hibernate/pom.xml b/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-hibernate/pom.xml
index 67df561..f4672e7 100644
--- a/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-hibernate/pom.xml
+++ b/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-hibernate/pom.xml
@@ -55,7 +55,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<version>6.0.0</version>
</dependency>
<dependency>
diff --git a/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-openjpa/pom.xml b/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-openjpa/pom.xml
index ddb735c..bbd6330 100644
--- a/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-openjpa/pom.xml
+++ b/examples/karaf-jpa-example/karaf-jpa-example-provider/karaf-jpa-example-provider-ds/karaf-jpa-example-provider-ds-openjpa/pom.xml
@@ -55,7 +55,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<version>6.0.0</version>
</dependency>
<dependency>
diff --git a/examples/karaf-maven-example/karaf-maven-example-deploy/pom.xml b/examples/karaf-maven-example/karaf-maven-example-deploy/pom.xml
index d72a88b..46f1cac 100644
--- a/examples/karaf-maven-example/karaf-maven-example-deploy/pom.xml
+++ b/examples/karaf-maven-example/karaf-maven-example-deploy/pom.xml
@@ -35,7 +35,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
</dependencies>
diff --git a/examples/karaf-maven-example/karaf-maven-example-run-bundle/pom.xml b/examples/karaf-maven-example/karaf-maven-example-run-bundle/pom.xml
index 4ff0e62..f318683 100644
--- a/examples/karaf-maven-example/karaf-maven-example-run-bundle/pom.xml
+++ b/examples/karaf-maven-example/karaf-maven-example-run-bundle/pom.xml
@@ -35,7 +35,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
</dependencies>
diff --git a/features/command/pom.xml b/features/command/pom.xml
index e0363b1..268bc3f 100644
--- a/features/command/pom.xml
+++ b/features/command/pom.xml
@@ -40,12 +40,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/features/core/pom.xml b/features/core/pom.xml
index 612d819..846e9f6 100644
--- a/features/core/pom.xml
+++ b/features/core/pom.xml
@@ -40,12 +40,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>
@@ -169,6 +169,8 @@
*
</Import-Package>
<Private-Package>
+ org.osgi.util.promise,
+ org.osgi.util.function,
org.apache.karaf.features.internal.*,
org.apache.felix.utils.collections,
org.apache.felix.utils.version,
diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/region/SubsystemResolveContext.java b/features/core/src/main/java/org/apache/karaf/features/internal/region/SubsystemResolveContext.java
index 645a677..f08efaa 100644
--- a/features/core/src/main/java/org/apache/karaf/features/internal/region/SubsystemResolveContext.java
+++ b/features/core/src/main/java/org/apache/karaf/features/internal/region/SubsystemResolveContext.java
@@ -45,9 +45,13 @@ import org.osgi.resource.Capability;
import org.osgi.resource.Requirement;
import org.osgi.resource.Resource;
import org.osgi.resource.Wiring;
+import org.osgi.service.repository.ExpressionCombiner;
import org.osgi.service.repository.Repository;
+import org.osgi.service.repository.RequirementBuilder;
+import org.osgi.service.repository.RequirementExpression;
import org.osgi.service.resolver.HostedCapability;
import org.osgi.service.resolver.ResolveContext;
+import org.osgi.util.promise.Promise;
import static org.apache.karaf.features.internal.resolver.ResourceUtils.addIdentityRequirement;
import static org.apache.karaf.features.internal.resolver.ResourceUtils.getUri;
@@ -350,6 +354,24 @@ public class SubsystemResolveContext extends ResolveContext {
return result;
}
+ @Override
+ public Promise<Collection<Resource>> findProviders(RequirementExpression expression) {
+ // TODO
+ return null;
+ }
+
+ @Override
+ public ExpressionCombiner getExpressionCombiner() {
+ // TODO
+ return null;
+ }
+
+ @Override
+ public RequirementBuilder newRequirementBuilder(String namespace) {
+ // TODO
+ return null;
+ }
+
private void wrap(Map<Capability, Capability> map, Subsystem subsystem, Resource resource) {
ResourceImpl wrapped = new ResourceImpl();
for (Capability cap : resource.getCapabilities(null)) {
diff --git a/features/extension/pom.xml b/features/extension/pom.xml
index ae32a6d..f94b3f8 100644
--- a/features/extension/pom.xml
+++ b/features/extension/pom.xml
@@ -40,7 +40,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/http/pom.xml b/http/pom.xml
index 410cfbb..3513bca 100644
--- a/http/pom.xml
+++ b/http/pom.xml
@@ -41,12 +41,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/instance/pom.xml b/instance/pom.xml
index b3a1ce0..ca41601 100644
--- a/instance/pom.xml
+++ b/instance/pom.xml
@@ -42,13 +42,13 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/itests/common/pom.xml b/itests/common/pom.xml
index c3b950c..9a59b15 100644
--- a/itests/common/pom.xml
+++ b/itests/common/pom.xml
@@ -72,12 +72,12 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/itests/test/pom.xml b/itests/test/pom.xml
index 11b4595..d56b7c5 100644
--- a/itests/test/pom.xml
+++ b/itests/test/pom.xml
@@ -65,12 +65,12 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/itests/test/src/test/java/org/apache/karaf/itests/mavenresolver/KarafMinimalMonitoredTestSupport.java b/itests/test/src/test/java/org/apache/karaf/itests/mavenresolver/KarafMinimalMonitoredTestSupport.java
index b81ac79..2a5cd7b 100644
--- a/itests/test/src/test/java/org/apache/karaf/itests/mavenresolver/KarafMinimalMonitoredTestSupport.java
+++ b/itests/test/src/test/java/org/apache/karaf/itests/mavenresolver/KarafMinimalMonitoredTestSupport.java
@@ -23,10 +23,7 @@ import static org.apache.karaf.itests.KarafTestSupport.MIN_RMI_SERVER_PORT;
import static org.ops4j.pax.exam.CoreOptions.composite;
import static org.ops4j.pax.exam.CoreOptions.maven;
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
-import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.configureSecurity;
-import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
-import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
-import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.logLevel;
+import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.*;
import static org.ops4j.pax.tinybundles.core.TinyBundles.bundle;
import static org.ops4j.pax.tinybundles.core.TinyBundles.withBnd;
import static org.osgi.framework.Constants.OBJECTCLASS;
diff --git a/itests/test/src/test/java/org/apache/karaf/itests/mavenresolver/MavenResolverRegisteredOnlyAfterConfigAdminTest.java b/itests/test/src/test/java/org/apache/karaf/itests/mavenresolver/MavenResolverRegisteredOnlyAfterConfigAdminTest.java
index ac83196..96163e8 100644
--- a/itests/test/src/test/java/org/apache/karaf/itests/mavenresolver/MavenResolverRegisteredOnlyAfterConfigAdminTest.java
+++ b/itests/test/src/test/java/org/apache/karaf/itests/mavenresolver/MavenResolverRegisteredOnlyAfterConfigAdminTest.java
@@ -51,7 +51,7 @@ public class MavenResolverRegisteredOnlyAfterConfigAdminTest extends KarafMinima
composite(editConfigurationFilePut("etc/org.apache.karaf.features.cfg",
new File("target/test-classes/etc/org.apache.karaf.features.cfg"))),
// etc/config.properties which have org.ops4j.pax.url.mvn.requireConfigAdminConfig=true
- editConfigurationFileExtend("etc/config.properties", "etc/org.apache.karaf.features.cfg", "true")
+ editConfigurationFilePut("etc/config.properties", "org.ops4j.pax.url.mvn.requireConfigAdminConfig", "true")
};
}
diff --git a/jaas/blueprint/config/pom.xml b/jaas/blueprint/config/pom.xml
index 820564e..95265e9 100644
--- a/jaas/blueprint/config/pom.xml
+++ b/jaas/blueprint/config/pom.xml
@@ -40,7 +40,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/jaas/blueprint/jasypt/pom.xml b/jaas/blueprint/jasypt/pom.xml
index 24d163a..3e530ee 100644
--- a/jaas/blueprint/jasypt/pom.xml
+++ b/jaas/blueprint/jasypt/pom.xml
@@ -65,16 +65,16 @@
<scope>test</scope>
</dependency>
- <!-- Force osgi 4.2 so that blueprint bundle tracker works correctly -->
+ <!-- Force osgi, so that blueprint bundle tracker works correctly -->
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>test</scope>
</dependency>
diff --git a/jaas/boot/pom.xml b/jaas/boot/pom.xml
index e5af5f0..5d420dc 100644
--- a/jaas/boot/pom.xml
+++ b/jaas/boot/pom.xml
@@ -40,7 +40,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/jaas/command/pom.xml b/jaas/command/pom.xml
index 788774d..ed06060 100644
--- a/jaas/command/pom.xml
+++ b/jaas/command/pom.xml
@@ -40,7 +40,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/jaas/config/pom.xml b/jaas/config/pom.xml
index 3966355..93ee079 100644
--- a/jaas/config/pom.xml
+++ b/jaas/config/pom.xml
@@ -55,7 +55,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/jaas/jasypt/pom.xml b/jaas/jasypt/pom.xml
index 9575ee4..03a77b3 100644
--- a/jaas/jasypt/pom.xml
+++ b/jaas/jasypt/pom.xml
@@ -41,7 +41,7 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
@@ -78,7 +78,7 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>test</scope>
</dependency>
diff --git a/jaas/modules/pom.xml b/jaas/modules/pom.xml
index eba5707..8fa78c5 100644
--- a/jaas/modules/pom.xml
+++ b/jaas/modules/pom.xml
@@ -62,13 +62,13 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index f1d0637..e834422 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -41,12 +41,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/jms/pom.xml b/jms/pom.xml
index 18b9d83..e8b10da 100644
--- a/jms/pom.xml
+++ b/jms/pom.xml
@@ -41,12 +41,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/jndi/pom.xml b/jndi/pom.xml
index 597314d..f2d9b69 100644
--- a/jndi/pom.xml
+++ b/jndi/pom.xml
@@ -45,7 +45,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.aries.proxy</groupId>
diff --git a/jpa/hibernate/pom.xml b/jpa/hibernate/pom.xml
index b0f6ff3..6e93f28 100644
--- a/jpa/hibernate/pom.xml
+++ b/jpa/hibernate/pom.xml
@@ -35,7 +35,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/kar/pom.xml b/kar/pom.xml
index 0de22cc..7e1a5fa 100644
--- a/kar/pom.xml
+++ b/kar/pom.xml
@@ -51,12 +51,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/log/pom.xml b/log/pom.xml
index df9effc..62c7f50 100644
--- a/log/pom.xml
+++ b/log/pom.xml
@@ -41,12 +41,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/main/pom.xml b/main/pom.xml
index 658c6db..9d683d9 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -41,7 +41,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/management/server/pom.xml b/management/server/pom.xml
index 2402979..5c76cd0 100644
--- a/management/server/pom.xml
+++ b/management/server/pom.xml
@@ -41,12 +41,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/manual/pom.xml b/manual/pom.xml
index 2103231..19c004d 100644
--- a/manual/pom.xml
+++ b/manual/pom.xml
@@ -185,12 +185,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<version>${osgi.version}</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<version>${osgi.compendium.version}</version>
</dependency>
<dependency>
diff --git a/maven/core/pom.xml b/maven/core/pom.xml
index 88ae0ea..070574c 100644
--- a/maven/core/pom.xml
+++ b/maven/core/pom.xml
@@ -37,11 +37,11 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/obr/pom.xml b/obr/pom.xml
index 125e5e9..69eb64f 100644
--- a/obr/pom.xml
+++ b/obr/pom.xml
@@ -41,7 +41,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/package/pom.xml b/package/pom.xml
index ce5b59d..037aa8f 100644
--- a/package/pom.xml
+++ b/package/pom.xml
@@ -48,7 +48,7 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/pom.xml b/pom.xml
index c7f5173..a4197c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -278,7 +278,7 @@
<org.osgi.service.jdbc.version>1.0.0</org.osgi.service.jdbc.version>
<org.osgi.service.jpa.version>1.0.0</org.osgi.service.jpa.version>
<osgi.version>6.0.0</osgi.version>
- <osgi.compendium.version>5.0.0</osgi.compendium.version>
+ <osgi.compendium.version>6.0.0</osgi.compendium.version>
<pax.cdi.version>1.1.1</pax.cdi.version>
<pax.exam.version>4.13.1</pax.exam.version>
@@ -381,7 +381,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<version>${osgi.version}</version>
<scope>provided</scope>
</dependency>
@@ -847,7 +847,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<version>${osgi.compendium.version}</version>
</dependency>
<dependency>
diff --git a/profile/pom.xml b/profile/pom.xml
index e97807f..7253ed6 100644
--- a/profile/pom.xml
+++ b/profile/pom.xml
@@ -42,13 +42,13 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/scheduler/pom.xml b/scheduler/pom.xml
index 23491c4..8c5a8e6 100644
--- a/scheduler/pom.xml
+++ b/scheduler/pom.xml
@@ -96,12 +96,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/scr/examples/component-factory/pom.xml b/scr/examples/component-factory/pom.xml
index 946e88f..b6f85a2 100644
--- a/scr/examples/component-factory/pom.xml
+++ b/scr/examples/component-factory/pom.xml
@@ -37,11 +37,11 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/scr/examples/managed-service/pom.xml b/scr/examples/managed-service/pom.xml
index 0afb356..2d99eff 100644
--- a/scr/examples/managed-service/pom.xml
+++ b/scr/examples/managed-service/pom.xml
@@ -37,11 +37,11 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/scr/examples/service/pom.xml b/scr/examples/service/pom.xml
index 855a461..26a05d1 100644
--- a/scr/examples/service/pom.xml
+++ b/scr/examples/service/pom.xml
@@ -37,11 +37,11 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/scr/management/pom.xml b/scr/management/pom.xml
index b985d1b..ae4dec4 100644
--- a/scr/management/pom.xml
+++ b/scr/management/pom.xml
@@ -45,7 +45,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/scr/state/pom.xml b/scr/state/pom.xml
index 5c18452..265aef0 100644
--- a/scr/state/pom.xml
+++ b/scr/state/pom.xml
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/service/core/pom.xml b/service/core/pom.xml
index 7bfdc0c..0a64184 100644
--- a/service/core/pom.xml
+++ b/service/core/pom.xml
@@ -40,7 +40,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/service/guard/pom.xml b/service/guard/pom.xml
index 1bc4649..4592ad3 100644
--- a/service/guard/pom.xml
+++ b/service/guard/pom.xml
@@ -55,12 +55,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/services/coordinator/pom.xml b/services/coordinator/pom.xml
index cfcd7a2..956db94 100644
--- a/services/coordinator/pom.xml
+++ b/services/coordinator/pom.xml
@@ -37,7 +37,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/services/eventadmin/pom.xml b/services/eventadmin/pom.xml
index 2ea94da..a282ee4 100644
--- a/services/eventadmin/pom.xml
+++ b/services/eventadmin/pom.xml
@@ -95,7 +95,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
@@ -105,7 +105,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/services/staticcm/pom.xml b/services/staticcm/pom.xml
index 77f8cf0..95a1a88 100644
--- a/services/staticcm/pom.xml
+++ b/services/staticcm/pom.xml
@@ -74,12 +74,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/shell/commands/pom.xml b/shell/commands/pom.xml
index f55c0dc..31d1d90 100644
--- a/shell/commands/pom.xml
+++ b/shell/commands/pom.xml
@@ -53,12 +53,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/shell/console/pom.xml b/shell/console/pom.xml
index f44d2f8..e42a094 100644
--- a/shell/console/pom.xml
+++ b/shell/console/pom.xml
@@ -53,12 +53,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/shell/core/pom.xml b/shell/core/pom.xml
index bb4dab9..9c37d5b 100644
--- a/shell/core/pom.xml
+++ b/shell/core/pom.xml
@@ -49,12 +49,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/shell/ssh/pom.xml b/shell/ssh/pom.xml
index 0553a74..74dd49f 100644
--- a/shell/ssh/pom.xml
+++ b/shell/ssh/pom.xml
@@ -53,13 +53,13 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/specs/activator/pom.xml b/specs/activator/pom.xml
index 7c3eb21..187f994 100644
--- a/specs/activator/pom.xml
+++ b/specs/activator/pom.xml
@@ -36,7 +36,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/specs/locator/pom.xml b/specs/locator/pom.xml
index b1bb253..53c1ab4 100644
--- a/specs/locator/pom.xml
+++ b/specs/locator/pom.xml
@@ -32,7 +32,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/subsystem/pom.xml b/subsystem/pom.xml
index ed18104..06f7477 100644
--- a/subsystem/pom.xml
+++ b/subsystem/pom.xml
@@ -40,7 +40,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
@@ -52,7 +52,7 @@
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/system/pom.xml b/system/pom.xml
index fc2655d..50ba23b 100644
--- a/system/pom.xml
+++ b/system/pom.xml
@@ -43,7 +43,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/tooling/karaf-maven-plugin/pom.xml b/tooling/karaf-maven-plugin/pom.xml
index 2a95856..4fa6718 100644
--- a/tooling/karaf-maven-plugin/pom.xml
+++ b/tooling/karaf-maven-plugin/pom.xml
@@ -130,6 +130,10 @@
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -158,6 +162,12 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.resolver</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.ops4j.pax.url</groupId>
@@ -211,7 +221,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
diff --git a/tooling/karaf-services-maven-plugin/pom.xml b/tooling/karaf-services-maven-plugin/pom.xml
index 7371b8d..968771c 100644
--- a/tooling/karaf-services-maven-plugin/pom.xml
+++ b/tooling/karaf-services-maven-plugin/pom.xml
@@ -95,7 +95,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>compile</scope>
</dependency>
diff --git a/util/pom.xml b/util/pom.xml
index 8498beb..3535dc02 100644
--- a/util/pom.xml
+++ b/util/pom.xml
@@ -36,12 +36,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/web/pom.xml b/web/pom.xml
index 295a5cb..9773001 100644
--- a/web/pom.xml
+++ b/web/pom.xml
@@ -43,7 +43,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/webconsole/console/pom.xml b/webconsole/console/pom.xml
index 762ba9e..824ffa4 100644
--- a/webconsole/console/pom.xml
+++ b/webconsole/console/pom.xml
@@ -44,11 +44,11 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
</dependency>
<dependency>
<groupId>org.apache.karaf</groupId>
@@ -165,7 +165,7 @@
org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**,
<!-- ServiceTracker -->
- org.osgi.compendium;inline=org/osgi/util/tracker/*,
+ osgi.cmpn;inline=org/osgi/util/tracker/*,
<!-- File Upload -->
commons-fileupload,
diff --git a/webconsole/features/pom.xml b/webconsole/features/pom.xml
index ad98276..64db949 100644
--- a/webconsole/features/pom.xml
+++ b/webconsole/features/pom.xml
@@ -40,12 +40,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/webconsole/gogo/pom.xml b/webconsole/gogo/pom.xml
index 01c4d40..55722b7 100644
--- a/webconsole/gogo/pom.xml
+++ b/webconsole/gogo/pom.xml
@@ -40,12 +40,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
diff --git a/webconsole/http/pom.xml b/webconsole/http/pom.xml
index c1ce408..b74db80 100644
--- a/webconsole/http/pom.xml
+++ b/webconsole/http/pom.xml
@@ -40,12 +40,12 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/webconsole/instance/pom.xml b/webconsole/instance/pom.xml
index a81c205..92dd227 100644
--- a/webconsole/instance/pom.xml
+++ b/webconsole/instance/pom.xml
@@ -45,12 +45,12 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>osgi.cmpn</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/wrapper/pom.xml b/wrapper/pom.xml
index 7746be9..5cdc7c4 100644
--- a/wrapper/pom.xml
+++ b/wrapper/pom.xml
@@ -44,7 +44,7 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.karaf</groupId>