2009/3/11 <[email protected]> > Hi, > > -split-package seems not to work anymore with maven-bundle-plugin:2.0.0. > For example, I have configured maven-bundle-plugin with > > <configuration> > <instructions> > <Export-Package>foo.*;-split-package:=merge-first</Export-Package> > </instructions> > </configuration> > > that worked with maven-bundle-plugin:1.4.3, but now with 2.0.0 I get a > warning. > > Output 1.4.3: > ... > [INFO] [bundle:bundle] > [INFO] [install:install] > ... > > Output 2.0.0: > ... > [INFO] [bundle:bundle] > [WARNING] Warning building bundle foo:foo2:bundle:1 : Split package foo > Use directive -split-package:=(merge-first|merge-last|error|first) on > Export/Private Package instruction to get rid of this warning > Package found in [Jar:., Jar:foo] > Reference from c:\Documents and > Settings\wbsser\.m2\repository\foo\foo\1\foo-1.jar > Classpath [Jar:., Jar:foo] > [INFO] [install:install] > ... > > Is -split-package still accepted, was it deprecated, ...? >
I just tried this myself using the 2.0.0 bundleplugin with a very simple testcase and it worked for me. Perhaps you could zip up your testcase and attach it to a JIRA issue, along with your setup details. Thanks > > --clovis > > ______________________________________ > Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. > Wenn diese E-Mail nicht für Sie bestimmt ist, bitten wir Sie, uns > unverzueglich zu informieren und sie zu loeschen. > > This e-mail message may contain information, which is confidential and > protected. If you are not the intended recipient of this message, we ask you > to inform us immediately and delete the message afterwards. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Cheers, Stuart

