Menu

#296 OSGi Manifest for artifact com.google.code.findbugs: jsr305

3.0.2
closed-fixed
None
5
2015-10-12
2014-02-16
No

Please provide an OSGi manifest for the following artifact:

<dependency>
    <groupId>com.google.code.findbugs</groupId>
    <artifactId>jsr305</artifactId>
    <version>2.0.3</version>
</dependency>

Bundle-SymbolicName: com.google.code.findbugs.jsr305

Discussion

  • Andrey Loskutov

    Andrey Loskutov - 2014-06-19
    • Group: 3.0.0 --> 3.0.1
     
  • Sebastian Davids

    Please ensure that you use package versioning for your exported packages.

     
  • Sebastian Davids

    http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
    http://www.aqute.biz/Bnd/Bnd

    Maybe you only have to do the following:

    <packaging>bundle</packaging>
    
    <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
            <instructions>
                <Export-Package>javax.annotation.*</Export-Package>
            </instructions>
        </configuration>
    </plugin>
    
     
  • Seb

    Seb - 2015-04-01

    Any update on this?

    I wanted to propose a patch for this but I cannot find where the source code for the jsr305 is. It doesn't seem to be in findbugs git repository.

     
  • Tagir Valeev

    Tagir Valeev - 2015-10-09
    • status: open --> closed-fixed
    • assigned_to: Tagir Valeev
    • Group: 3.x --> 3.0.2
     
  • Tagir Valeev

    Tagir Valeev - 2015-10-09

    I published the updated jsr305:
    http://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.1/
    Now there are separate source/jar/javadoc packages; jar package has OSGi configuration. I used Bundle-SymbolicName org.jsr-305 which was the original group ID in jsr-305 project.

    Currently unofficial source mirror is here:
    https://github.com/amaembo/jsr-305
    I updated pom and fixed errors in JavaDoc formatting

     

    Last edit: Tagir Valeev 2015-10-09
  • Mark

    Mark - 2015-10-12

    What's the recommended way for using both jsr305 and javax.annotations using OSGI?

     

Log in to post a comment.