Ignoring a dependency and advisor nodes [message #7196] |
Tue, 11 March 2008 19:04  |
Eclipse User |
|
|
|
Hi There,
I've been tearing my hair out trying to get this to work, so hopefully
there's some help on the alias.
I'm trying to resolve a plugin which has a cspex defined to pull in a
number of jars from a maven repository. All of these jars have a groupId
or com.iona.repository and I don't want buckminster to parse any of the
dependencies listed in those poms, as in most cases I'll be satisfying
that dependency by using other OSGi bundles. So what I've done is:
In my cquery, I have the following line:
<cq:advisorNode namePattern="^com\.iona\.repository(\..*)?"
componentType="maven,jar" prune="true"/>
thinking that this will mean any maven or jar artefact will not have its
dependencies parsed.
But to be on the safe side I also have:
<cq:advisorNode namePattern=".*derby.*" componentType="maven,jar"
skipComponent="true"/>
(which one of the com.iona.repository plugins has listed in its pom)
However, when I go to resolve I get:
ERROR [0009] : Unable to find a searchPath for component
org.apache.derby/derby
I don't have an entry for it in the rmap at all, but I thought that by
saying skipComponent, it wouldn't look for this.
Is there a way I can tell Buckminster not to worry about this dependency
and what would be the best way to do it?
I'm so close to having my workspace materialized, it would be great if I
could get these issues ironed out.
Any feedback would be really appreciated.
Adrian.
|
|
|
|
Re: Ignoring a dependency and advisor nodes [message #7244 is a reply to message #7220] |
Wed, 12 March 2008 04:52  |
Eclipse User |
|
|
|
Thomas Hallgren wrote:
> Adrian Skehill wrote:
>> In my cquery, I have the following line:
>>
>> <cq:advisorNode namePattern="^com\.iona\.repository(\..*)?"
>> componentType="maven,jar" prune="true"/>
>>
> I think the problem is right there. The componentType is not plural in
> this place (although it certainly could be when I think about it). The
> type you want here is maven.
>
> Kind Regards,
> Thomas Hallgren
Thanks Thomas, unfortunately no joy. I tried this without the
componentType attribute as well and it still didn't work. Any other
pointers?
Cheers,
Adrian.
|
|
|
Powered by
FUDForum. Page generated in 0.28580 seconds