0

When using Apache Maven with maven-bundle-plugin, how to put all bnd warnings in one file, disable console output?

For a big project the number of OSGi-related warnings is big, but they should be analyzed for set of bundles, not one. Putting them together in verbose maven output makes a mess.

UPDATE. Usage example

ALl bnd/manifest related stuff in bnd.bnd file, not inside deep pom.xml structure

  <plugin>    <!-- (2) START -->
    <groupId>org.apache.felix</groupId>
    <artifactId>maven-bundle-plugin</artifactId>
    <extensions>true</extensions>
    <configuration>
      <instructions>
        <include>bnd.bnd</include>
      </instructions>
    </configuration>
  </plugin>    <!-- (2) END -->
Vy Do
  • 46,709
  • 59
  • 215
  • 313
Paul Verest
  • 60,022
  • 51
  • 208
  • 332

0 Answers0