Skip to content

Commit 9271cf7

Browse files
committed
Add hosted Javadoc badge
1 parent d6e9c37 commit 9271cf7

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# nostr-java
2-
[![CI](https://github.com/tcheeric/nostr-java/actions/workflows/ci.yml/badge.svg)](https://github.com/tcheeric/nostr-java/actions/workflows/ci.yml)
2+
[![CI](https://github.com/tcheeric/nostr-java/actions/workflows/ci.yml/badge.svg)](https://github.com/tcheeric/nostr-java/actions/workflows/ci.yml) [![Javadoc](https://javadoc.io/badge2/xyz.tcheeric/nostr-java-api/javadoc.svg)](https://javadoc.io/doc/xyz.tcheeric/nostr-java-api)
33

44
`nostr-java` is a Java SDK for the [Nostr](https://github.com/nostr-protocol/nips) protocol. It provides utilities for creating, signing and publishing Nostr events to relays.
55

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@
148148
<groupId>org.apache.maven.plugins</groupId>
149149
<artifactId>maven-javadoc-plugin</artifactId>
150150
<version>${maven-javadoc-plugin.version}</version>
151+
<configuration>
152+
<failOnError>false</failOnError>
153+
<additionalparam>-Xdoclint:none</additionalparam>
154+
</configuration>
151155
<executions>
152156
<execution>
153157
<id>attach-javadocs</id>
@@ -294,6 +298,9 @@
294298
<groupId>org.apache.maven.plugins</groupId>
295299
<artifactId>maven-compiler-plugin</artifactId>
296300
</plugin>
301+
<plugin>
302+
<artifactId>maven-javadoc-plugin</artifactId>
303+
</plugin>
297304
</plugins>
298305

299306
</build>

0 commit comments

Comments
 (0)