Re: getting shiro with buckminster [message #718699] |
Thu, 25 August 2011 01:25  |
Eclipse User |
|
|
|
Hi Lothar,
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:searchPath name="maven.central">
<rm:provider xsi:type="maven:MavenProvider" componentTypes="osgi.bundle" readerType="maven2" source="false" mutable="false">
<rm:uri format="http://repo1.maven.org/maven2" />
<maven:mappings>
<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" />
</maven:mappings>
</rm:provider>
</rm:searchPath>
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).
- thomas
On 2011-08-24 19:08, Lothar Werzinger wrote:
> Hi,
>
> 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
> subdirectories
>
> http://repo1.maven.org/maven2/org/apache/shiro/
>
> Any help is highly appreciated.
>
> Thanks in advance!
>
> Lothar
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04170 seconds