Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit fac09d3

Browse files
committed
Add source and javaDoc plugin for generating needed artifacts.
Otherwise Sonatype complains about missing artifacts during the deployment process.
1 parent 617afec commit fac09d3

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,36 @@
232232
</execution>
233233
</executions>
234234
</plugin>
235+
<plugin>
236+
<groupId>org.apache.maven.plugins</groupId>
237+
<artifactId>maven-source-plugin</artifactId>
238+
<version>${maven-source-plugin.version}</version>
239+
<executions>
240+
<execution>
241+
<id>attach-sources</id>
242+
<goals>
243+
<goal>jar</goal>
244+
</goals>
245+
</execution>
246+
</executions>
247+
</plugin>
248+
<plugin>
249+
<groupId>org.apache.maven.plugins</groupId>
250+
<artifactId>maven-javadoc-plugin</artifactId>
251+
<version>${maven-javadoc-plugin.version}</version>
252+
<executions>
253+
<execution>
254+
<id>attach-javadocs</id>
255+
<goals>
256+
<goal>jar</goal>
257+
</goals>
258+
</execution>
259+
</executions>
260+
<configuration>
261+
<doclint>syntax</doclint>
262+
<doclint>html</doclint>
263+
</configuration>
264+
</plugin>
235265
</plugins>
236266
</build>
237267

0 commit comments

Comments
 (0)