Sounds very reasonable. If you can create a JIRA/patch, that would be great!
On Fri, Jan 7, 2011 at 12:25 AM, Shawn Jiang <[email protected]> wrote: > Hello dev, > > Current slf4j import in wink bundles was binded to1.6.1 because of > maven-bundle-plugin genereate the manefest file based on maven dependency. > This in turn will force any wink user in OSGi environment upgrade their > slf4j to 1.6.1. > > This is not easy in some cases. As you know, many OSGi users(including > geronimo) are using PAX-logging as log bridge to OSGi log service. The > slf4j export version in PAX-logging is 1.5.3. > > If wink could change the slf4j import to a range with a lower starting > version. It would be more OSGi user friendly. Following is an example > with wink-common module. Please review it. > > If you agree, I will open a JIRA and attach a complete patch for it. > > --- a/wink-common/pom.xml > +++ b/wink-common/pom.xml > @@ -136,6 +136,9 @@ > --> > org.apache.wink.common.* > </Export-Package> > + <Import-Package> > + org.slf4j.*;version="[1.5,1.7)",* > + </Import-Package> > </instructions> > </configuration> > </plugin> > > -- > > > -- > Shawn >
