Skip to content

Commit

Permalink
Use property to set failOnError to false
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking committed Nov 28, 2023
1 parent 4574a7b commit e606044
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
</properties>

<dependencies>
Expand Down Expand Up @@ -66,30 +67,4 @@
<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 e606044

Please sign in to comment.