Skip to content

Commit

Permalink
Enable source and javadoc to fix deployment to Sonatype OSS
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd committed May 29, 2024
1 parent bac1ded commit 3ef0707
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,37 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<quiet>true</quiet>
</configuration>
<executions>
<execution>
<id>docs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

<pluginManagement>
Expand Down Expand Up @@ -214,6 +245,17 @@
</build>

<profiles>
<profile>
<id>java8-disable-strict-javadoc</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<doclint>none</doclint>
<quiet>true</quiet>
</properties>
</profile>

<profile>
<id>build-distr</id>
<activation>
Expand Down

0 comments on commit 3ef0707

Please sign in to comment.