Open zutnop opened 7 years ago
As a workaround, I added
<properties>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
to all pom.xml
-s "release" profile.
When javadoc errors are fixed, remove!
To able to build the project with JDK 11, I upgraded maven-javadoc-plugin version. This also meant that the additionalparam needed to be changed to this:
<configuration>
<doclint>none</doclint>
</configuration>
When building and releasing with java 8, the doclint generates lots of javadoc errors and thus the release builds fail.
Example bugs:
[ERROR] C:\TWE\telekom-workflow-engine\telekom-workflow-engine\src\main\java\ee\telekom\workflow\api\ElementUtil.java:28: warning: no @param for outputElement [ERROR] public static OutputMapping createOutputMapping( Element outputElement ){ [ERROR] ^ [ERROR] C:\TWE\telekom-workflow-engine\telekom-workflow-engine\src\main\java\ee\telekom\workflow\api\ElementUtil.java:28: warning: no @return [ERROR] public static OutputMapping createOutputMapping( Element outputElement ){ [ERROR] ^ [ERROR] C:\TWE\telekom-workflow-engine\telekom-workflow-engine\src\main\java\ee\telekom\workflow\api\ElementUtil.java:51: warning: no @param for arguments [ERROR] public static InputMapping<?>[] createArrayMapping( Object[] arguments ){ [ERROR] ^ [ERROR] C:\TWE\telekom-workflow-engine\telekom-workflow-engine\src\main\java\ee\telekom\workflow\api\ElementUtil.java:51: warning: no @return [ERROR] public static InputMapping<?>[] createArrayMapping( Object[] arguments ){ [ERROR] ^