Skip to content

Commit

Permalink
Merge pull request #798 from Emily-Jiang/fix-issue-796
Browse files Browse the repository at this point in the history
Address the issue #796
  • Loading branch information
donbourne authored Oct 22, 2024
2 parents e76782b + 4e2e94f commit 3973114
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation.versioning</artifactId>
</dependency>
<dependency>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-baseline-maven-plugin</artifactId>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ public abstract class Snapshot {
*
* @return an array of {@link HistogramBucket} if it is available or an empty array if not available
*/
public abstract HistogramBucket[] bucketValues();
@aQute.bnd.annotation.baseline.BaselineIgnore("5.2")
public HistogramBucket[] bucketValues() {
return new HistogramBucket[0];
};

/**
* Writes the values of the snapshot to the given stream.
Expand Down
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

<properties>
<version.osgi.versioning>1.1.0</version.osgi.versioning>
<version.bnd>7.0.0</version.bnd>
<inceptionYear>2017</inceptionYear>
<autorelease>false</autorelease>
<version.microprofile.tck.bom>3.2</version.microprofile.tck.bom>
Expand Down Expand Up @@ -79,7 +80,7 @@
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation.versioning</artifactId>
<version>1.1.0</version>
<version>${version.osgi.versioning}</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -88,6 +89,11 @@
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-baseline-maven-plugin</artifactId>
<version>${version.bnd}</version>
</dependency>

</dependencies>
</dependencyManagement>
Expand Down

0 comments on commit 3973114

Please sign in to comment.