Skip to content

Commit

Permalink
open bnd.reporter for external use
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
  • Loading branch information
stbischof committed Oct 11, 2022
1 parent 31f140a commit 9c6e402
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 5 deletions.
10 changes: 8 additions & 2 deletions biz.aQute.bnd.reporter/bnd.bnd
Expand Up @@ -29,11 +29,17 @@ jtwig.version: 5.86.1.RELEASE

Export-Package: \
biz.aQute.bnd.reporter.service.resource.converter,\
biz.aQute.bnd.reporter.codesnippet,\
biz.aQute.bnd.reporter.codesnippet.dto,\
biz.aQute.bnd.reporter.codesnippet.geneimport,\
biz.aQute.bnd.reporter.component.dto,\
biz.aQute.bnd.reporter.exporter,\
biz.aQute.bnd.reporter.generator,\
biz.aQute.bnd.reporter.gogo.dto,\
biz.aQute.bnd.reporter.manifest.dto,\
biz.aQute.bnd.reporter.codesnippet,\
biz.aQute.bnd.reporter.codesnippet.dto
biz.aQute.bnd.reporter.maven.dto,\
biz.aQute.bnd.reporter.plugins.entries.bundle,\
biz.aQute.bnd.reporter.plugins.entries.bundle

-conditionalpackage: \
aQute.lib.*,\
Expand Down
@@ -0,0 +1,2 @@
@org.osgi.annotation.versioning.Version("1.0.0")
package biz.aQute.bnd.reporter.component.dto;
@@ -0,0 +1,2 @@
@org.osgi.annotation.versioning.Version("1.0.0")
package biz.aQute.bnd.reporter.gogo.dto;
@@ -0,0 +1,2 @@
@org.osgi.annotation.versioning.Version("1.0.0")
package biz.aQute.bnd.reporter.maven.dto;
Expand Up @@ -81,7 +81,7 @@ public ComponentsPlugin() {
}

@Override
public Object extract(final Jar jar, final Locale locale) throws Exception {
public List<ComponentDescriptionDTO> extract(final Jar jar, final Locale locale) throws Exception {
Objects.requireNonNull(jar, "jar");
Objects.requireNonNull(locale, "locale");

Expand Down
Expand Up @@ -31,7 +31,7 @@ public MavenCoordinatePlugin() {
}

@Override
public Object extract(final Jar jar, final Locale locale) {
public MavenCoordinatesDTO extract(final Jar jar, final Locale locale) {
Objects.requireNonNull(jar, "jar");
Objects.requireNonNull(locale, "locale");

Expand Down
Expand Up @@ -74,7 +74,7 @@ public MetatypesPlugin() {
}

@Override
public Object extract(final Jar jar, final Locale locale) throws Exception {
public List<ObjectClassDefinitionDTO> extract(final Jar jar, final Locale locale) throws Exception {
Objects.requireNonNull(jar, "jar");
Objects.requireNonNull(locale, "locale");

Expand Down
@@ -0,0 +1,2 @@
@org.osgi.annotation.versioning.Version("1.0.0")
package biz.aQute.bnd.reporter.plugins.entries.bundle;

0 comments on commit 9c6e402

Please sign in to comment.