aspose file tools*
The moose likes Other Application Frameworks and the fly likes Modular Java: pax-import-bundle... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Modular Java: pax-import-bundle..." Watch "Modular Java: pax-import-bundle..." New topic
Author

Modular Java: pax-import-bundle...

Bradley Beck
Greenhorn

Joined: Jul 21, 2009
Posts: 3
I'm working the examples in the Modular Java book. I have experience with OSGi but am new to PAX. I'm having trouble getting imported external bundles to provision correctly. I do something like the following but the pax-logging bundles don't show up in the OSGi container...

The dependencies show up in the provision/pom.xml but not in the top-level pom.xml.

Is there a step I'm missing?

Thanks,
-Brad
Bradley Beck
Greenhorn

Joined: Jul 21, 2009
Posts: 3
Had to add the following to the top-level pom.xml...

I guess I assumed they'd be in the standard Maven repos....

Thanks anyway.
-Brad
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 301
Sorry...I somehow overlooked your post until this morning. I was about to ask if you had the OPS4J repo in your Maven repository list, but it looks like you figured it out.

Yeah...you'd think that either (1) more of the Pax stuff would be in central or (2) Pax Construct would automatically add the OPS4J repository to the pom.xml file for you. Either way would be good.


Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
 
 
subject: Modular Java: pax-import-bundle...
 
Similar Threads
Modular Java: servlet container
Central repository for OSGi bundles
Sweet spot of Spring-DM compared to other implementations?
Modular Java: Pax tools
osgi (felix): NoClassDefFoundError: org/apache/commons/logging/LogFactory