Skip to content

Commit

Permalink
Add config to not fail on javadoc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking committed Nov 28, 2023
1 parent 60252bc commit 4574a7b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,30 @@
<version>2.15.2</version>
</dependency>
</dependencies>

<profiles>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 4574a7b

Please sign in to comment.