You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2010/02/02 12:04:18 UTC

[jira] Commented: (FELIX-2003) maven-bundle-plugin 2.0.1 uses bnd 0.0.357 for which a bugfix is available

    [ https://issues.apache.org/jira/browse/FELIX-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828597#action_12828597 ] 

Stuart McCulloch commented on FELIX-2003:
-----------------------------------------

Note: you can tell Maven to use a different version of the Bnd Tool dependency when running the bundleplugin, for example:

        <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <version>2.0.1</version>
          <dependencies>
            <dependency>
              <groupId>biz.aQute</groupId>
              <artifactId>bndlib</artifactId>
              <version>0.0.366</version>
            </dependency>
          </dependencies>
        </plugin>

put this in your POM (under build/plugins or preferably build/pluginManagement/plugins) and it will use the newer version.

The gotcha is that the new version of the Bnd Tool must be installed either in your local Maven repository, or in one of the
remote repositories used by your POM. At the moment the latest version of the Bnd Tool on Maven central is still 0.0.357.
( I was hoping Peter could hook up his build to deploy releases to Maven central, but this effort seems to have stalled... )


> maven-bundle-plugin 2.0.1 uses bnd 0.0.357 for which a bugfix is available
> --------------------------------------------------------------------------
>
>                 Key: FELIX-2003
>                 URL: https://issues.apache.org/jira/browse/FELIX-2003
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.1
>         Environment: All OS, Mac, PC, Java 1.6.0_17
>            Reporter: Georg Gruetter
>
> BND 0.0.357 contains a bug with respect to locating OSGi service components. Peter Kriens has already fixed this bug in October 2009 and published BND 0.0.366. However, the maven-bundle-plugin still uses version 0.0.357 which causes our builds to fail. A 2.0.2 version of the maven bundle plugin with an updated dependency to the bnd library would be highly helpful. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.