Hi,

Try with this set of bundles:
  Option[] bundles = options(
                provision(
                    mavenBundle("org.ops4j.pax.swissbox", 
"pax-swissbox-tinybundles"),
                    wrappedBundle(mavenBundle("org.ops4j.pax.swissbox", 
"pax-swissbox-bnd").getURL()),
                    mavenBundle("org.ops4j.pax.logging", "pax-logging-api"),
                    mavenBundle("org.ops4j.base", "ops4j-base")
                ));


Regards,

Clement

On 20.12.2009, at 22:58, Todor Boev wrote:

> Hi
> I am trying to use PaxExam from maven. I decided to use tiny bundles to spawn 
> a
> bunch of helper test bundles required for my test. I need to deploy tiny 
> bundles
> on the test OSGi framework. What is the easiest way to do this?
> 
> I started deploying pax bundles one after the other following the transitive
> dependencies until I hit a snag with "pax-swissbox-bnd". First this is not a
> bundle. Second it does not contain the  BND code from aQuite anyway. Here is 
> my
> current list of dependencies for tinybundles:
> 
>    <dependency>
>      <groupId>org.ops4j.pax.swissbox</groupId>
>      <artifactId>pax-swissbox-tinybundles</artifactId>
>      <version>1.2.0</version>
>      <scope>test</scope>
>    </dependency>
>    <dependency>
>      <groupId>org.ops4j.base</groupId>
>      <artifactId>ops4j-base-monitors</artifactId>
>      <version>1.2.1</version>
>      <scope>test</scope>
>    </dependency>
>    <dependency>
>      <groupId>org.ops4j.base</groupId>
>      <artifactId>ops4j-base-lang</artifactId>
>      <version>1.2.1</version>
>      <scope>test</scope>
>    </dependency>
>    <dependency>
>      <groupId>org.ops4j.base</groupId>
>      <artifactId>ops4j-base-io</artifactId>
>      <version>1.2.1</version>
>      <scope>test</scope>
>    </dependency>
>    <dependency>
>      <groupId>org.ops4j.base</groupId>
>      <artifactId>ops4j-base-store</artifactId>
>      <version>1.2.1</version>
>      <scope>test</scope>
>    </dependency>
>    <dependency>
>      <groupId>org.ops4j.pax.swissbox</groupId>
>      <artifactId>pax-swissbox-optional-jcl</artifactId>
>      <optional>true</optional>
>      <version>1.2.0</version>
>      <scope>test</scope>
>    </dependency>
>    <dependency>
>      <groupId>org.ops4j.pax.swissbox</groupId>
>      <artifactId>pax-swissbox-bnd</artifactId>
>      <version>1.1.0</version>
>      <scope>test</scope>
>    </dependency>
> 
> Cheers,
> Todor
> 
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to