• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Modular Java: pax-import-bundle...

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 422
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Looky! I'm being abducted by space aliens! Me and this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic