If you can determine what the list is, you may be able to add it to the base 
pom and get it added to the config of all the child poms. We do that for some 
config properties, however I am not certain if its additive.

Alternatively
Dynamic-Import:  * 
In the base pom
might open up the classloader policy enough.
Ian

On 10 Jun 2010, at 16:34, D. Stuart Freeman wrote:

> Well, I feel silly now, I just had to add emma as a dependency.  However,
> now I'm finding that all my bundles (even the uninstrumented copies)
> have an unresolved constraint looking for package=com.vladium.emma.rt.
> Is there a way to tell bnd that's always optional, or do I have to go
> manually add that to each of my poms?
> 
> On Tue, Jun 08, 2010 at 01:00:06PM -0400, D. Stuart Freeman wrote:
>> I'm having some trouble building instrumented bundles when I use the
>> maven-scr-plugin.  I get errors like:
>> 
>> [FATAL ERROR] org.apache.felix.scrplugin.mojo.SCRDescriptorMojo#execute()
>> caused a linkage error (java.lang.NoClassDefFoundError) and may be
>> out-of-date. Check the realms:
>> [FATAL ERROR] Plugin realm =
>> app0.child-container[org.apache.felix:maven-scr-plugin:1.4.4]
>> 
>> And:
>> 
>> java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT
>> 
>> Has anyone set up a working build with maven-emma-plugin and
>> maven-scr-plugin?  Any ideas why the class can't be found?
>> 
>> On Fri, Jun 04, 2010 at 10:43:16AM -0400, D. Stuart Freeman wrote:
>>> OK, that makes sense.  We don't use the default bundle list, so I think
>>> this will work.
>>> 
>>> Thanks.
>>> 
>>> On Fri, Jun 04, 2010 at 10:39:35AM -0400, Justin Edelson wrote:
>>>> launchpad:start doesn't actually use *anything* in the target directory.
>>>> 
>>>> It sounds like you want to use instrumented bundles. This should be
>>>> possible if you install those bundles into your local maven repository
>>>> with a classifier and then use an alternate bundle list file which
>>>> specifies the classifier for the instrumented bundles.
>>>> 
>>>> Due to the way that bundle list files are merged, you could only do this
>>>> for bundles you define, not those in the default bundle list (if you use
>>>> the default bundle list).
>>>> 
>>>> Justin
>>>> 
>>>> On 6/4/10 10:18 AM, D. Stuart Freeman wrote:
>>>>> Is it possible to configure the path the the jar that gets started by the
>>>>> maven-launchpad-plugin's start goal?  I'd like it to start a jar that's
>>>>> instrumented by emma (in target/emma/) instead of the default one in
>>>>> target/.
>>>>> 
>>>> 
>>> 
>>> -- 
>>> D. Stuart Freeman
>>> Georgia Institute of Technology
>> 
>> 
>> 
>> -- 
>> D. Stuart Freeman
>> Georgia Institute of Technology
> 
> 
> 
> -- 
> D. Stuart Freeman
> Georgia Institute of Technology

Reply via email to