Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modular Java: pax-import-bundle...

 
Bradley Beck
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 363
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic