Skip to content

Commit 8b10719

Browse files
committed
[build] Generate empty javadoc jar to make Sonatype OSS happy
1 parent 9b390b9 commit 8b10719

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

fluss-dist/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,25 @@
259259
</execution>
260260
</executions>
261261
</plugin>
262+
263+
<!-- Generate empty javadoc jar to make Sonatype OSS happy -->
264+
<plugin>
265+
<groupId>org.apache.maven.plugins</groupId>
266+
<artifactId>maven-jar-plugin</artifactId>
267+
<executions>
268+
<execution>
269+
<id>empty-javadoc-jar</id>
270+
<phase>package</phase>
271+
<goals>
272+
<goal>jar</goal>
273+
</goals>
274+
<configuration>
275+
<classifier>javadoc</classifier>
276+
<classesDirectory>${basedir}/javadoc</classesDirectory>
277+
</configuration>
278+
</execution>
279+
</executions>
280+
</plugin>
262281
</plugins>
263282
</build>
264283

0 commit comments

Comments
 (0)