You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Georg Gruetter (JIRA)" <ji...@apache.org> on 2010/01/26 09:44:34 UTC

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

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
             Fix For: maven-bundle-plugin-2.0.1


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.


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

Posted by "Holger Hoffstätte (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831542#action_12831542 ] 

Holger Hoffstätte commented on FELIX-2003:
------------------------------------------

The bnd repo is already at http://www.aqute.biz/repo - you can add this to your repository manager and it will work. Unfortunately what won't work is then plugging bnd into the maven-bundle-plugin (at least  not the latest version), since it will die with a NoSuchMethodError..
So you need to experiment which version will still work, or update the maven plugin source.


> 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.


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

Posted by "Georg Gruetter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Georg Gruetter closed FELIX-2003.
---------------------------------

    Resolution: Fixed

Thanks Stuart! I wasn't aware of the possibility to manually specify the plugin subdependency in the pom. I'll send Peter an email and ask him to upload the 0.0.366 version to the maven repository.

Cheers,
Georg

> 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.


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

Posted by "Georg Gruetter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832192#action_12832192 ] 

Georg Gruetter commented on FELIX-2003:
---------------------------------------

Thanks for that hint. We currently solved the issue by deploying the
0.0.366 version of bnd to our local Archiva repository. Works for us
but I'll keep an eye on developments on your end.




-- 
mailto:gruetter@gmail.com
blog#http://www.g16g.de
skype:georg.gruetter
icq:343459701


> 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.


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

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch updated FELIX-2003:
------------------------------------

    Fix Version/s:     (was: maven-bundle-plugin-2.0.1)

> 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.