Skip to content

Commit

Permalink
Produce a javadoc jar when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Oct 5, 2024
1 parent 7428c6e commit 0fdfd05
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions vertx-grpcio-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,39 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>empty-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${project.basedir}/javadoc</classesDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 0fdfd05

Please sign in to comment.