Skip to content

Commit a79d8a2

Browse files
committed
Generate missing javadocs jar
1 parent 29a9678 commit a79d8a2

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

codec-native-quic/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,6 @@
11511151
</execution>
11521152
</executions>
11531153
</plugin>
1154-
11551154
<plugin>
11561155
<artifactId>maven-jar-plugin</artifactId>
11571156
<executions>
@@ -1172,6 +1171,18 @@
11721171
</archive>
11731172
</configuration>
11741173
</execution>
1174+
<!-- We must generate a -javadoc JAR file to publish on Maven Central -->
1175+
<execution>
1176+
<id>empty-javadoc-jar</id>
1177+
<phase>package</phase>
1178+
<goals>
1179+
<goal>jar</goal>
1180+
</goals>
1181+
<configuration>
1182+
<classifier>javadoc</classifier>
1183+
<classesDirectory>${basedir}/javadoc</classesDirectory>
1184+
</configuration>
1185+
</execution>
11751186
<!-- Generate the JAR that contains the native library in it. -->
11761187
<execution>
11771188
<id>native-jar</id>

0 commit comments

Comments
 (0)