Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
Fixes #2
Browse files Browse the repository at this point in the history
All packages are exported

The new bnd-maven-plugin is the prefered way to generate OSGi-metadata from Maven.
The bnd.bnd file is used to control the output (similar to a POM), but the plugin already manages most of the information provided by maven.
  • Loading branch information
Marc Schlegel authored and lostiniceland committed Dec 23, 2016
1 parent 7517004 commit 8969682
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 2 additions & 0 deletions bnd.bnd
@@ -0,0 +1,2 @@
Bundle-SymbolicName: ${project.groupId}.${project.artifactId}
Export-Package: com.github.danielwegener.logback.kafka.*
19 changes: 16 additions & 3 deletions pom.xml
Expand Up @@ -42,7 +42,7 @@
<developerConnection>scm:git:git@github.com:danielwegener/logback-kafka-appender.git</developerConnection>
<url>git@github.com:danielwegener/logback-kafka-appender.git</url>
<tag>HEAD</tag>
</scm>
</scm>

<developers>
<developer>
Expand Down Expand Up @@ -102,7 +102,6 @@
<version>1.7.10</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>junit-benchmarks</artifactId>
Expand Down Expand Up @@ -162,12 +161,26 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>default-bnd-process</id>
<goals>
<goal>bnd-process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.5</version>
<version>3.0.2</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
Expand Down

0 comments on commit 8969682

Please sign in to comment.