Skip to content

Commit d35d7ed

Browse files
committed
Generate javadoc when deploying to Maven.
1 parent fb4beee commit d35d7ed

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,21 @@
3737
</execution>
3838
</executions>
3939
</plugin>
40+
<plugin>
41+
<artifactId>maven-javadoc-plugin</artifactId>
42+
<configuration>
43+
<nonavbar>true</nonavbar> <!-- Navigation bar not used when Javadoc is browsed from IDE. -->
44+
<doclint>-reference</doclint> <!-- Cross-modules references are valid only in aggregated javadoc. -->
45+
</configuration>
46+
<executions>
47+
<execution>
48+
<id>attach-javadocs</id>
49+
<goals>
50+
<goal>jar</goal>
51+
</goals>
52+
</execution>
53+
</executions>
54+
</plugin>
4055
</plugins>
4156
</build>
4257
<distributionManagement>

0 commit comments

Comments
 (0)