Skip to content

Commit 93649cf

Browse files
committed
Create empty javadoc and source jars for maven central.
Signed-off-by: Łukasz Dywicki <[email protected]>
1 parent b21f67d commit 93649cf

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

assembly/pom.xml

+27
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,33 @@
5656
</execution>
5757
</executions>
5858
</plugin>
59+
<plugin>
60+
<!-- create empty javadocs adn sources jars for maven central -->
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-jar-plugin</artifactId>
63+
<executions>
64+
<execution>
65+
<id>javadoc-jar</id>
66+
<phase>package</phase>
67+
<goals>
68+
<goal>jar</goal>
69+
</goals>
70+
<configuration>
71+
<classifier>javadoc</classifier>
72+
</configuration>
73+
</execution>
74+
<execution>
75+
<id>sources-jar</id>
76+
<phase>package</phase>
77+
<goals>
78+
<goal>jar</goal>
79+
</goals>
80+
<configuration>
81+
<classifier>sources</classifier>
82+
</configuration>
83+
</execution>
84+
</executions>
85+
</plugin>
5986
</plugins>
6087
</build>
6188

0 commit comments

Comments
 (0)