Hi,
I want to run blueprint using pax-construct.
In my project directory I have a provision/pom.xml where I define
dependencies to provision the project directly to pax runner.
However I get the following error message along with the following bundle
states after running pax-provision:
[...]
Auto-properties start: file:bundles/slf4j.jdk14_1.6.1.jar
(org.osgi.framework.BundleException: Fragment bundles can not be started.)
Aug 1, 2011 9:20:35 PM
org.apache.aries.blueprint.container.BlueprintExtender start
INFO: No quiesce support is available, so blueprint components will not
participate in quiesce operations
ERROR: Bundle org.apache.aries.testsupport.unit [3] Error starting
file:bundles/org.apache.aries.testsupport.unit_0.3.0.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.aries.testsupport.unit [3]: Unable to resolve 3.0: missing
requirement [3.0] package; (package=junit.framework))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.aries.testsupport.unit [3]: Unable to resolve 3.0: missing
requirement [3.0] package; (package=junit.framework)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3518)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1750)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1179)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:636)
____________________________
Welcome to Apache Felix Gogo
g! lb
START LEVEL 6
ID|State |Level|Name
0|Active | 0|System Bundle (3.2.1)
1|Active | 5|Apache Aries Blueprint Bundle (0.3.0)
2|Active | 5|Apache Aries Util (0.3.0)
3|Installed | 5|Apache Aries Unit Test Support (0.3.0)
4|Active | 5|Apache Aries Proxy (0.3.0)
5|Active | 5|Apache Felix Configuration Admin Service (1.2.8)
6|Resolved | 5|slf4j-jdk14 (1.6.1)
7|Active | 5|slf4j-api (1.6.1)
8|Active | 5|interfaceBundle (1.0.0.SNAPSHOT)
9|Active | 5|implBundle (1.0.0.SNAPSHOT)
10|Active | 5|callerBundle (1.0.0.SNAPSHOT)
11|Active | 1|Apache Felix Gogo Command (0.8.0)
12|Active | 1|Apache Felix Gogo Runtime (0.8.0)
13|Active | 1|Apache Felix Gogo Shell (0.8.0)
===================================================
Below is the dependencies part of my provision/pom.xml:
<dependencies>
<dependency>
<groupId>org.apache.aries.blueprint</groupId>
<artifactId>org.apache.aries.blueprint</artifactId>
<version>0.3</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
<version>1.2.8</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
==================================================
I'm new to Blueprint so all I can understand from the error Message is that
there's a problem either with slf4j or junit (or both..).
What dependencies am I missing?
Thanks,
Christoph