|Re: getting shiro with buckminster [message #718699]
||Thu, 25 August 2011 01:25
| Thomas Hallgren
Registered: July 2009
You should use the maven2 reader type. The URL must be
http://repo1.maven.org/maven2 to point to the component root. You must also provide a mapping between the
groupId/artifactId used by Maven and the OSGi symbolic name of the bundle. Here's an example from one of our RMAP's that
does this for two well known bundles.
<rm:provider xsi:type="maven:MavenProvider" componentTypes="osgi.bundle" readerType="maven2" source="false" mutable="false">
<rm:uri format="http://repo1.maven.org/maven2" />
<maven:entry artifactId="commons-compress" groupId="org.apache.commons" name="org.apache.commons.compress" />
<maven:entry artifactId="jruby-complete" groupId="org.jruby" name="org.jruby.jruby" />
Please direct future questions to our forum or to our newsgroup (I'm CC'ing this there since I think my reply might be
of use to others).
On 2011-08-24 19:08, Lothar Werzinger wrote:
> I'd like to use shiro, but I can not figure out how to compose a reader to find
> the shiro bundles. I found an url reader example of yours in some forum, but I
> have no idea how to modify it for shiro, as shiro puts all bundles in
> Any help is highly appreciated.
> Thanks in advance!
Powered by FUDForum
. Page generated in 0.02343 seconds