On Feb 19, 2008 3:27 PM, James Carman <[EMAIL PROTECTED]> wrote:
> I actually thought about that before.  I don't know much about OSGi.
> What exactly is it that you need to do?  Do you need a list of all of
> the "services" that I support?  Because, there are three flavors of
> the same service (ProxyFactory).

This is a copy of the manifest I generated for proxy a few weeks ago
using the felix projects bundle plugin:

http://people.apache.org/~niallp/commons-osgi/commons-proxy-1.0-SNAPSHOT-MANIFEST.MF

The main part is the list of proxy's packages in the "export"
statement and its dependencies in the "import". So I would just be
configuring that plugin in proxy's pom.xml (note in the latest release
we can configure it to drop the "uses" noise. Something like:

            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>1.2.1</version>
                <extensions>true</extensions>
                <configuration>
                    <excludeDependencies>true</excludeDependencies>
                    <instructions>
                        <_nouses>true</_nouses>

<Bundle-SymbolicName>org.apache.commons.proxy</Bundle-SymbolicName>

<Export-Package>org.apache.commons.*;version=${pom.version}</Export-Package>
                    </instructions>
                </configuration>
            </plugin>

and adding a "packaging" of "bundle"

I have this ready to commit to your rc1 branch if you don't mind

Niall

> On 2/19/08, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> > James,
> >
> > I see you gearing up for a first proxy release - is there any chance I
> > could jump in and add OSGi info to proxy's manifest before the
> > release?
> >
> > http://wiki.apache.org/commons/CommonsOsgi
> >
> > Niall
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to