[ https://issues.apache.org/jira/browse/FELIX-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch resolved FELIX-531. ------------------------------------ Resolution: Fixed OK, I've applied a slightly different version of the patch. I changed the parameter to be called "wrapImportPackage" because (hopefully) it makes it clear this is specific to the wrap/bundleall goals, and set the default value to be "*". I also removed the "instructions.put( Analyzer.EXPORT_PACKAGE, "*" );" line because the export package will be calculated by the Bnd analyzer in the "getAnalyzer" call. > Allow the import package scope to be set for the bundleall goal in the > maven-bundle-plugin > ------------------------------------------------------------------------------------------ > > Key: FELIX-531 > URL: https://issues.apache.org/jira/browse/FELIX-531 > Project: Felix > Issue Type: New Feature > Components: Maven Bundle Plugin > Affects Versions: maven-bundle-plugin-1.4.1 > Environment: any > Reporter: Mike Smoot > Assignee: Stuart McCulloch > Priority: Minor > Fix For: maven-bundle-plugin-1.4.1 > > Attachments: importResolution.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > It would be nice if the wrap and bundleall goals of the maven-bundle-plugin > would allow for Import-Packages to allow for optional resolution. > As such, I've created a patch which allows this with a new configuration > parameter: importResolution. This now tells bnd to make all imports optional: > <configuration> > > <importResolution>*;resolution:=optional</importResolution> > </configuration> > I'll attach the patch as soon as I figure out how. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.