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 2020/10/20 08:22:39 UTC
[karaf] branch karaf-4.2.x updated: [KARAF-3467] Add Karaf BoM
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch karaf-4.2.x
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/karaf-4.2.x by this push:
new 2b14985 [KARAF-3467] Add Karaf BoM
new c0ceef9 Merge pull request #1240 from jbonofre/BOM_42
2b14985 is described below
commit 2b1498562daa72c4552dc22a633f28929db6ffc8
Author: jbonofre <jb...@apache.org>
AuthorDate: Mon Oct 19 16:53:14 2020 +0200
[KARAF-3467] Add Karaf BoM
---
assemblies/apache-karaf-minimal/pom.xml | 12 +
assemblies/apache-karaf/pom.xml | 12 +
assemblies/features/base/pom.xml | 12 +
assemblies/features/enterprise-legacy/pom.xml | 12 +
assemblies/features/enterprise/pom.xml | 12 +
assemblies/features/framework/pom.xml | 12 +
assemblies/features/spring-legacy/pom.xml | 12 +
assemblies/features/spring/pom.xml | 12 +
assemblies/features/standard/pom.xml | 12 +
assemblies/features/static/pom.xml | 12 +
assemblies/test-cxf/pom.xml | 147 --
audit/pom.xml | 12 +
pom.xml => bom/pom.xml | 1033 +-------------
bundle/blueprintstate/pom.xml | 12 +
bundle/core/pom.xml | 12 +
bundle/springstate/pom.xml | 12 +
client/pom.xml | 12 +
config/pom.xml | 12 +
deployer/blueprint/pom.xml | 12 +
deployer/features/pom.xml | 12 +
deployer/kar/pom.xml | 12 +
deployer/spring/pom.xml | 12 +
deployer/wrap/pom.xml | 12 +
diagnostic/boot/pom.xml | 12 +
diagnostic/core/pom.xml | 12 +
docker/pom.xml | 12 +
event/.gitignore | 1 -
event/pom.xml | 12 +
.../karaf-bundle-example-client/pom.xml | 12 +
.../karaf-bundle-example-provider/pom.xml | 12 +
.../karaf-camel-example-java/pom.xml | 12 +
.../karaf-command-example-command/pom.xml | 12 +
.../karaf-command-example-provider/pom.xml | 12 +
examples/karaf-deployer-example/pom.xml | 12 +
.../karaf-docker-example-app/pom.xml | 12 +
.../karaf-docker-example-dynamic-dist/pom.xml | 12 +
.../karaf-docker-example-static-dist/pom.xml | 12 +
examples/karaf-dump-example/pom.xml | 12 +
examples/karaf-itest-example/pom.xml | 12 +
.../karaf-jaas-example-app/pom.xml | 12 +
.../karaf-jdbc-example-command/pom.xml | 12 +
.../karaf-jdbc-example-provider/pom.xml | 12 +
.../karaf-jms-example-command/pom.xml | 12 +
.../karaf-jpa-example-command/pom.xml | 12 +
.../pom.xml | 12 +
.../pom.xml | 12 +
.../karaf-jpa-example-provider-ds-openjpa/pom.xml | 12 +
.../karaf-log-appender-example-core/pom.xml | 12 +
.../karaf-maven-example-run-bundle/pom.xml | 12 +
.../karaf-mbean-example-provider/pom.xml | 12 +
.../karaf-mbean-example-simple/pom.xml | 12 +
.../karaf-profile-example-dynamic/pom.xml | 12 +
.../karaf-profile-example-static/pom.xml | 12 +
.../karaf-rest-example-client-cxf/pom.xml | 12 +
.../karaf-rest-example-client-http/pom.xml | 12 +
.../karaf-rest-example-scr/pom.xml | 12 +
.../karaf-soap-example-client/pom.xml | 12 +
.../karaf-soap-example-scr/pom.xml | 12 +
features/command/pom.xml | 12 +
features/core/pom.xml | 12 +
features/extension/pom.xml | 12 +
http/pom.xml | 12 +
instance/pom.xml | 12 +
itests/common/pom.xml | 12 +
itests/test/pom.xml | 12 +
jaas/blueprint/config/pom.xml | 12 +
jaas/blueprint/jasypt/pom.xml | 12 +
jaas/boot/pom.xml | 12 +
jaas/command/pom.xml | 12 +
jaas/config/pom.xml | 12 +
jaas/jasypt/pom.xml | 12 +
jaas/modules/pom.xml | 12 +
jdbc/pom.xml | 12 +
jms/pom.xml | 12 +
jndi/pom.xml | 12 +
jpa/hibernate/pom.xml | 12 +
kar/pom.xml | 12 +
log/pom.xml | 12 +
main/pom.xml | 12 +
management/server/pom.xml | 12 +
maven/core/pom.xml | 12 +
obr/pom.xml | 12 +
package/pom.xml | 12 +
pom.xml | 1442 +-------------------
profile/pom.xml | 12 +
scheduler/pom.xml | 12 +
scr/examples/README | 23 -
scr/examples/component-factory/pom.xml | 79 --
.../factories/GreeterServiceComponentFactory.java | 28 -
.../component/GreeterServiceFactoryManager.java | 103 --
.../impl/GreeterServiceComponentFactoryImpl.java | 148 --
.../src/main/resources/OSGI-INF/bundle.info | 28 -
scr/examples/managed-service/pom.xml | 79 --
.../managed/service/ManagedGreeterService.java | 28 -
.../service/component/ManagedGreeterComponent.java | 93 --
.../service/impl/ManagedGreeterServiceImpl.java | 171 ---
.../src/main/resources/OSGI-INF/bundle.info | 28 -
scr/examples/pom.xml | 41 -
scr/examples/service/pom.xml | 79 --
.../karaf/scr/examples/service/GreeterService.java | 26 -
.../service/component/GreeterComponent.java | 63 -
.../examples/service/impl/GreeterServiceImpl.java | 46 -
.../src/main/resources/OSGI-INF/bundle.info | 28 -
scr/management/pom.xml | 12 +
scr/pom.xml | 1 -
scr/state/pom.xml | 12 +
service/core/pom.xml | 12 +
service/guard/pom.xml | 12 +
services/coordinator/pom.xml | 12 +
services/eventadmin/pom.xml | 12 +
services/staticcm/pom.xml | 12 +
shell/commands/pom.xml | 12 +
shell/console/pom.xml | 12 +
shell/core/pom.xml | 12 +
shell/ssh/pom.xml | 14 +-
shell/table/pom.xml | 12 +
specs/activator/pom.xml | 14 +
specs/java.xml.ws/pom.xml | 13 +
specs/java.xml/pom.xml | 14 +
specs/locator/pom.xml | 14 +
subsystem/pom.xml | 12 +
system/pom.xml | 12 +
tooling/karaf-maven-plugin/pom.xml | 12 +
tooling/karaf-services-maven-plugin/pom.xml | 12 +
tooling/utils/pom.xml | 14 +
util/pom.xml | 12 +
web/pom.xml | 12 +
webconsole/console/pom.xml | 12 +
webconsole/features/pom.xml | 12 +
webconsole/gogo/pom.xml | 12 +
webconsole/http/pom.xml | 12 +
webconsole/instance/pom.xml | 12 +
wrapper/pom.xml | 12 +
133 files changed, 1379 insertions(+), 3679 deletions(-)
diff --git a/assemblies/apache-karaf-minimal/pom.xml b/assemblies/apache-karaf-minimal/pom.xml
index eed5058..3a5f9d9 100644
--- a/assemblies/apache-karaf-minimal/pom.xml
+++ b/assemblies/apache-karaf-minimal/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
diff --git a/assemblies/apache-karaf/pom.xml b/assemblies/apache-karaf/pom.xml
index 79716da..64773d2 100644
--- a/assemblies/apache-karaf/pom.xml
+++ b/assemblies/apache-karaf/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
diff --git a/assemblies/features/base/pom.xml b/assemblies/features/base/pom.xml
index 4a77ba7..37aeee0 100644
--- a/assemblies/features/base/pom.xml
+++ b/assemblies/features/base/pom.xml
@@ -36,6 +36,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
diff --git a/assemblies/features/enterprise-legacy/pom.xml b/assemblies/features/enterprise-legacy/pom.xml
index 7e92263..91bd67c 100644
--- a/assemblies/features/enterprise-legacy/pom.xml
+++ b/assemblies/features/enterprise-legacy/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<!-- Framework distribution -->
diff --git a/assemblies/features/enterprise/pom.xml b/assemblies/features/enterprise/pom.xml
index df31828..0e36cd1 100644
--- a/assemblies/features/enterprise/pom.xml
+++ b/assemblies/features/enterprise/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<!-- Framework distribution -->
diff --git a/assemblies/features/framework/pom.xml b/assemblies/features/framework/pom.xml
index 1b62b19..b7c9e87 100644
--- a/assemblies/features/framework/pom.xml
+++ b/assemblies/features/framework/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
diff --git a/assemblies/features/spring-legacy/pom.xml b/assemblies/features/spring-legacy/pom.xml
index f69be0c..5ee0439 100644
--- a/assemblies/features/spring-legacy/pom.xml
+++ b/assemblies/features/spring-legacy/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<!-- Framework distribution -->
diff --git a/assemblies/features/spring/pom.xml b/assemblies/features/spring/pom.xml
index 250b926..eba4acc 100644
--- a/assemblies/features/spring/pom.xml
+++ b/assemblies/features/spring/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<!-- Framework distribution -->
diff --git a/assemblies/features/standard/pom.xml b/assemblies/features/standard/pom.xml
index 257ba63..4fa39fe 100644
--- a/assemblies/features/standard/pom.xml
+++ b/assemblies/features/standard/pom.xml
@@ -40,6 +40,18 @@
<geronimo.jaspic-spec.version>1.1</geronimo.jaspic-spec.version>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<!-- Framework distribution -->
<dependency>
diff --git a/assemblies/features/static/pom.xml b/assemblies/features/static/pom.xml
index 275de46..7a8aca8 100644
--- a/assemblies/features/static/pom.xml
+++ b/assemblies/features/static/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
diff --git a/assemblies/test-cxf/pom.xml b/assemblies/test-cxf/pom.xml
deleted file mode 100644
index 5524b66..0000000
--- a/assemblies/test-cxf/pom.xml
+++ /dev/null
@@ -1,147 +0,0 @@
-<?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">
-
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.karaf.assemblies</groupId>
- <artifactId>assemblies</artifactId>
- <version>4.1.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.apache.karaf</groupId>
- <artifactId>test-cxf</artifactId>
- <packaging>pom</packaging>
- <name>Apache Karaf :: Assemblies :: Minimal Distribution</name>
-
- <properties>
- <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>static</artifactId>
- <type>kar</type>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>standard</artifactId>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>enterprise</artifactId>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf.karaf</groupId>
- <artifactId>apache-cxf</artifactId>
- <version>3.1.8</version>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-features</artifactId>
- <version>4.4.0</version>
- <classifier>features</classifier>
- <type>xml</type>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>${project.basedir}/../..</directory>
- <filtering>false</filtering>
- <includes>
- <include>README.md</include>
- <include>BUILDING.md</include>
- <include>RELEASE*</include>
- <include>LICENSE</include>
- <include>NOTICE</include>
- </includes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>process-resources</id>
- <goals>
- <goal>resources</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.karaf.tooling</groupId>
- <artifactId>karaf-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>process-resources</id>
- <phase>process-resources</phase>
- <goals>
- <goal>assembly</goal>
- </goals>
- </execution>
- <execution>
- <id>package</id>
- <goals>
- <goal>archive</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <startupFeatures>
- <feature>cxf-jaxws</feature>
- <feature>cxf-jaxrs</feature>
- <feature>httplite</feature>
- <feature>shell</feature>
- <feature>bundle</feature>
- </startupFeatures>
- <javase>1.8</javase>
- <blacklistedBundles>
- <bundle>mvn:javax.mail/mail/1.4.4</bundle>
- <bundle>mvn:javax.servlet/javax.servlet-api/3.1.0</bundle>
- <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.11_1</bundle>
- <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc/2.2.11_1</bundle>
- </blacklistedBundles>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-
-</project>
diff --git a/audit/pom.xml b/audit/pom.xml
index 62ebb7e..55ddac9 100644
--- a/audit/pom.xml
+++ b/audit/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/pom.xml b/bom/pom.xml
similarity index 57%
copy from pom.xml
copy to bom/pom.xml
index 7283f8c..7f22126 100644
--- a/pom.xml
+++ b/bom/pom.xml
@@ -22,359 +22,15 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache</groupId>
- <artifactId>apache</artifactId>
- <version>23</version>
- <relativePath />
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf</artifactId>
+ <version>4.2.11-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
</parent>
- <groupId>org.apache.karaf</groupId>
- <artifactId>karaf</artifactId>
+ <artifactId>karaf-bom</artifactId>
+ <name>Apache Karaf :: BOM</name>
<packaging>pom</packaging>
- <version>4.2.11-SNAPSHOT</version>
- <name>Apache Karaf</name>
- <inceptionYear>2007</inceptionYear>
-
- <modules>
- <module>util</module>
- <module>main</module>
- <module>features</module>
- <module>kar</module>
- <module>bundle</module>
- <module>config</module>
- <module>instance</module>
- <module>package</module>
- <module>http</module>
- <module>service</module>
- <module>log</module>
- <module>deployer</module>
- <module>shell</module>
- <module>jaas</module>
- <module>client</module>
- <module>management</module>
- <module>system</module>
- <module>web</module>
- <module>wrapper</module>
- <module>webconsole</module>
- <module>scheduler</module>
- <module>scr</module>
- <module>diagnostic</module>
- <module>obr</module>
- <module>docker</module>
- <module>jndi</module>
- <module>jdbc</module>
- <module>jms</module>
- <module>jpa</module>
- <module>maven</module>
- <module>services</module>
- <module>audit</module>
- <module>subsystem</module>
- <module>profile</module>
- <module>event</module>
- <module>tooling</module>
- <module>manual</module>
- <module>specs</module>
- <module>assemblies</module>
- <module>examples</module>
- <module>archetypes</module>
- <module>itests</module>
- </modules>
-
- <scm>
- <connection>scm:git:https://gitbox.apache.org/repos/asf/karaf.git</connection>
- <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/karaf.git</developerConnection>
- <url>https://gitbox.apache.org/repos/asf?p=karaf.git;a=summary</url>
- <tag>HEAD</tag>
- </scm>
-
- <issueManagement>
- <system>jira</system>
- <url>https://issues.apache.org/jira/browse/KARAF</url>
- </issueManagement>
-
- <mailingLists>
- <mailingList>
- <name>Karaf Dev</name>
- <subscribe>dev-subscribe@karaf.apache.org</subscribe>
- <unsubscribe>dev-unsubscribe@karaf.apache.org</unsubscribe>
- <post>-</post>
- <archive>https://www.mail-archive.com/dev%40karaf.apache.org/</archive>
- </mailingList>
- <mailingList>
- <name>Karaf User</name>
- <subscribe>user-subscribe@karaf.apache.org</subscribe>
- <unsubscribe>user-unsubscribe@karaf.apache.org</unsubscribe>
- <post>-</post>
- <archive>https://www.mail-archive.com/user%40karaf.apache.org/</archive>
- </mailingList>
- <mailingList>
- <name>Karaf Commits</name>
- <subscribe>commits-subscribe@karaf.apache.org</subscribe>
- <unsubscribe>commits-unsubscribe@karaf.apache.org</unsubscribe>
- <post>-</post>
- <archive>https://www.mail-archive.com/commits%40karaf.apache.org/</archive>
- </mailingList>
- <mailingList>
- <name>Karaf Issues</name>
- <subscribe>issues-subscribe@karaf.apache.org</subscribe>
- <unsubscribe>issues-unsubscribe@karaf.apache.org</unsubscribe>
- <post>-</post>
- <archive>https://www.mail-archive.com/issues%40karaf.apache.org/</archive>
- </mailingList>
- </mailingLists>
-
- <developers>
- <developer>
- <name>The Apache Karaf Team</name>
- <email>dev@karaf.apache.org</email>
- <url>http://karaf.apache.org</url>
- <organization>Apache Software Foundation</organization>
- <organizationUrl>http://apache.org/</organizationUrl>
- <properties>
- <picUrl>http://karaf.apache.org/images/karaf-logo.png</picUrl>
- </properties>
- </developer>
- </developers>
-
- <properties>
- <activemq.version>5.15.11</activemq.version>
- <aopalliance.bundle.version>1.0_6</aopalliance.bundle.version>
- <aspectj.bundle.version>1.9.5_1</aspectj.bundle.version>
- <ant.bundle.version>1.10.8_1</ant.bundle.version>
- <antlr.bundle.version>2.7.7_5</antlr.bundle.version>
- <asm6.version>6.2.1</asm6.version>
- <asm.version>9.0</asm.version>
- <javax.annotation.version>1.3.1</javax.annotation.version>
- <awaitility.version>3.1.6</awaitility.version>
- <camel.version>3.5.0</camel.version>
- <cglib.bundle.version>3.2.9_1</cglib.bundle.version>
- <cxf.version>3.3.5</cxf.version>
- <jackson.version>2.10.5</jackson.version>
- <jna.version>5.6.0</jna.version>
- <jaxb.version>2.3.3</jaxb.version>
- <commons-beanutils.version>1.9.4</commons-beanutils.version>
- <commons-codec.version>1.14</commons-codec.version>
- <commons-compress.version>1.20</commons-compress.version>
- <commons-collections.version>3.2.2</commons-collections.version>
- <commons-dbcp.version>1.4_3</commons-dbcp.version>
- <commons-fileupload.version>1.4</commons-fileupload.version>
- <commons-lang.version>2.6</commons-lang.version>
- <commons-lang3.version>3.11</commons-lang3.version>
- <commons-logging.version>1.2</commons-logging.version>
- <commons-pool.version>1.6</commons-pool.version>
- <commons-pool2.version>2.6.2</commons-pool2.version>
- <commons-io.version>2.8.0</commons-io.version>
- <dom4j.bundle.version>1.6.1_5</dom4j.bundle.version>
- <eclipselink.version>2.7.7</eclipselink.version>
- <jasypt.bundle.version>1.9.3_1</jasypt.bundle.version>
- <jolokia.version>1.6.2</jolokia.version>
- <serp.bundle.version>1.15.1_1</serp.bundle.version>
- <servlet.spec.groupId>javax.servlet</servlet.spec.groupId>
- <servlet.spec.artifactId>javax.servlet-api</servlet.spec.artifactId>
- <servlet.spec.version>3.1.0</servlet.spec.version>
-
- <geronimo.jms-spec.version>1.1.1</geronimo.jms-spec.version>
- <geronimo.jpa-spec.version>1.1</geronimo.jpa-spec.version>
- <geronimo.jta-spec.version>1.1.1</geronimo.jta-spec.version>
-
- <servicemix-spec.version>2.9.0</servicemix-spec.version>
-
- <easymock.version>4.2</easymock.version>
- <objenesis.version>2.6</objenesis.version>
- <equinox.groupId>org.eclipse.platform</equinox.groupId>
- <equinox.artifactId>org.eclipse.osgi</equinox.artifactId>
- <equinox.version>3.12.100</equinox.version>
- <bndlib.version>3.5.0</bndlib.version>
- <equinox.region.version>1.2.101.v20150831-1342</equinox.region.version>
- <equinox.coordinator.version>1.1.0.v20120522-1841</equinox.coordinator.version>
-
- <felix.bundlerepository.version>2.0.10</felix.bundlerepository.version>
- <felix.configadmin.version>1.9.18</felix.configadmin.version>
- <felix.connect.version>0.2.0</felix.connect.version>
- <felix.coordinator.version>1.0.2</felix.coordinator.version>
- <felix.fileinstall.version>3.6.8</felix.fileinstall.version>
- <felix.framework.version>5.6.12</felix.framework.version>
- <felix.framework.security.version>2.6.1</felix.framework.security.version>
- <felix.gogo.runtime.version>1.1.4</felix.gogo.runtime.version>
- <felix.gogo.jline.version>1.1.6</felix.gogo.jline.version>
- <felix.httplite.version>0.1.6</felix.httplite.version>
- <felix.http.version>4.1.2</felix.http.version>
- <felix.inventory.version>1.0.6</felix.inventory.version>
- <felix.plugin.version>5.1.1</felix.plugin.version>
- <felix.utils.version>1.11.4</felix.utils.version>
- <felix.webconsole.version>4.5.4</felix.webconsole.version>
- <felix.webconsole.api.version>3.3.0</felix.webconsole.api.version>
- <felix.memoryusage.webconsole.plugin.version>1.0.10</felix.memoryusage.webconsole.plugin.version>
- <felix.metatype.version>1.2.2</felix.metatype.version>
- <felix.eventadmin.version>1.5.0</felix.eventadmin.version>
- <felix.eventadmin.webconsole.plugin.version>1.1.8</felix.eventadmin.webconsole.plugin.version>
- <felix.obr.version>1.0.2</felix.obr.version>
- <felix.scr.version>2.1.24</felix.scr.version>
- <felix.scr.webconsole.plugin.version>2.1.0</felix.scr.webconsole.plugin.version>
- <felix.scr.annotation.version>1.12.0</felix.scr.annotation.version>
- <felix.resolver.version>1.16.0</felix.resolver.version>
-
- <aries.application.version>1.0.0</aries.application.version>
- <aries.application.api.version>1.0.0</aries.application.api.version>
- <aries.application.management.version>1.0.0</aries.application.management.version>
- <aries.blueprint.api.version>1.0.1</aries.blueprint.api.version>
- <aries.blueprint.core.version>1.10.2</aries.blueprint.core.version>
- <aries.blueprint.core.compatibility.version>1.0.0</aries.blueprint.core.compatibility.version>
- <aries.blueprint.cm.version>1.3.1</aries.blueprint.cm.version>
- <aries.blueprint.web.version>1.1.1</aries.blueprint.web.version>
- <aries.blueprint.webosgi.version>1.0.1</aries.blueprint.webosgi.version>
- <aries.blueprint.spring.version>0.6.0</aries.blueprint.spring.version>
- <aries.blueprint.spring.extender.version>0.4.0</aries.blueprint.spring.extender.version>
- <aries.jmx.api.version>1.1.5</aries.jmx.api.version>
- <aries.jmx.core.version>1.1.8</aries.jmx.core.version>
- <aries.jmx.blueprint.api.version>1.2.0</aries.jmx.blueprint.api.version>
- <aries.jmx.blueprint.core.version>1.2.0</aries.jmx.blueprint.core.version>
- <aries.jmx.whiteboard.version>1.2.0</aries.jmx.whiteboard.version>
- <aries.jpa.version>2.7.2</aries.jpa.version>
- <aries.jpa.blueprint.aries.version>1.0.4</aries.jpa.blueprint.aries.version>
- <aries.jpa.container.context.version>1.0.4</aries.jpa.container.context.version>
- <aries.jndi.version>1.0.0</aries.jndi.version>
- <aries.jndi.api.version>1.1.0</aries.jndi.api.version>
- <aries.jndi.core.version>1.0.2</aries.jndi.core.version>
- <aries.jndi.url.version>1.1.0</aries.jndi.url.version>
- <aries.proxy.version>1.1.8</aries.proxy.version>
- <aries.proxy.api.version>1.1.1</aries.proxy.api.version>
- <aries.spifly.version>1.3.2</aries.spifly.version>
- <aries.subsystem.api.version>2.0.10</aries.subsystem.api.version>
- <aries.subsystem.core.version>2.0.10</aries.subsystem.core.version>
- <aries.transaction.manager.version>1.3.3</aries.transaction.manager.version>
- <aries.transaction.blueprint.version>1.1.1</aries.transaction.blueprint.version>
- <aries.transaction.blueprint.version2>2.2.0</aries.transaction.blueprint.version2>
- <aries.util.version>1.1.3</aries.util.version>
- <atomikos.version>4.0.4</atomikos.version>
-
- <openjpa.version>3.1.1</openjpa.version>
- <geronimo.transaction.manager.version>3.1.3</geronimo.transaction.manager.version>
- <guava.version>20.0</guava.version>
- <narayana.version>5.10.6.Final</narayana.version>
- <hibernate.annotations.common.version>3.3.0.ga</hibernate.annotations.common.version>
- <hibernate.annotations.version>3.4.0.GA</hibernate.annotations.version>
- <hibernate.ejb.version>3.4.0.GA</hibernate.ejb.version>
- <hibernate3.version>3.3.2.GA</hibernate3.version>
- <hibernate42.version>4.2.15.Final</hibernate42.version>
- <hibernate43.version>4.3.6.Final</hibernate43.version>
- <hibernate52.version>5.2.18.Final</hibernate52.version>
- <hibernate.version>5.4.22.Final</hibernate.version>
- <hibernate.validator.version>6.1.6.Final</hibernate.validator.version>
- <httpclient.version>4.5.6</httpclient.version>
- <jansi.version>1.18</jansi.version>
- <javassist.version>3.9.0.GA</javassist.version>
- <jetty.version>9.4.31.v20200723</jetty.version>
- <jline.version>3.16.0</jline.version>
- <junit.version>4.13.1</junit.version>
- <jsw.version>3.2.3</jsw.version>
- <log4j.version>1.2.17</log4j.version>
- <maven.version>3.6.3</maven.version>
- <maven.wagon.version>3.2.0</maven.wagon.version>
- <maven-plugin-annotations.version>3.6.0</maven-plugin-annotations.version>
- <maven.resolver.version>1.3.1</maven.resolver.version>
- <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>6.0.0</osgi.compendium.version>
-
- <pax.cdi.version>1.1.3</pax.cdi.version>
- <pax.exam.version>4.13.4</pax.exam.version>
- <pax.logging.version>1.11.7</pax.logging.version>
- <pax.base.version>1.5.1</pax.base.version>
- <pax.swissbox.version>1.8.3</pax.swissbox.version>
- <pax.url.version>2.6.2</pax.url.version>
- <pax.web.version>7.2.19</pax.web.version>
- <pax.tinybundle.version>3.0.0</pax.tinybundle.version>
- <pax.jdbc.version>1.4.4</pax.jdbc.version>
- <pax.jms.version>1.0.7</pax.jms.version>
- <pax.transx.version>0.4.4</pax.transx.version>
-
- <portlet-api.version>2.0</portlet-api.version>
- <slf4j.version>1.7.29</slf4j.version>
-
- <spring.osgi.version>1.2.1</spring.osgi.version>
- <spring31.version>3.1.4.RELEASE</spring31.version>
- <spring32.version>3.2.18.RELEASE_1</spring32.version>
- <spring40.version>4.0.9.RELEASE_1</spring40.version>
- <spring41.version>4.1.9.RELEASE_1</spring41.version>
- <spring42.version>4.2.9.RELEASE_1</spring42.version>
- <spring43.version>4.3.29.RELEASE_1</spring43.version>
- <spring50.version>5.0.15.RELEASE_1</spring50.version>
- <spring51.version>5.1.18.RELEASE_1</spring51.version>
- <spring52.version>5.2.9.RELEASE_1</spring52.version>
- <spring.security31.version>3.1.4.RELEASE</spring.security31.version>
- <spring.security42.version>4.2.4.RELEASE_1</spring.security42.version>
- <spring.security51.version>5.1.5.RELEASE_1</spring.security51.version>
- <spring.security53.version>5.3.1.RELEASE_1</spring.security53.version>
-
- <sshd.version>2.5.1</sshd.version>
- <derby-version>10.14.2.0</derby-version>
- <directory-version>2.0.0-M24</directory-version>
- <struts.bundle.version>1.3.10_1</struts.bundle.version>
- <xbean.version>4.18</xbean.version>
- <xerces.bundle.version>2.12.0_1</xerces.bundle.version>
- <xalan.bundle.version>2.7.2_3</xalan.bundle.version>
- <xalan-serializer.bundle.version>2.7.2_1</xalan-serializer.bundle.version>
- <javax.mail.version>1.4.7</javax.mail.version>
-
- <websocket.version>1.1</websocket.version>
- <winsw.version>2.3.0</winsw.version>
-
-
- <surefire.argLine />
-
- <!-- Further used maven plugin versions; e.g. in the docs -->
- <plugin.depends.version>1.4.0</plugin.depends.version>
-
- <!-- General Settings -->
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <appendedResourcesDirectory>${basedir}/etc/appended-resources</appendedResourcesDirectory>
- <bnd.version.policy>[$(version;==;$(@)),$(version;+;$(@)))</bnd.version.policy>
- <!-- Disable OBR repository update by default -->
- <obrRepository>NONE</obrRepository>
- </properties>
-
- <repositories>
- <!-- Apache snapshots -->
- <repository>
- <id>apache-snapshots</id>
- <name>Apache Snapshots Repository</name>
- <url>http://repository.apache.org/content/groups/snapshots-group</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <!-- OPS4J SNAPSHOT repository -->
- <repository>
- <id>ops4j.sonatype.snapshots.deploy</id>
- <name>OPS4J snapshot repository</name>
- <url>https://oss.sonatype.org/content/repositories/ops4j-snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <!-- Apache snapshots -->
- <pluginRepository>
- <id>apache-snapshots</id>
- <name>Apache Snapshots Repository</name>
- <url>http://repository.apache.org/content/groups/snapshots-group</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
<dependencyManagement>
<dependencies>
@@ -756,11 +412,11 @@
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>enterprise</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- <version>${project.version}</version>
+ <groupId>org.apache.karaf.features</groupId>
+ <artifactId>enterprise</artifactId>
+ <type>xml</type>
+ <classifier>features</classifier>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.karaf.features</groupId>
@@ -768,37 +424,37 @@
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>framework</artifactId>
- <type>kar</type>
- <version>${project.version}</version>
+ <groupId>org.apache.karaf.features</groupId>
+ <artifactId>framework</artifactId>
+ <type>kar</type>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>framework</artifactId>
- <classifier>features</classifier>
- <type>xml</type>
- <version>${project.version}</version>
+ <groupId>org.apache.karaf.features</groupId>
+ <artifactId>framework</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>static</artifactId>
- <type>kar</type>
- <version>${project.version}</version>
+ <groupId>org.apache.karaf.features</groupId>
+ <artifactId>static</artifactId>
+ <type>kar</type>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>spring</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- <version>${project.version}</version>
+ <groupId>org.apache.karaf.features</groupId>
+ <artifactId>spring</artifactId>
+ <type>xml</type>
+ <classifier>features</classifier>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>standard</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- <version>${project.version}</version>
+ <groupId>org.apache.karaf.features</groupId>
+ <artifactId>standard</artifactId>
+ <type>xml</type>
+ <classifier>features</classifier>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.karaf.itests</groupId>
@@ -1637,7 +1293,7 @@
<artifactId>org.apache.aries.subsystem.api</artifactId>
<version>${aries.subsystem.api.version}</version>
</dependency>
-
+
<dependency>
<groupId>org.apache.aries.subsystem</groupId>
<artifactId>org.apache.aries.subsystem.core</artifactId>
@@ -1814,621 +1470,4 @@
</dependencies>
</dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- <scope>test</scope>
- </dependency>
-
-
-
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.8.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.6</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>3.2.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.2.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <version>1.7.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>3.0.0-M1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.10</version>
- <configuration>
- <outputDirectory>${basedir}/eclipse-classes</outputDirectory>
- <downloadSources>true</downloadSources>
- <downloadJavadocs>true</downloadJavadocs>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.5.3</version>
- <configuration>
- <useReleaseProfile>false</useReleaseProfile>
- <preparationGoals>clean install</preparationGoals>
- <goals>deploy</goals>
- <arguments>-Prelease,deploy,src</arguments>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-idea-plugin</artifactId>
- <version>2.2.1</version>
- <configuration>
- <downloadSources>true</downloadSources>
- <downloadJavadocs>true</downloadJavadocs>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.2</version>
- <configuration>
- <forkMode>once</forkMode>
- <argLine>${surefire.argLine}</argLine>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>3.1.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>depends-maven-plugin</artifactId>
- <version>${plugin.depends.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>3.2.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>3.0.0</version>
- <dependencies>
- <dependency>
- <groupId>ant-contrib</groupId>
- <artifactId>ant-contrib</artifactId>
- <version>1.0b3</version>
- <exclusions>
- <exclusion>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-nodeps</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant-optional</artifactId>
- <version>1.5.3-1</version>
- </dependency>
- <dependency>
- <groupId>org.ccil.cowan.tagsoup</groupId>
- <artifactId>tagsoup</artifactId>
- <version>1.2.1</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.6.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.2</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>3.1.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.9.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.2.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.karaf.tooling</groupId>
- <artifactId>karaf-maven-plugin</artifactId>
- <version>${project.version}</version>
- </plugin>
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <versionRange>[0,)</versionRange>
- <goals>
- <goal>cleanVersions</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <versionRange>[0,)</versionRange>
- <goals>
- <goal>copy</goal>
- <goal>unpack</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.karaf.tooling</groupId>
- <artifactId>karaf-maven-plugin</artifactId>
- <versionRange>[0,)</versionRange>
- <goals>
- <goal>commands-generate-help</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.fusesource.scalate</groupId>
- <artifactId>maven-scalate-plugin</artifactId>
- <versionRange>[0,)</versionRange>
- <goals>
- <goal>sitegen</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.karaf.tooling</groupId>
- <artifactId>karaf-services-maven-plugin</artifactId>
- <version>${project.version}</version>
- <executions>
- <execution>
- <id>service-metadata-generate</id>
- <phase>process-classes</phase>
- <goals>
- <goal>service-metadata-generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <maxmem>256M</maxmem>
- <fork>${compiler.fork}</fork>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireMavenVersion>
- <version>[3.3.9,4)</version>
- </requireMavenVersion>
- <requireJavaVersion>
- <version>[1.8,)</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>process</goal>
- </goals>
- <configuration>
- <appendedResourcesDirectory>${appendedResourcesDirectory}</appendedResourcesDirectory>
- <resourceBundles>
- <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
- </resourceBundles>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>${felix.plugin.version}</version>
- <inherited>true</inherited>
- <extensions>true</extensions>
- <configuration>
- <obrRepository>NONE</obrRepository>
- <instructions>
- <nsh_interface>org.apache.aries.blueprint.NamespaceHandler</nsh_interface>
- <nsh_namespace>osgi.service.blueprint.namespace</nsh_namespace>
- <_removeheaders>Private-Package,Include-Resource,Embed-Dependency,Created-By,Bnd-LastModified,Built-By,Tool</_removeheaders>
- <_versionpolicy>${bnd.version.policy}</_versionpolicy>
- <Bundle-DocURL>http://karaf.apache.org/</Bundle-DocURL>
- </instructions>
- </configuration>
- <executions>
- <execution>
- <id>cleanVersions</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>cleanVersions</goal>
- </goals>
- <configuration>
- <versions>
- <karaf.osgi.version>${project.version}</karaf.osgi.version>
- </versions>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>3.1.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- <version>3.0.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.8.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.22.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>3.0.0</version>
- </plugin>
- </plugins>
- </reporting>
-
- <profiles>
- <profile>
- <id>fastinstall</id>
- <properties>
- <maven.test.skip>true</maven.test.skip>
- <invoker.skip>true</invoker.skip>
- <archetype.test.skip>true</archetype.test.skip>
- </properties>
- </profile>
- <profile>
- <id>rat</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>0.13</version>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
- <excludeSubProjects>false</excludeSubProjects>
- <excludes>
- <exclude>**/*.pub</exclude>
- <exclude>**/target/**/*</exclude>
- <!-- GIT files -->
- <exclude>**/.git/**/*</exclude>
- <!-- IDEA files -->
- <exclude>**/.idea/**/*</exclude>
- <exclude>**/*.iml</exclude>
- <exclude>**/*.ipr</exclude>
- <exclude>**/*.iws</exclude>
- <!-- Eclipse files -->
- <exclude>**/.*</exclude>
- <exclude>**/eclipse-classes/**/*</exclude>
- <exclude>**/dependency-reduced-pom.xml</exclude>
- <exclude>**/.settings/**</exclude>
- <exclude>**/bin/**</exclude>
- <!-- resources file -->
- <exclude>**/goal.txt</exclude>
- <exclude>**/grep.txt</exclude>
- <exclude>**/edit.txt</exclude>
- <exclude>**/wc.txt</exclude>
- <exclude>**/foo</exclude>
- <exclude>**/org.ops4j.pax.exam.TestContainerFactory</exclude>
- <exclude>**/maven-metadata-local.xml</exclude>
- <!-- jline -->
- <exclude>**/src/main/java/jline/**/*.java</exclude>
- <!-- test manifests -->
- <exclude>**/*.mf</exclude>
- <!-- test json files -->
- <exclude>**/*.json</exclude>
- <!-- test wiring resource files -->
- <exclude>**/src/test/resources/wirings/*</exclude>
- <!-- SSH keys -->
- <exclude>**/*.key</exclude>
- <exclude>**/*.id_rsa</exclude>
- <!-- For Jenkins, ignore the .repository -->
- <exclude>.repository/**</exclude>
- <!-- jar files -->
- <exclude>**/*.jar</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>release</id>
- <modules>
- <module>manual</module>
- </modules>
- <build>
- <plugins>
- <!-- We want to deploy the artifact to a staging location for perusal -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <inherited>true</inherited>
- <configuration>
- <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
- <updateReleaseInfo>true</updateReleaseInfo>
- </configuration>
- </plugin>
- <!-- We want to sign the artifact, the POM, and all attached artifacts -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <executions>
- <execution>
- <id>sign-artifacts</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- <configuration>
- <gpgArguments>
- <arg>--pinentry-mode</arg>
- <arg>loopback</arg>
- </gpgArguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>none</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-assemblies</id>
- <phase>none</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>setup.eclipse</id>
- <modules>
- <module>assembly</module>
- </modules>
- <properties>
- <eclipse.workspace.dir>${basedir}/../workspace</eclipse.workspace.dir>
- </properties>
- <build>
- <defaultGoal>eclipse:eclipse</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <inherited>false</inherited>
- <executions>
- <execution>
- <id>setup.eclipse.workspace</id>
- <phase>process-test-sources</phase>
- <goals>
- <goal>add-maven-repo</goal>
- </goals>
- <configuration>
- <workspace>${eclipse.workspace.dir}</workspace>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>deploy</id>
- <properties>
- <createSourcesJar>true</createSourcesJar>
- </properties>
- <build>
- <defaultGoal>deploy</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <source>1.8</source>
- </configuration>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <additionalparam>${javadoc.opts}</additionalparam>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>doclint-java8-disable</id>
- <activation>
- <jdk>[1.8,)</jdk>
- </activation>
- <properties>
- <javadoc.opts>-Xdoclint:none</javadoc.opts>
- </properties>
- </profile>
- <profile>
- <id>java9-plus</id>
- <properties>
- <surefire.argLine>
- --add-opens java.base/java.security=ALL-UNNAMED
- --add-opens java.base/java.net=ALL-UNNAMED
- --add-opens java.base/java.lang=ALL-UNNAMED
- --add-opens java.base/java.util=ALL-UNNAMED
- --add-opens java.naming/javax.naming.spi=ALL-UNNAMED
- --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED
- </surefire.argLine>
- </properties>
- <activation>
- <jdk>[9,)</jdk>
- </activation>
- </profile>
- </profiles>
-</project>
+</project>
\ No newline at end of file
diff --git a/bundle/blueprintstate/pom.xml b/bundle/blueprintstate/pom.xml
index 5eee14f..7c721c5 100644
--- a/bundle/blueprintstate/pom.xml
+++ b/bundle/blueprintstate/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/bundle/core/pom.xml b/bundle/core/pom.xml
index 5b22514..b28bbcd 100644
--- a/bundle/core/pom.xml
+++ b/bundle/core/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/bundle/springstate/pom.xml b/bundle/springstate/pom.xml
index c9d314d..588dccb 100644
--- a/bundle/springstate/pom.xml
+++ b/bundle/springstate/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/client/pom.xml b/client/pom.xml
index 11e9b82..f5f03dd 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.jline</groupId>
diff --git a/config/pom.xml b/config/pom.xml
index fb71889..837bae1 100644
--- a/config/pom.xml
+++ b/config/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/deployer/blueprint/pom.xml b/deployer/blueprint/pom.xml
index 16ae868..e110375 100644
--- a/deployer/blueprint/pom.xml
+++ b/deployer/blueprint/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf</groupId>
diff --git a/deployer/features/pom.xml b/deployer/features/pom.xml
index f0bd316..8bc6f1a 100644
--- a/deployer/features/pom.xml
+++ b/deployer/features/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf</groupId>
diff --git a/deployer/kar/pom.xml b/deployer/kar/pom.xml
index 3b0be64..e6faad5 100644
--- a/deployer/kar/pom.xml
+++ b/deployer/kar/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/deployer/spring/pom.xml b/deployer/spring/pom.xml
index 5c50c09..621fa2d 100644
--- a/deployer/spring/pom.xml
+++ b/deployer/spring/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf</groupId>
diff --git a/deployer/wrap/pom.xml b/deployer/wrap/pom.xml
index 17a7cb6..d81873e 100644
--- a/deployer/wrap/pom.xml
+++ b/deployer/wrap/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf</groupId>
diff --git a/diagnostic/boot/pom.xml b/diagnostic/boot/pom.xml
index a22c888..60b2a28 100644
--- a/diagnostic/boot/pom.xml
+++ b/diagnostic/boot/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/diagnostic/core/pom.xml b/diagnostic/core/pom.xml
index f7cc3b4..ae92ea2 100644
--- a/diagnostic/core/pom.xml
+++ b/diagnostic/core/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/docker/pom.xml b/docker/pom.xml
index 3a4c8a3..994c5e8 100644
--- a/docker/pom.xml
+++ b/docker/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/event/.gitignore b/event/.gitignore
deleted file mode 100644
index b83d222..0000000
--- a/event/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/target/
diff --git a/event/pom.xml b/event/pom.xml
index e40d03d..b14f108 100644
--- a/event/pom.xml
+++ b/event/pom.xml
@@ -51,6 +51,18 @@
</plugins>
</build>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
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 a24b42e..98863fc 100644
--- a/examples/karaf-bundle-example/karaf-bundle-example-client/pom.xml
+++ b/examples/karaf-bundle-example/karaf-bundle-example-client/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Bundle :: Client</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
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 c720d0e..cb5f544 100644
--- a/examples/karaf-bundle-example/karaf-bundle-example-provider/pom.xml
+++ b/examples/karaf-bundle-example/karaf-bundle-example-provider/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Bundle :: Provider</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-camel-example/karaf-camel-example-java/pom.xml b/examples/karaf-camel-example/karaf-camel-example-java/pom.xml
index c6e7c3a..940f593 100644
--- a/examples/karaf-camel-example/karaf-camel-example-java/pom.xml
+++ b/examples/karaf-camel-example/karaf-camel-example-java/pom.xml
@@ -32,6 +32,18 @@
<packaging>bundle</packaging>
<name>Apache Karaf :: Examples :: Camel :: Java DSL</name>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.camel.karaf</groupId>
diff --git a/examples/karaf-command-example/karaf-command-example-command/pom.xml b/examples/karaf-command-example/karaf-command-example-command/pom.xml
index c448f0b..638ed13 100644
--- a/examples/karaf-command-example/karaf-command-example-command/pom.xml
+++ b/examples/karaf-command-example/karaf-command-example-command/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Shell Command :: Command</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-command-example/karaf-command-example-provider/pom.xml b/examples/karaf-command-example/karaf-command-example-provider/pom.xml
index eb83497..dfb93b7 100644
--- a/examples/karaf-command-example/karaf-command-example-provider/pom.xml
+++ b/examples/karaf-command-example/karaf-command-example-provider/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Shell Command :: Service Provider</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-deployer-example/pom.xml b/examples/karaf-deployer-example/pom.xml
index 60df9ed..bd901fb 100644
--- a/examples/karaf-deployer-example/pom.xml
+++ b/examples/karaf-deployer-example/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Deployer</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/examples/karaf-docker-example/karaf-docker-example-app/pom.xml b/examples/karaf-docker-example/karaf-docker-example-app/pom.xml
index 96b4e02..ad412c2 100644
--- a/examples/karaf-docker-example/karaf-docker-example-app/pom.xml
+++ b/examples/karaf-docker-example/karaf-docker-example-app/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Docker :: Sample Application</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/examples/karaf-docker-example/karaf-docker-example-dynamic-dist/pom.xml b/examples/karaf-docker-example/karaf-docker-example-dynamic-dist/pom.xml
index f2b2394..e89ffdc 100644
--- a/examples/karaf-docker-example/karaf-docker-example-dynamic-dist/pom.xml
+++ b/examples/karaf-docker-example/karaf-docker-example-dynamic-dist/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Docker :: Dynamic Distribution</name>
<packaging>pom</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
diff --git a/examples/karaf-docker-example/karaf-docker-example-static-dist/pom.xml b/examples/karaf-docker-example/karaf-docker-example-static-dist/pom.xml
index 27f240a..3b4545b 100644
--- a/examples/karaf-docker-example/karaf-docker-example-static-dist/pom.xml
+++ b/examples/karaf-docker-example/karaf-docker-example-static-dist/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Docker :: Static Distribution</name>
<packaging>pom</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
diff --git a/examples/karaf-dump-example/pom.xml b/examples/karaf-dump-example/pom.xml
index f0ea57e..80c7f39 100644
--- a/examples/karaf-dump-example/pom.xml
+++ b/examples/karaf-dump-example/pom.xml
@@ -32,6 +32,18 @@
<packaging>bundle</packaging>
<name>Apache Karaf :: Examples :: Dump</name>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/examples/karaf-itest-example/pom.xml b/examples/karaf-itest-example/pom.xml
index 831f298..887e374 100644
--- a/examples/karaf-itest-example/pom.xml
+++ b/examples/karaf-itest-example/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Integration Tests</name>
<packaging>jar</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<!-- Provide the KarafTestSupport -->
<dependency>
diff --git a/examples/karaf-jaas-example/karaf-jaas-example-app/pom.xml b/examples/karaf-jaas-example/karaf-jaas-example-app/pom.xml
index 5c7201d..f9d4d04 100644
--- a/examples/karaf-jaas-example/karaf-jaas-example-app/pom.xml
+++ b/examples/karaf-jaas-example/karaf-jaas-example-app/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: JAAS :: App</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.shell</groupId>
diff --git a/examples/karaf-jdbc-example/karaf-jdbc-example-command/pom.xml b/examples/karaf-jdbc-example/karaf-jdbc-example-command/pom.xml
index 810bb35..df4735a 100644
--- a/examples/karaf-jdbc-example/karaf-jdbc-example-command/pom.xml
+++ b/examples/karaf-jdbc-example/karaf-jdbc-example-command/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: JDBC :: Command</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-jdbc-example/karaf-jdbc-example-provider/pom.xml b/examples/karaf-jdbc-example/karaf-jdbc-example-provider/pom.xml
index 807f419..a140813 100644
--- a/examples/karaf-jdbc-example/karaf-jdbc-example-provider/pom.xml
+++ b/examples/karaf-jdbc-example/karaf-jdbc-example-provider/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: JDBC :: Service Provider</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-jms-example/karaf-jms-example-command/pom.xml b/examples/karaf-jms-example/karaf-jms-example-command/pom.xml
index 31346aa..644e5ca 100644
--- a/examples/karaf-jms-example/karaf-jms-example-command/pom.xml
+++ b/examples/karaf-jms-example/karaf-jms-example-command/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: JMS :: Command</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
diff --git a/examples/karaf-jpa-example/karaf-jpa-example-command/pom.xml b/examples/karaf-jpa-example/karaf-jpa-example-command/pom.xml
index d6924e1..cbe0343 100644
--- a/examples/karaf-jpa-example/karaf-jpa-example-command/pom.xml
+++ b/examples/karaf-jpa-example/karaf-jpa-example-command/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: JPA :: Command</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
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 e2b21e8..b73a010 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
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: JPA :: Provider :: Declarative Service :: EclipseLink</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
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 9989f66..541f0e0 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
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: JPA :: Provider :: Declarative Service :: Hibernate</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
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 7055380..38a8caa 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
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: JPA :: Provider :: Declarative Service :: OpenJPA</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-log-appender-example/karaf-log-appender-example-core/pom.xml b/examples/karaf-log-appender-example/karaf-log-appender-example-core/pom.xml
index 1b58db2..c1b1401 100644
--- a/examples/karaf-log-appender-example/karaf-log-appender-example-core/pom.xml
+++ b/examples/karaf-log-appender-example/karaf-log-appender-example-core/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Log Appender :: Core</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
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 e6a62b4..4be6b03 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
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Maven :: Run Bundle</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/examples/karaf-mbean-example/karaf-mbean-example-provider/pom.xml b/examples/karaf-mbean-example/karaf-mbean-example-provider/pom.xml
index 3d45d48..5e5dc38 100644
--- a/examples/karaf-mbean-example/karaf-mbean-example-provider/pom.xml
+++ b/examples/karaf-mbean-example/karaf-mbean-example-provider/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: MBean :: Service Provider</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-mbean-example/karaf-mbean-example-simple/pom.xml b/examples/karaf-mbean-example/karaf-mbean-example-simple/pom.xml
index 88fd9fa..9c93a89 100644
--- a/examples/karaf-mbean-example/karaf-mbean-example-simple/pom.xml
+++ b/examples/karaf-mbean-example/karaf-mbean-example-simple/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: MBean :: Simple</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-profile-example/karaf-profile-example-dynamic/pom.xml b/examples/karaf-profile-example/karaf-profile-example-dynamic/pom.xml
index fe04656..c3e78fb 100644
--- a/examples/karaf-profile-example/karaf-profile-example-dynamic/pom.xml
+++ b/examples/karaf-profile-example/karaf-profile-example-dynamic/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: Profile :: Dynamic Assembly</name>
<packaging>pom</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
diff --git a/examples/karaf-profile-example/karaf-profile-example-static/pom.xml b/examples/karaf-profile-example/karaf-profile-example-static/pom.xml
index e5920f6..57fd217 100644
--- a/examples/karaf-profile-example/karaf-profile-example-static/pom.xml
+++ b/examples/karaf-profile-example/karaf-profile-example-static/pom.xml
@@ -32,6 +32,18 @@
<packaging>pom</packaging>
<name>Apache Karaf :: Examples :: Profile :: Static Assembly</name>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.features</groupId>
diff --git a/examples/karaf-rest-example/karaf-rest-example-client/karaf-rest-example-client-cxf/pom.xml b/examples/karaf-rest-example/karaf-rest-example-client/karaf-rest-example-client-cxf/pom.xml
index 2afdd6c..a7b0b6d 100644
--- a/examples/karaf-rest-example/karaf-rest-example-client/karaf-rest-example-client-cxf/pom.xml
+++ b/examples/karaf-rest-example/karaf-rest-example-client/karaf-rest-example-client-cxf/pom.xml
@@ -25,6 +25,18 @@
<name>Apache Karaf :: Examples :: REST :: Client :: Apache CXF</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>javax.ws.rs</groupId>
diff --git a/examples/karaf-rest-example/karaf-rest-example-client/karaf-rest-example-client-http/pom.xml b/examples/karaf-rest-example/karaf-rest-example-client/karaf-rest-example-client-http/pom.xml
index 1ddad37..a98f424 100644
--- a/examples/karaf-rest-example/karaf-rest-example-client/karaf-rest-example-client-http/pom.xml
+++ b/examples/karaf-rest-example/karaf-rest-example-client/karaf-rest-example-client-http/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: REST :: Client :: Java HTTP</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.shell</groupId>
diff --git a/examples/karaf-rest-example/karaf-rest-example-scr/pom.xml b/examples/karaf-rest-example/karaf-rest-example-scr/pom.xml
index bd7f83a..986ca89 100644
--- a/examples/karaf-rest-example/karaf-rest-example-scr/pom.xml
+++ b/examples/karaf-rest-example/karaf-rest-example-scr/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: REST :: SCR</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/examples/karaf-soap-example/karaf-soap-example-client/pom.xml b/examples/karaf-soap-example/karaf-soap-example-client/pom.xml
index 19e4fb8..d3b8b19 100644
--- a/examples/karaf-soap-example/karaf-soap-example-client/pom.xml
+++ b/examples/karaf-soap-example/karaf-soap-example-client/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: SOAP :: Client</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.examples</groupId>
diff --git a/examples/karaf-soap-example/karaf-soap-example-scr/pom.xml b/examples/karaf-soap-example/karaf-soap-example-scr/pom.xml
index 59c6516..467b78b 100644
--- a/examples/karaf-soap-example/karaf-soap-example-scr/pom.xml
+++ b/examples/karaf-soap-example/karaf-soap-example-scr/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Examples :: SOAP :: SCR</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/features/command/pom.xml b/features/command/pom.xml
index 7a4ead5..c412c7d 100644
--- a/features/command/pom.xml
+++ b/features/command/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/features/core/pom.xml b/features/core/pom.xml
index 3613d83..01616d3 100644
--- a/features/core/pom.xml
+++ b/features/core/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/features/extension/pom.xml b/features/extension/pom.xml
index eee0be7..63169f6 100644
--- a/features/extension/pom.xml
+++ b/features/extension/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/http/pom.xml b/http/pom.xml
index 23de624..fd5a524 100644
--- a/http/pom.xml
+++ b/http/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources/</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/instance/pom.xml b/instance/pom.xml
index 3f95e5e..fe15df6 100644
--- a/instance/pom.xml
+++ b/instance/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${project.basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/itests/common/pom.xml b/itests/common/pom.xml
index 8275afa..5ac8a2b 100644
--- a/itests/common/pom.xml
+++ b/itests/common/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: Integration Tests :: Common</name>
<packaging>bundle</packaging>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
diff --git a/itests/test/pom.xml b/itests/test/pom.xml
index 50fe0a8..4773eb1 100644
--- a/itests/test/pom.xml
+++ b/itests/test/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.itests</groupId>
diff --git a/jaas/blueprint/config/pom.xml b/jaas/blueprint/config/pom.xml
index d6611e1..cfc5664 100644
--- a/jaas/blueprint/config/pom.xml
+++ b/jaas/blueprint/config/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/jaas/blueprint/jasypt/pom.xml b/jaas/blueprint/jasypt/pom.xml
index 8c388e5..ffb9240 100644
--- a/jaas/blueprint/jasypt/pom.xml
+++ b/jaas/blueprint/jasypt/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.jaas</groupId>
diff --git a/jaas/boot/pom.xml b/jaas/boot/pom.xml
index 9bbb6d4..8f3b8b7 100644
--- a/jaas/boot/pom.xml
+++ b/jaas/boot/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/jaas/command/pom.xml b/jaas/command/pom.xml
index 1ba3ad1..4de420c 100644
--- a/jaas/command/pom.xml
+++ b/jaas/command/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/jaas/config/pom.xml b/jaas/config/pom.xml
index dfa8462..b456185 100644
--- a/jaas/config/pom.xml
+++ b/jaas/config/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.jaas</groupId>
diff --git a/jaas/jasypt/pom.xml b/jaas/jasypt/pom.xml
index edeb78c..b2dba28 100644
--- a/jaas/jasypt/pom.xml
+++ b/jaas/jasypt/pom.xml
@@ -36,6 +36,18 @@
<properties>
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
<dependencies>
diff --git a/jaas/modules/pom.xml b/jaas/modules/pom.xml
index ce93037..de4eebf 100644
--- a/jaas/modules/pom.xml
+++ b/jaas/modules/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 7b47d61..8fdf063 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/jms/pom.xml b/jms/pom.xml
index f1e9a73..747a4d3 100644
--- a/jms/pom.xml
+++ b/jms/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/jndi/pom.xml b/jndi/pom.xml
index cc532b7..6dd90c9 100644
--- a/jndi/pom.xml
+++ b/jndi/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.xbean</groupId>
diff --git a/jpa/hibernate/pom.xml b/jpa/hibernate/pom.xml
index 626738b..45ab10c 100644
--- a/jpa/hibernate/pom.xml
+++ b/jpa/hibernate/pom.xml
@@ -32,6 +32,18 @@
<name>Apache Karaf :: JPA :: Hibernate</name>
<description>This bundle provides one StatisticsMXBean for each persistence unit with an oname like this: org.hibernate.statistics:unitName=...</description>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/kar/pom.xml b/kar/pom.xml
index 31692f0..97db479 100644
--- a/kar/pom.xml
+++ b/kar/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.felix</groupId>
diff --git a/log/pom.xml b/log/pom.xml
index a78763f..1153713 100644
--- a/log/pom.xml
+++ b/log/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources/</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/main/pom.xml b/main/pom.xml
index 54ede6f..74ea563 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/management/server/pom.xml b/management/server/pom.xml
index 1566b7c..df7e849 100644
--- a/management/server/pom.xml
+++ b/management/server/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/maven/core/pom.xml b/maven/core/pom.xml
index 2a67c23..8bb91c6 100644
--- a/maven/core/pom.xml
+++ b/maven/core/pom.xml
@@ -34,6 +34,18 @@
<name>Apache Karaf :: Maven :: Core</name>
<description>This bundle provides services and commands for Maven diagnostics.</description>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/obr/pom.xml b/obr/pom.xml
index cea2f85..f00e1d8 100644
--- a/obr/pom.xml
+++ b/obr/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources/</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/package/pom.xml b/package/pom.xml
index a11297e..451c287 100644
--- a/package/pom.xml
+++ b/package/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/pom.xml b/pom.xml
index 7283f8c..d8d2af0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,7 @@
<inceptionYear>2007</inceptionYear>
<modules>
+ <module>bom</module>
<module>util</module>
<module>main</module>
<module>features</module>
@@ -376,1443 +377,6 @@
</pluginRepository>
</pluginRepositories>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.core</artifactId>
- <version>${osgi.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>manual</artifactId>
- <type>pdf</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>manual</artifactId>
- <type>html</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>org.apache.karaf.main</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>org.apache.karaf.util</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>org.apache.karaf.client</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.specs</groupId>
- <artifactId>org.apache.karaf.specs.locator</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.specs</groupId>
- <artifactId>org.apache.karaf.specs.activator</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.specs</groupId>
- <artifactId>org.apache.karaf.specs.java.xml</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.specs</groupId>
- <artifactId>org.apache.karaf.specs.java.xml.ws</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.bundle</groupId>
- <artifactId>org.apache.karaf.bundle.core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.bundle</groupId>
- <artifactId>org.apache.karaf.bundle.springstate</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.bundle</groupId>
- <artifactId>org.apache.karaf.bundle.blueprintstate</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.package</groupId>
- <artifactId>org.apache.karaf.package.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.http</groupId>
- <artifactId>org.apache.karaf.http.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.jdbc</groupId>
- <artifactId>org.apache.karaf.jdbc.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.jms</groupId>
- <artifactId>org.apache.karaf.jms.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.jndi</groupId>
- <artifactId>org.apache.karaf.jndi.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.service</groupId>
- <artifactId>org.apache.karaf.service.core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.service</groupId>
- <artifactId>org.apache.karaf.service.guard</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.log</groupId>
- <artifactId>org.apache.karaf.log.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.config</groupId>
- <artifactId>org.apache.karaf.config.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.spring</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.blueprint</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.features</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.kar</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.wrap</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.kar</groupId>
- <artifactId>org.apache.karaf.kar.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.obr</groupId>
- <artifactId>org.apache.karaf.obr.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.management</groupId>
- <artifactId>org.apache.karaf.management.server</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>org.apache.karaf.features.extension</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>org.apache.karaf.features.core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>org.apache.karaf.features.command</artifactId>
- <version>${project.version}</version>
- </dependency>
-
-
- <dependency>
- <groupId>org.apache.karaf.profile</groupId>
- <artifactId>org.apache.karaf.profile.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.diagnostic</groupId>
- <artifactId>org.apache.karaf.diagnostic.boot</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.diagnostic</groupId>
- <artifactId>org.apache.karaf.diagnostic.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.instance</groupId>
- <artifactId>org.apache.karaf.instance.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.system</groupId>
- <artifactId>org.apache.karaf.system.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.web</groupId>
- <artifactId>org.apache.karaf.web.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.wrapper</groupId>
- <artifactId>org.apache.karaf.wrapper.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.console</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.ssh</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.commands</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.table</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.boot</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.command</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.config</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.jasypt</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.modules</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas.blueprint</groupId>
- <artifactId>org.apache.karaf.jaas.blueprint.config</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas.blueprint</groupId>
- <artifactId>org.apache.karaf.jaas.blueprint.jasypt</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.instance</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.console</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.features</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.gogo</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.http</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.scheduler</groupId>
- <artifactId>org.apache.karaf.scheduler.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.services</groupId>
- <artifactId>org.apache.karaf.services.staticcm</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.services</groupId>
- <artifactId>org.apache.karaf.services.eventadmin</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.services</groupId>
- <artifactId>org.apache.karaf.services.coordinator</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.subsystem</groupId>
- <artifactId>org.apache.karaf.subsystem.core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.scr</groupId>
- <artifactId>org.apache.karaf.scr.management</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf.tooling.exam</groupId>
- <artifactId>org.apache.karaf.tooling.exam.container</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>apache-karaf</artifactId>
- <type>tar.gz</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>apache-karaf</artifactId>
- <type>zip</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>apache-karaf-minimal</artifactId>
- <type>tar.gz</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>apache-karaf-minimal</artifactId>
- <type>zip</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>enterprise</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>base</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>framework</artifactId>
- <type>kar</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>framework</artifactId>
- <classifier>features</classifier>
- <type>xml</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>static</artifactId>
- <type>kar</type>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>spring</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>standard</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.itests</groupId>
- <artifactId>itests</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <version>${javax.mail.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.framework</artifactId>
- <version>${felix.framework.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.main</artifactId>
- <version>${felix.framework.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.framework.security</artifactId>
- <version>${felix.framework.security.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.service.obr</artifactId>
- <version>${felix.obr.version}</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.cmpn</artifactId>
- <version>${osgi.compendium.version}</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.service.jdbc</artifactId>
- <version>${org.osgi.service.jdbc.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.configadmin</artifactId>
- <version>${felix.configadmin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.bundlerepository</artifactId>
- <version>${felix.bundlerepository.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.service.obr</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.shell</artifactId>
- </exclusion>
-
- <exclusion>
- <groupId>net.sf.kxml</groupId>
- <artifactId>kxml2</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.metatype</artifactId>
- <version>${felix.metatype.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- </exclusion>
- <exclusion>
- <groupId>net.sf.kxml</groupId>
- <artifactId>kxml2</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.utils</artifactId>
- <version>${felix.utils.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.webconsole</artifactId>
- <version>${felix.webconsole.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.webconsole.plugins.event</artifactId>
- <version>${felix.eventadmin.webconsole.plugin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.webconsole.plugins.ds</artifactId>
- <version>${felix.scr.webconsole.plugin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId>
- <version>${felix.memoryusage.webconsole.plugin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.fileinstall</artifactId>
- <version>${felix.fileinstall.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.httplite.complete</artifactId>
- <version>${felix.httplite.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.http.jetty</artifactId>
- <version>${felix.http.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.eventadmin</artifactId>
- <version>${felix.eventadmin.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.compendium</artifactId>
- </exclusion>
- <exclusion>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.scr</artifactId>
- <version>${felix.scr.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.resolver</artifactId>
- <version>${felix.resolver.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.connect</artifactId>
- <version>${felix.connect.version}</version>
- </dependency>
-
- <dependency>
- <groupId>net.java.dev.jna</groupId>
- <artifactId>jna</artifactId>
- <version>${jna.version}</version>
- </dependency>
- <dependency>
- <groupId>net.java.dev.jna</groupId>
- <artifactId>jna-platform</artifactId>
- <version>${jna.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- <version>${asm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-util</artifactId>
- <version>${asm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-tree</artifactId>
- <version>${asm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-analysis</artifactId>
- <version>${asm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-commons</artifactId>
- <version>${asm.version}</version>
- </dependency>
-
- <dependency>
- <groupId>biz.aQute.bnd</groupId>
- <artifactId>biz.aQute.bndlib</artifactId>
- <version>${bndlib.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>${felix.plugin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-core</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-artifact</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-settings</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-settings-builder</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.shared</groupId>
- <artifactId>maven-dependency-tree</artifactId>
- <version>3.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-provider-api</artifactId>
- <version>${maven.wagon.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-http</artifactId>
- <version>${maven.wagon.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-http-lightweight</artifactId>
- <version>${maven.wagon.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.xercesImpl</artifactId>
- <version>${xerces.bundle.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.xalan</artifactId>
- <version>${xalan.bundle.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.xalan-serializer</artifactId>
- <version>${xalan-serializer.bundle.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>spring-osgi-core</artifactId>
- <version>${spring.osgi.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.springframework</groupId>
- <artifactId>org.springframework.aop</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.springframework</groupId>
- <artifactId>org.springframework.beans</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.springframework</groupId>
- <artifactId>org.springframework.context</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.springframework</groupId>
- <artifactId>org.springframework.core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>spring-osgi-io</artifactId>
- <version>${spring.osgi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>spring-osgi-extender</artifactId>
- <version>${spring.osgi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>spring-osgi-annotation</artifactId>
- <version>${spring.osgi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>spring-osgi-test</artifactId>
- <version>${spring.osgi.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>asm.osgi</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.junit</groupId>
- <artifactId>com.springsource.junit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.objectweb.asm</groupId>
- <artifactId>com.springsource.org.objectweb.asm</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>spring-osgi-web</artifactId>
- <version>${spring.osgi.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.equinox</groupId>
- <artifactId>org.eclipse.equinox.region</artifactId>
- <version>${equinox.region.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.equinox</groupId>
- <artifactId>org.eclipse.equinox.coordinator</artifactId>
- <version>${equinox.coordinator.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jms_1.1_spec</artifactId>
- <version>${geronimo.jms-spec.version}</version>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.fusesource.jansi</groupId>
- <artifactId>jansi</artifactId>
- <version>${jansi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jline</groupId>
- <artifactId>jline</artifactId>
- <version>${jline.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-nop</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.ops4j.pax.logging</groupId>
- <artifactId>pax-logging-api</artifactId>
- <version>${pax.logging.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.logging</groupId>
- <artifactId>pax-logging-service</artifactId>
- <version>${pax.logging.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.logging</groupId>
- <artifactId>pax-logging-log4j2</artifactId>
- <version>${pax.logging.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-commons</artifactId>
- <version>${pax.url.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-obr</artifactId>
- <version>${pax.url.version}</version>
- <classifier>uber</classifier>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-war</artifactId>
- <version>${pax.url.version}</version>
- <classifier>uber</classifier>
- </dependency>
-
- <dependency>
- <groupId>org.ops4j.base</groupId>
- <artifactId>ops4j-base-lang</artifactId>
- <version>${pax.base.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.base</groupId>
- <artifactId>ops4j-base-util-property</artifactId>
- <version>${pax.base.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.base</groupId>
- <artifactId>ops4j-base-util-collections</artifactId>
- <version>${pax.base.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-aether</artifactId>
- <version>${pax.url.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.sonatype.aether</groupId>
- <artifactId>aether-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.sonatype.aether</groupId>
- <artifactId>aether-spi</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.sonatype.aether</groupId>
- <artifactId>aether-util</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.sonatype.aether</groupId>
- <artifactId>aether-impl</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.sonatype.aether</groupId>
- <artifactId>aether-connector-wagon</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-aether-provider</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-provider-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-file</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-http-lightweight</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-container-default</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-aether-support</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.swissbox</groupId>
- <artifactId>pax-swissbox-property</artifactId>
- <version>${pax.swissbox.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-wrap</artifactId>
- <version>${pax.url.version}</version>
- <classifier>uber</classifier>
- </dependency>
- <dependency>
- <groupId>${servlet.spec.groupId}</groupId>
- <artifactId>${servlet.spec.artifactId}</artifactId>
- <version>${servlet.spec.version}</version>
- </dependency>
- <dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- <version>${easymock.version}</version>
- </dependency>
- <dependency>
- <groupId>org.objenesis</groupId>
- <artifactId>objenesis</artifactId>
- <version>${objenesis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.activation-api-1.1</artifactId>
- <version>${servicemix-spec.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.activator</artifactId>
- <version>${servicemix-spec.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.locator</artifactId>
- <version>2.10</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.jaxp-api-1.4</artifactId>
- <version>1.4_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.jaxb-api-2.2</artifactId>
- <version>${servicemix-spec.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.jaxws-api-2.2</artifactId>
- <version>${servicemix-spec.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.saaj-api-1.3</artifactId>
- <version>${servicemix-spec.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.stax-api-1.2</artifactId>
- <version>1.2_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.sshd</groupId>
- <artifactId>sshd-osgi</artifactId>
- <version>${sshd.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.sshd</groupId>
- <artifactId>sshd-scp</artifactId>
- <version>${sshd.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.sshd</groupId>
- <artifactId>sshd-sftp</artifactId>
- <version>${sshd.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.exam</groupId>
- <artifactId>pax-exam</artifactId>
- <version>${pax.exam.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.exam</groupId>
- <artifactId>pax-exam-container-karaf</artifactId>
- <version>${pax.exam.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.exam</groupId>
- <artifactId>pax-exam-junit4</artifactId>
- <version>${pax.exam.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.tinybundles</groupId>
- <artifactId>tinybundles</artifactId>
- <version>${pax.tinybundle.version}</version>
- </dependency>
- <dependency>
- <groupId>${equinox.groupId}</groupId>
- <artifactId>${equinox.artifactId}</artifactId>
- <version>${equinox.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.api</artifactId>
- <version>${aries.application.api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.default.local.platform</artifactId>
- <version>${aries.application.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.deployment.management</artifactId>
- <version>${aries.application.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.install</artifactId>
- <version>${aries.application.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.management</artifactId>
- <version>${aries.application.management.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.modeller</artifactId>
- <version>${aries.application.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.utils</artifactId>
- <version>${aries.application.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.resolver.obr</artifactId>
- <version>${aries.application.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.runtime</artifactId>
- <version>${aries.application.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.api</artifactId>
- <version>${aries.blueprint.api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.cm</artifactId>
- <version>${aries.blueprint.cm.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.core.compatibility</artifactId>
- <version>${aries.blueprint.core.compatibility.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.core</artifactId>
- <version>${aries.blueprint.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.proxy</groupId>
- <artifactId>org.apache.aries.proxy.api</artifactId>
- <version>${aries.proxy.api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.proxy</groupId>
- <artifactId>org.apache.aries.proxy</artifactId>
- <version>${aries.proxy.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries</groupId>
- <artifactId>org.apache.aries.util</artifactId>
- <version>${aries.util.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.api</artifactId>
- <version>${aries.jmx.api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.core</artifactId>
- <version>${aries.jmx.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.whiteboard</artifactId>
- <version>${aries.jmx.whiteboard.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.blueprint.api</artifactId>
- <version>${aries.jmx.blueprint.api.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.blueprint.core</artifactId>
- <version>${aries.jmx.blueprint.core.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.api</artifactId>
- <version>${aries.jndi.api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.core</artifactId>
- <version>${aries.jndi.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.legacy.support</artifactId>
- <version>${aries.jndi.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.url</artifactId>
- <version>${aries.jndi.url.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.rmi</artifactId>
- <version>${aries.jndi.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.aries.transaction</groupId>
- <artifactId>org.apache.aries.transaction.blueprint</artifactId>
- <version>${aries.transaction.blueprint.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.transaction</groupId>
- <artifactId>org.apache.aries.transaction.manager</artifactId>
- <version>${aries.transaction.manager.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.api</artifactId>
- <version>${aries.jpa.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.blueprint.aries</artifactId>
- <version>${aries.jpa.blueprint.aries.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.container</artifactId>
- <version>${aries.jpa.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.container.context</artifactId>
- <version>${aries.jpa.container.context.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.aries.subsystem</groupId>
- <artifactId>org.apache.aries.subsystem.api</artifactId>
- <version>${aries.subsystem.api.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.aries.subsystem</groupId>
- <artifactId>org.apache.aries.subsystem.core</artifactId>
- <version>${aries.subsystem.core.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.gogo.runtime</artifactId>
- <version>${felix.gogo.runtime.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.gogo.jline</artifactId>
- <version>${felix.gogo.jline.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-api</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-spi</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-runtime</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-jetty</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-jetty-bundle</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-jsp</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-deployer</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-extender-war</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-extender-whiteboard</artifactId>
- <version>${pax.web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-api</artifactId>
- <version>${pax.jms.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-finder-shaded</artifactId>
- <version>${xbean.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-blueprint</artifactId>
- <version>${xbean.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-naming</artifactId>
- <version>${xbean.version}</version>
- </dependency>
- <dependency>
- <groupId>tanukisoft</groupId>
- <artifactId>wrapper</artifactId>
- <version>${jsw.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-compress</artifactId>
- <version>${commons-compress.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang3.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>${commons-collections.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>${commons-logging.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.ant</artifactId>
- <version>1.8.4_1</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.jasypt</artifactId>
- <version>${jasypt.bundle.version}</version>
- </dependency>
- <dependency>
- <groupId>org.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <version>${awaitility.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.narayana.osgi</groupId>
- <artifactId>narayana-osgi-jta</artifactId>
- <version>${narayana.version}</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-validator</artifactId>
- <version>${hibernate.validator.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-atinject_1.0_spec</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>jakarta.xml.bind</groupId>
- <artifactId>jakarta.xml.bind-api</artifactId>
- <version>${jaxb.version}</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jaxb</groupId>
- <artifactId>jaxb-runtime</artifactId>
- <version>${jaxb.version}</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jaxb</groupId>
- <artifactId>txw2</artifactId>
- <version>${jaxb.version}</version>
- </dependency>
- <dependency>
- <groupId>com.sun.istack</groupId>
- <artifactId>istack-commons-runtime</artifactId>
- <version>3.0.10</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
<dependencies>
<dependency>
@@ -1824,11 +388,9 @@
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
+ <version>${easymock.version}</version>
<scope>test</scope>
</dependency>
-
-
-
</dependencies>
<build>
diff --git a/profile/pom.xml b/profile/pom.xml
index 2ca9e87..1b73b63 100644
--- a/profile/pom.xml
+++ b/profile/pom.xml
@@ -38,6 +38,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/scheduler/pom.xml b/scheduler/pom.xml
index 19fd7b2..5a42293 100644
--- a/scheduler/pom.xml
+++ b/scheduler/pom.xml
@@ -93,6 +93,18 @@
</plugins>
</build>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/scr/examples/README b/scr/examples/README
deleted file mode 100644
index 2adb4cf..0000000
--- a/scr/examples/README
+++ /dev/null
@@ -1,23 +0,0 @@
-Karaf SCR Examples
----------------------------
-
-features:addurl mvn:org.apache.karaf.scr/org.apache.karaf.scr.feature/2.2.6-SNAPSHOT/xml/features
-features:install scr-webconsole
-install -s mvn:org.apache.karaf.scr/org.apache.karaf.scr.examples/2.2.6-SNAPSHOT
-dev:watch mvn:org.apache.karaf.scr/org.apache.karaf.scr.examples/2.2.6-SNAPSHOT
-
-
-config:edit ManagedComponent
-config:propset salutation "Hi there"
-config:propset name "Riley"
-config:update
-
-config:delete ManagedComponent
-
-config:edit ManagedComponent
-config:update
-
-config:edit MetaTypeManagedComponent
-config:propset salutation Hello
-config:propset name Marla
-config:update
\ No newline at end of file
diff --git a/scr/examples/component-factory/pom.xml b/scr/examples/component-factory/pom.xml
deleted file mode 100644
index d239a1b..0000000
--- a/scr/examples/component-factory/pom.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?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">
-
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.karaf.scr</groupId>
- <artifactId>org.apache.karaf.scr.examples</artifactId>
- <version>4.2.11-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.apache.karaf.scr.examples</groupId>
- <artifactId>org.apache.karaf.scr.examples.component.factories</artifactId>
- <packaging>bundle</packaging>
- <name>Apache Karaf :: SCR :: Examples :: Component Factories</name>
- <description>Building SCR Components using the BND Annotation Libraries</description>
-
- <dependencies>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.cmpn</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <inherited>true</inherited>
- <configuration>
- <instructions>
- <Export-Package>
- ${project.artifactId}
- </Export-Package>
- <Import-Package>
- !${project.artifactId},
- *
- </Import-Package>
- <Private-Package>
- ${project.artifactId}.component,
- ${project.artifactId}.impl
- </Private-Package>
- <Service-Component>*</Service-Component>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/GreeterServiceComponentFactory.java b/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/GreeterServiceComponentFactory.java
deleted file mode 100644
index 4b000e6..0000000
--- a/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/GreeterServiceComponentFactory.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.component.factories;
-
-/**
- * The SCR Service interface we are going to publish
- */
-public interface GreeterServiceComponentFactory {
-
- void startGreeter();
-
- void stopGreeter();
-
-}
diff --git a/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/component/GreeterServiceFactoryManager.java b/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/component/GreeterServiceFactoryManager.java
deleted file mode 100644
index 9c8691b..0000000
--- a/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/component/GreeterServiceFactoryManager.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.component.factories.component;
-
-import org.apache.karaf.scr.examples.component.factories.GreeterServiceComponentFactory;
-import org.osgi.service.component.ComponentFactory;
-import org.osgi.service.component.ComponentInstance;
-import org.osgi.service.component.annotations.Activate;
-import org.osgi.service.component.annotations.Component;
-import org.osgi.service.component.annotations.Deactivate;
-import org.osgi.service.component.annotations.Reference;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.util.Dictionary;
-import java.util.Properties;
-import java.util.concurrent.locks.ReadWriteLock;
-import java.util.concurrent.locks.ReentrantReadWriteLock;
-
-@Component(name = GreeterServiceFactoryManager.COMPONENT_NAME)
-public class GreeterServiceFactoryManager {
-
- public static final String COMPONENT_NAME = "GreeterServiceFactoryManager";
-
- public static final String COMPONENT_LABEL = "Greeter Service Factory Manager";
-
- private static final Logger LOG = LoggerFactory.getLogger(GreeterServiceFactoryManager.class);
-
- private ComponentFactory factory;
- private ComponentInstance instance;
- private GreeterServiceComponentFactory greeterService;
- private ReadWriteLock lock = new ReentrantReadWriteLock();
-
- /**
- * Called when all of the SCR Components required dependencies have been satisfied.
- */
- @Activate
- public void activate() {
- LOG.info("Activating the {}", COMPONENT_LABEL);
- try {
- lock.readLock().lock();
- if (factory != null) {
- final Properties props = new Properties();
- props.setProperty("salutation", "Hello");
- props.setProperty("name", "User");
- instance = factory.newInstance((Dictionary) props);
- greeterService = (GreeterServiceComponentFactory) instance.getInstance();
- greeterService.startGreeter();
- }
- } finally {
- lock.readLock().unlock();
- }
- }
-
- /**
- * Callend when any of the SCR Components required dependencies become unsatisfied.
- */
- @Deactivate
- public void deactivate() {
- LOG.info("Deactivating the {}", COMPONENT_LABEL);
- try {
- lock.readLock().lock();
- greeterService.stopGreeter();
- instance.dispose();
- } finally {
- lock.readLock().unlock();
- }
- }
-
- @Reference(target = "(component.factory=greeter.factory.provider)")
- public void setFactory(final ComponentFactory factory) {
- try {
- lock.writeLock().lock();
- this.factory = factory;
- } finally {
- lock.writeLock().unlock();
- }
- }
-
- public void unsetFactory() {
- try {
- lock.writeLock().lock();
- this.factory = null;
- } finally {
- lock.writeLock().unlock();
- }
- }
-
-}
diff --git a/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/impl/GreeterServiceComponentFactoryImpl.java b/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/impl/GreeterServiceComponentFactoryImpl.java
deleted file mode 100644
index fa4fbfc..0000000
--- a/scr/examples/component-factory/src/main/java/org/apache/karaf/scr/examples/component/factories/impl/GreeterServiceComponentFactoryImpl.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.component.factories.impl;
-
-import org.apache.karaf.scr.examples.component.factories.GreeterServiceComponentFactory;
-import org.osgi.service.component.annotations.Activate;
-import org.osgi.service.component.annotations.Component;
-import org.osgi.service.component.annotations.Deactivate;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.util.Map;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import java.util.concurrent.locks.ReadWriteLock;
-import java.util.concurrent.locks.ReentrantReadWriteLock;
-
-/**
- * An implementation of the GreeterServiceComponentFactory interface. Component
- * configuration includes setting the name attribute and setting the
- * configuration policy to required. The default is optional and when the
- * component attempts to activate it will throw a RuntimeException.
- */
-// the ConfigAdmin PID of our component
-@Component(name = GreeterServiceComponentFactoryImpl.COMPONENT_NAME,
- // the Factory ID of the Component Factory
- factory = "greeter.factory.provider")
-public class GreeterServiceComponentFactoryImpl implements GreeterServiceComponentFactory {
-
- public static final String COMPONENT_NAME = "GreeterServiceComponentFactory";
- public static final String COMPONENT_LABEL = "Greeter Service Component Factory";
-
- private static final Logger LOG = LoggerFactory.getLogger(GreeterServiceComponentFactoryImpl.class);
-
- private ExecutorService executor = Executors.newCachedThreadPool();
- private Worker worker = new Worker();
- private ReadWriteLock lock = new ReentrantReadWriteLock();
-
- /**
- * Called when all of the SCR Components required dependencies have been satisfied.
- *
- * @param properties The activation properties.
- */
- @Activate
- public void activate(final Map<String, ?> properties) {
- LOG.info("Activating the {}", COMPONENT_LABEL);
-
- // just because the component has a policy of required doesn't help to ensure our
- // properties are set.
- // first check that salutation is set
- if (properties.containsKey("salutation")) {
- try {
- lock.writeLock().lock();
- worker.setSalutation((String) properties.get("salutation"));
- } finally {
- lock.writeLock().unlock();
- }
- } else {
- throw new IllegalArgumentException("The salutation property may not be null or empty: " + properties.get("salutation"));
- }
-
- // now verify that name is set
- if (properties.containsKey("name")) {
- try {
- lock.writeLock().lock();
- worker.setName((String) properties.get("name"));
- } finally {
- lock.writeLock().unlock();
- }
- } else {
- throw new IllegalArgumentException("The name property may not be null or empty: " + properties.get("name"));
- }
- }
-
- /**
- * Called when any of the SCR Components required dependencies become unsatisfied.
- */
- @Deactivate
- public void deactivate() {
- LOG.info("Deactivating the {}", COMPONENT_LABEL);
- }
-
- public void startGreeter() {
- try {
- lock.writeLock().lock();
- executor.execute(worker);
- } finally {
- lock.writeLock().unlock();
- }
- }
-
- public void stopGreeter() {
- try {
- lock.writeLock().lock();
- if (!executor.isTerminated()) {
- executor.shutdownNow();
- }
- } finally {
- lock.writeLock().unlock();
- }
- }
-
- /**
- * Thread worker that continuously prints a message.
- */
- private class Worker implements Runnable {
-
- private String name;
- private String salutation;
-
- public void run() {
- boolean running = true;
- int messageCount = 0;
- while (running) {
- try {
- LOG.info("Message {}: salutation {}", (++messageCount), name);
- Thread.sleep(1000);
- } catch (InterruptedException e) {
- running = false;
- LOG.info("Thread shutting down");
- }
- }
- }
-
- public void setName(String userName) {
- this.name = userName;
- }
-
- public void setSalutation(String salutation) {
- this.salutation = salutation;
- }
- }
-
-}
diff --git a/scr/examples/component-factory/src/main/resources/OSGI-INF/bundle.info b/scr/examples/component-factory/src/main/resources/OSGI-INF/bundle.info
deleted file mode 100644
index 4e86c5a..0000000
--- a/scr/examples/component-factory/src/main/resources/OSGI-INF/bundle.info
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#
-h1. SYNOPSIS
- ${project.name}
-
- ${project.description}
-
- Maven URL:
- \u001B[33mmvn:${project.groupId}/${project.artifactId}/${project.version}\u001B[0m
-
-h1. DESCRIPTION
- An SCR example project for Component Factories.
\ No newline at end of file
diff --git a/scr/examples/managed-service/pom.xml b/scr/examples/managed-service/pom.xml
deleted file mode 100644
index a5f9cd5..0000000
--- a/scr/examples/managed-service/pom.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?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">
-
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.karaf.scr</groupId>
- <artifactId>org.apache.karaf.scr.examples</artifactId>
- <version>4.2.11-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.apache.karaf.scr.examples</groupId>
- <artifactId>org.apache.karaf.scr.examples.managed.service</artifactId>
- <packaging>bundle</packaging>
- <name>Apache Karaf :: SCR :: Examples :: Managed Services</name>
- <description>Building SCR Components using the BND Annotation Libraries</description>
-
- <dependencies>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.cmpn</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <inherited>true</inherited>
- <configuration>
- <instructions>
- <Export-Package>
- ${project.artifactId}
- </Export-Package>
- <Import-Package>
- !${project.artifactId},
- *
- </Import-Package>
- <Private-Package>
- ${project.artifactId}.component,
- ${project.artifactId}.impl
- </Private-Package>
- <Service-Component>*</Service-Component>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/ManagedGreeterService.java b/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/ManagedGreeterService.java
deleted file mode 100644
index a10ece8..0000000
--- a/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/ManagedGreeterService.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.managed.service;
-
-/**
- * The SCR Service interface we are going to publish
- */
-public interface ManagedGreeterService {
-
- void startGreeter();
-
- void stopGreeter();
-
-}
diff --git a/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/component/ManagedGreeterComponent.java b/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/component/ManagedGreeterComponent.java
deleted file mode 100644
index e9fb331..0000000
--- a/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/component/ManagedGreeterComponent.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.managed.service.component;
-
-import org.apache.karaf.scr.examples.managed.service.ManagedGreeterService;
-import org.osgi.service.component.annotations.Activate;
-import org.osgi.service.component.annotations.Component;
-import org.osgi.service.component.annotations.Deactivate;
-import org.osgi.service.component.annotations.Reference;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.util.concurrent.locks.ReadWriteLock;
-import java.util.concurrent.locks.ReentrantReadWriteLock;
-
-@Component(name = ManagedGreeterComponent.COMPONENT_NAME)
-public class ManagedGreeterComponent {
-
- public static final String COMPONENT_NAME = "ManagedGreeterComponent";
-
- public static final String COMPONENT_LABEL = "Managed Greeter Component";
-
- private static final Logger LOG = LoggerFactory.getLogger(ManagedGreeterComponent.class);
-
- private ManagedGreeterService greeterService;
- private ReadWriteLock lock = new ReentrantReadWriteLock();
-
- /**
- * Called when all of the SCR Components required dependencies have been satisfied
- */
- @Activate
- public void activate() {
- LOG.info("Activating the {}", COMPONENT_LABEL);
- try {
- lock.readLock().lock();
- if (greeterService != null) {
- greeterService.startGreeter();
- }
- } finally {
- lock.readLock().unlock();
- }
- }
-
- /**
- * Called when any of the SCR Components required dependencies become unsatisfied.
- */
- @Deactivate
- public void deactivate() {
- LOG.info("Deactivating the {}", COMPONENT_LABEL);
- try {
- lock.readLock().lock();
- if (greeterService != null) {
- greeterService.stopGreeter();
- }
- } finally {
- lock.readLock().unlock();
- }
- }
-
- @Reference
- public void setGreeterService(final ManagedGreeterService greeterService) {
- try {
- lock.writeLock().lock();
- this.greeterService = greeterService;
- } finally {
- lock.writeLock().unlock();
- }
- }
-
- public void unsetGreeterService() {
- try {
- lock.writeLock().lock();
- this.greeterService = null;
- } finally {
- lock.writeLock().unlock();
- }
- }
-
-}
diff --git a/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/impl/ManagedGreeterServiceImpl.java b/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/impl/ManagedGreeterServiceImpl.java
deleted file mode 100644
index 6c17d13..0000000
--- a/scr/examples/managed-service/src/main/java/org/apache/karaf/scr/examples/managed/service/impl/ManagedGreeterServiceImpl.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.managed.service.impl;
-
-import org.apache.karaf.scr.examples.managed.service.ManagedGreeterService;
-import org.osgi.service.component.annotations.*;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.util.Map;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import java.util.concurrent.locks.ReadWriteLock;
-import java.util.concurrent.locks.ReentrantReadWriteLock;
-
-/**
- * An implementation of the ManagedGreeterService interface. Component configuration includes setting
- * the name attribute and setting the configuration policy to required. The default is optional and when the
- * component attempts to activate it will throw a RuntimeException.
- */
-@Component(name = ManagedGreeterServiceImpl.COMPONENT_NAME, configurationPolicy = ConfigurationPolicy.REQUIRE)
-public class ManagedGreeterServiceImpl implements ManagedGreeterService {
-
- public static final String COMPONENT_NAME = "ManagedGreeterService";
- public static final String COMPONENT_LABEL = "Managed Greeter Service";
-
- private static final Logger LOG = LoggerFactory.getLogger(ManagedGreeterServiceImpl.class);
-
- private ExecutorService executor = Executors.newCachedThreadPool();
- private Worker worker = new Worker();
- private ReadWriteLock lock = new ReentrantReadWriteLock();
-
- /**
- * Called when all of the SCR Components required dependencies have been satisfied.
- *
- * @param properties The activation properties.
- */
- @Activate
- public void activate(final Map<String, ?> properties) {
- LOG.info("Activating the {}", COMPONENT_LABEL);
-
- // just because our component has a policy of required doesn't help to ensure our properties are set
- // first check that salutation is set
- if (properties.containsKey("salutation")) {
- try {
- lock.writeLock().lock();
- worker.setSalutation((String) properties.get("salutation"));
- } finally {
- lock.writeLock().unlock();
- }
- } else {
- throw new IllegalArgumentException("The salutation property may not be null or empty: " + properties.get("salutation"));
- }
-
- // now verify that name is set
- if (properties.containsKey("name")) {
- try {
- lock.writeLock().lock();
- worker.setName((String) properties.get("name"));
- } finally {
- lock.writeLock().unlock();
- }
- } else {
- throw new IllegalArgumentException("The name property may not be null or empty: " + properties.get("name"));
- }
- }
-
- /**
- * Called when any of the SCR Components required dependencies become unsatisfied.
- */
- @Deactivate
- public void deactivate() {
- LOG.info("Deactivating the {}", COMPONENT_LABEL);
- }
-
- /**
- * Called when the configuration associated with this component has been updated.
- *
- * @param properties The updated configuration.
- */
- @Modified
- public void modified(final Map<String, ?> properties) {
- LOG.info("Modifying the {}", COMPONENT_LABEL);
-
- // this time we really only need to make sure if it changed it isn't empty
- if (properties.containsKey("salutation") && !properties.get("salutation").equals("")) {
- try {
- lock.writeLock().lock();
- worker.setSalutation((String) properties.get("salutation"));
- } finally {
- lock.writeLock().unlock();
- }
- }
-
- // same for name
- if (properties.containsKey("name") && !properties.get("name").equals("")) {
- try {
- lock.writeLock().lock();
- worker.setName((String) properties.get("name"));
- } finally {
- lock.writeLock().unlock();
- }
- }
- }
-
- public void startGreeter() {
- try {
- lock.writeLock().lock();
- executor.execute(worker);
- } finally {
- lock.writeLock().unlock();
- }
- }
-
- public void stopGreeter() {
- try {
- lock.writeLock().lock();
- if (!executor.isTerminated()) {
- executor.shutdownNow();
- }
- } finally {
- lock.writeLock().unlock();
- }
- }
-
- /**
- * Thread worker that continuously prints a message.
- */
- private class Worker implements Runnable {
-
- private String name;
- private String salutation;
-
- public void run() {
- boolean running = true;
- int messageCount = 0;
- while (running) {
- try {
- LOG.info("Message {}: {} {}", messageCount, salutation, name);
- Thread.sleep(1000);
- } catch (InterruptedException e) {
- running = false;
- LOG.info("Thread shutting down");
- }
- }
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public void setSalutation(String salutation) {
- this.salutation = salutation;
- }
- }
-
-}
diff --git a/scr/examples/managed-service/src/main/resources/OSGI-INF/bundle.info b/scr/examples/managed-service/src/main/resources/OSGI-INF/bundle.info
deleted file mode 100644
index eae4f9f..0000000
--- a/scr/examples/managed-service/src/main/resources/OSGI-INF/bundle.info
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#
-h1. SYNOPSIS
- ${project.name}
-
- ${project.description}
-
- Maven URL:
- \u001B[33mmvn:${project.groupId}/${project.artifactId}/${project.version}\u001B[0m
-
-h1. DESCRIPTION
- An SCR example project for Managed Services.
\ No newline at end of file
diff --git a/scr/examples/pom.xml b/scr/examples/pom.xml
deleted file mode 100644
index e90ccbc..0000000
--- a/scr/examples/pom.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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">
-
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.karaf.scr</groupId>
- <artifactId>scr</artifactId>
- <version>4.2.11-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <artifactId>org.apache.karaf.scr.examples</artifactId>
- <packaging>pom</packaging>
- <name>Apache Karaf :: SCR :: Examples</name>
-
- <modules>
- <module>service</module>
- <module>managed-service</module>
- <module>component-factory</module>
- </modules>
-
-</project>
diff --git a/scr/examples/service/pom.xml b/scr/examples/service/pom.xml
deleted file mode 100644
index 443cc49..0000000
--- a/scr/examples/service/pom.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?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">
-
- <!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.karaf.scr</groupId>
- <artifactId>org.apache.karaf.scr.examples</artifactId>
- <version>4.2.11-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.apache.karaf.scr.examples</groupId>
- <artifactId>org.apache.karaf.scr.examples.service</artifactId>
- <packaging>bundle</packaging>
- <name>Apache Karaf :: SCR :: Examples :: Basic Service</name>
- <description>Building SCR Components using the BND Annotation Libraries</description>
-
- <dependencies>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>osgi.cmpn</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <inherited>true</inherited>
- <configuration>
- <instructions>
- <Export-Package>
- ${project.artifactId}
- </Export-Package>
- <Import-Package>
- !${project.artifactId},
- *
- </Import-Package>
- <Private-Package>
- ${project.artifactId}.component,
- ${project.artifactId}.impl
- </Private-Package>
- <Service-Component>*</Service-Component>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/GreeterService.java b/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/GreeterService.java
deleted file mode 100644
index 0da2ba5..0000000
--- a/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/GreeterService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.service;
-
-/**
- * The SCR Service interface we are going to publish
- */
-public interface GreeterService {
-
- void printGreetings();
-
-}
diff --git a/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/component/GreeterComponent.java b/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/component/GreeterComponent.java
deleted file mode 100644
index 0d65fc0..0000000
--- a/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/component/GreeterComponent.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.service.component;
-
-import org.apache.karaf.scr.examples.service.GreeterService;
-import org.osgi.service.component.annotations.Activate;
-import org.osgi.service.component.annotations.Component;
-import org.osgi.service.component.annotations.Deactivate;
-import org.osgi.service.component.annotations.Reference;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-@Component(name = GreeterComponent.COMPONENT_NAME)
-public class GreeterComponent {
-
- public static final String COMPONENT_NAME = "GreeterComponent";
- public static final String COMPONENT_LABEL = "Greeter Service Component";
-
- private static final Logger LOG = LoggerFactory.getLogger(GreeterComponent.class);
-
- private GreeterService greeterService;
-
- /**
- * Called when all of the SCR Components required dependencies have been satisfied.
- */
- @Activate
- public void activate() {
- LOG.info("Activating the {}", COMPONENT_LABEL);
- greeterService.printGreetings();
- }
-
- /**
- * Called when any of the SCR Components required dependencies become unsatisfied.
- */
- @Deactivate
- public void deactivate() {
- LOG.info("Deactivating the {}", COMPONENT_LABEL);
- }
-
- @Reference
- public void setGreeterService(final GreeterService greeterService) {
- this.greeterService = greeterService;
- }
-
- public void unsetGreeterService(final GreeterService greeterService) {
- this.greeterService = null;
- }
-
-}
diff --git a/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/impl/GreeterServiceImpl.java b/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/impl/GreeterServiceImpl.java
deleted file mode 100644
index 2953f9a..0000000
--- a/scr/examples/service/src/main/java/org/apache/karaf/scr/examples/service/impl/GreeterServiceImpl.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.karaf.scr.examples.service.impl;
-
-import org.apache.karaf.scr.examples.service.GreeterService;
-import org.osgi.service.component.annotations.Component;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * <p>
- * The service implementation for our {@link GreeterService}
- * </p>
- * <p>
- * With the {@link Component} annotation, any declared interface on this class will automatically be
- * exported as a service. The DS annotations are build time only though and do not inherit.
- * </p>
- */
-@Component
-public class GreeterServiceImpl implements GreeterService {
-
- private static final Logger LOG = LoggerFactory.getLogger(GreeterServiceImpl.class);
-
- private String name = System.getProperty("user.name", "User name");
-
- private String salutation = "Hello";
-
- public void printGreetings() {
- LOG.info("{} {}", salutation, name);
- }
-
-}
diff --git a/scr/examples/service/src/main/resources/OSGI-INF/bundle.info b/scr/examples/service/src/main/resources/OSGI-INF/bundle.info
deleted file mode 100644
index 8b9e24c..0000000
--- a/scr/examples/service/src/main/resources/OSGI-INF/bundle.info
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#
-h1. SYNOPSIS
- ${project.name}
-
- ${project.description}
-
- Maven URL:
- \u001B[33mmvn:${project.groupId}/${project.artifactId}/${project.version}\u001B[0m
-
-h1. DESCRIPTION
- An SCR example project for basic Services and Components.
\ No newline at end of file
diff --git a/scr/management/pom.xml b/scr/management/pom.xml
index 4a2156d..4ffcf80 100644
--- a/scr/management/pom.xml
+++ b/scr/management/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/scr/pom.xml b/scr/pom.xml
index 4fae3ba..9333451 100644
--- a/scr/pom.xml
+++ b/scr/pom.xml
@@ -36,7 +36,6 @@
<modules>
<module>management</module>
<module>state</module>
- <module>examples</module>
</modules>
</project>
diff --git a/scr/state/pom.xml b/scr/state/pom.xml
index afd45a7..e02f257 100644
--- a/scr/state/pom.xml
+++ b/scr/state/pom.xml
@@ -38,6 +38,18 @@
<karaf.service.ranking>1</karaf.service.ranking>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/service/core/pom.xml b/service/core/pom.xml
index 2064f35..654b0b8 100644
--- a/service/core/pom.xml
+++ b/service/core/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../../etc/appended-resources/</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/service/guard/pom.xml b/service/guard/pom.xml
index f6a207e..4a3254a 100644
--- a/service/guard/pom.xml
+++ b/service/guard/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.aries.proxy</groupId>
diff --git a/services/coordinator/pom.xml b/services/coordinator/pom.xml
index e9a633f..e304585 100644
--- a/services/coordinator/pom.xml
+++ b/services/coordinator/pom.xml
@@ -34,6 +34,18 @@
<name>Apache Karaf :: OSGi Services :: Coordinator</name>
<description>Coordinator Service</description>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/services/eventadmin/pom.xml b/services/eventadmin/pom.xml
index 7f8a3d6..8719483 100644
--- a/services/eventadmin/pom.xml
+++ b/services/eventadmin/pom.xml
@@ -92,6 +92,18 @@
</plugins>
</build>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/services/staticcm/pom.xml b/services/staticcm/pom.xml
index 9327fb8..48f34c1 100644
--- a/services/staticcm/pom.xml
+++ b/services/staticcm/pom.xml
@@ -71,6 +71,18 @@
</plugins>
</build>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/shell/commands/pom.xml b/shell/commands/pom.xml
index 281e664..f9e7d34 100644
--- a/shell/commands/pom.xml
+++ b/shell/commands/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.shell</groupId>
diff --git a/shell/console/pom.xml b/shell/console/pom.xml
index c585e35..6b5609b 100644
--- a/shell/console/pom.xml
+++ b/shell/console/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/shell/core/pom.xml b/shell/core/pom.xml
index 727c88f..d7df253 100644
--- a/shell/core/pom.xml
+++ b/shell/core/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/shell/ssh/pom.xml b/shell/ssh/pom.xml
index 30c56f8..dd617e2 100644
--- a/shell/ssh/pom.xml
+++ b/shell/ssh/pom.xml
@@ -37,14 +37,24 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.shell</groupId>
<artifactId>org.apache.karaf.shell.core</artifactId>
</dependency>
-
-
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.gogo.runtime</artifactId>
diff --git a/shell/table/pom.xml b/shell/table/pom.xml
index 969d9e3..68a1245 100644
--- a/shell/table/pom.xml
+++ b/shell/table/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.shell</groupId>
diff --git a/specs/activator/pom.xml b/specs/activator/pom.xml
index aafe017..b5c6c5f 100644
--- a/specs/activator/pom.xml
+++ b/specs/activator/pom.xml
@@ -29,6 +29,19 @@
<artifactId>org.apache.karaf.specs.activator</artifactId>
<name>Apache Karaf :: Specs :: Activator</name>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.karaf.specs</groupId>
@@ -40,6 +53,7 @@
<scope>provided</scope>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
diff --git a/specs/java.xml.ws/pom.xml b/specs/java.xml.ws/pom.xml
index 8178c7e..3820bf2 100644
--- a/specs/java.xml.ws/pom.xml
+++ b/specs/java.xml.ws/pom.xml
@@ -29,6 +29,19 @@
<artifactId>org.apache.karaf.specs.java.xml.ws</artifactId>
<name>Apache Karaf :: Specs :: Java Xml WS</name>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
diff --git a/specs/java.xml/pom.xml b/specs/java.xml/pom.xml
index 2160054..2063c7a 100644
--- a/specs/java.xml/pom.xml
+++ b/specs/java.xml/pom.xml
@@ -30,6 +30,19 @@
<artifactId>org.apache.karaf.specs.java.xml</artifactId>
<packaging>jar</packaging>
<name>Apache Karaf :: Specs :: Java Xml</name>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
@@ -46,6 +59,7 @@
<artifactId>org.apache.karaf.specs.locator</artifactId>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
diff --git a/specs/locator/pom.xml b/specs/locator/pom.xml
index bdbc577..a677a3c 100644
--- a/specs/locator/pom.xml
+++ b/specs/locator/pom.xml
@@ -29,6 +29,19 @@
<artifactId>org.apache.karaf.specs.locator</artifactId>
<name>Apache Karaf :: Specs :: Locator</name>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
@@ -36,4 +49,5 @@
<scope>provided</scope>
</dependency>
</dependencies>
+
</project>
diff --git a/subsystem/pom.xml b/subsystem/pom.xml
index 6890722..7426801 100644
--- a/subsystem/pom.xml
+++ b/subsystem/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/system/pom.xml b/system/pom.xml
index 5a7fb62..dfb22a0 100644
--- a/system/pom.xml
+++ b/system/pom.xml
@@ -40,6 +40,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/tooling/karaf-maven-plugin/pom.xml b/tooling/karaf-maven-plugin/pom.xml
index e466d8a..0cb66dc 100644
--- a/tooling/karaf-maven-plugin/pom.xml
+++ b/tooling/karaf-maven-plugin/pom.xml
@@ -43,6 +43,18 @@
<plexus-utils.version>3.2.1</plexus-utils.version>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
diff --git a/tooling/karaf-services-maven-plugin/pom.xml b/tooling/karaf-services-maven-plugin/pom.xml
index 32768c6..7635359 100644
--- a/tooling/karaf-services-maven-plugin/pom.xml
+++ b/tooling/karaf-services-maven-plugin/pom.xml
@@ -36,6 +36,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
diff --git a/tooling/utils/pom.xml b/tooling/utils/pom.xml
index 21d584b..71ca3a2 100644
--- a/tooling/utils/pom.xml
+++ b/tooling/utils/pom.xml
@@ -31,6 +31,19 @@
<packaging>bundle</packaging>
<name>Apache Karaf :: Tooling :: Utils</name>
<description>Karaf tooling resuable elsewhere (such as the Karaf pax-exam container).</description>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>commons-io</groupId>
@@ -43,6 +56,7 @@
<scope>test</scope>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
diff --git a/util/pom.xml b/util/pom.xml
index d1b2e02..cf725c2 100644
--- a/util/pom.xml
+++ b/util/pom.xml
@@ -33,6 +33,18 @@
<name>Apache Karaf :: Util</name>
<description>Karaf Util contains utility classes used in different Karaf modules.</description>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/web/pom.xml b/web/pom.xml
index 8d260b4..415e079 100644
--- a/web/pom.xml
+++ b/web/pom.xml
@@ -40,6 +40,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/webconsole/console/pom.xml b/webconsole/console/pom.xml
index 9e1933f..d20d5f3 100644
--- a/webconsole/console/pom.xml
+++ b/webconsole/console/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${project.basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>${servlet.spec.groupId}</groupId>
diff --git a/webconsole/features/pom.xml b/webconsole/features/pom.xml
index a465a71..4cee07b 100644
--- a/webconsole/features/pom.xml
+++ b/webconsole/features/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/webconsole/gogo/pom.xml b/webconsole/gogo/pom.xml
index bbbc561..d025ec7 100644
--- a/webconsole/gogo/pom.xml
+++ b/webconsole/gogo/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/webconsole/http/pom.xml b/webconsole/http/pom.xml
index 388f2cb..dc43815 100644
--- a/webconsole/http/pom.xml
+++ b/webconsole/http/pom.xml
@@ -37,6 +37,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
diff --git a/webconsole/instance/pom.xml b/webconsole/instance/pom.xml
index 6d66a00..b8765b7 100644
--- a/webconsole/instance/pom.xml
+++ b/webconsole/instance/pom.xml
@@ -32,6 +32,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/wrapper/pom.xml b/wrapper/pom.xml
index bfbc17b..fe71c2e 100644
--- a/wrapper/pom.xml
+++ b/wrapper/pom.xml
@@ -41,6 +41,18 @@
<appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>karaf-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.osgi</groupId>