Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions prometheus-metrics-exposition-formats-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,21 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<!-- Required for OSGi: textformats loads protobuf impl via Class.forName -->
<Export-Package>
io.prometheus.metrics.expositionformats.generated*;version="${project.version}"
</Export-Package>
<_exportcontents>
io.prometheus.metrics.expositionformats.internal;version="${project.version}"
</_exportcontents>
Comment thread
zeitlinger marked this conversation as resolved.
</instructions>
Comment thread
zeitlinger marked this conversation as resolved.
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
Expand Down
15 changes: 15 additions & 0 deletions prometheus-metrics-exposition-formats/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,21 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<!-- Required for OSGi: textformats loads protobuf impl via Class.forName -->
Comment thread
zeitlinger marked this conversation as resolved.
Outdated
<Export-Package>
io.prometheus.metrics.expositionformats.generated*;version="${project.version}"
</Export-Package>
<_exportcontents>
io.prometheus.metrics.expositionformats.internal;version="${project.version}"
</_exportcontents>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
Expand Down