You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source-javadocprofile generates a javadoc jar using the javadoc plugin in the default packagephase
Later the javadoc jar is replaced when the Scala plugin's doc-jar goal is executed in the verifyphase. This is because it also uses the javadoc classifier.
gerashegalov
changed the title
[BUG] the jar with scaladoc overwrites jar with javadoc
[BUG] the jar with scaladoc overwrites the jar with javadoc
May 31, 2023
Fixes#8440
Java classes are processed by doc-jar in scala-maven-plugin as we leave the default `sendJavaToScalac=true` unchanged
```bash
$ find sql-plugin/ -regex '.*/GpuPackedTableColumn.\(java\|html\|class\)'
sql-plugin/target/spark311/site/scaladocs/com/nvidia/spark/rapids/GpuPackedTableColumn.html
sql-plugin/target/spark311/classes/com/nvidia/spark/rapids/GpuPackedTableColumn.class
sql-plugin/src/main/java/com/nvidia/spark/rapids/GpuPackedTableColumn.jav
```
Signed-off-by: Gera Shegalov <[email protected]>
Describe the bug
The
source-javadoc
profile generates a javadoc jar using the javadoc plugin in the defaultpackage
phaseLater the javadoc jar is replaced when the Scala plugin's doc-jar goal is executed in the
verify
phase. This is because it also uses the javadoc classifier.Thus the resulting published jar https://repo1.maven.org/maven2/com/nvidia/rapids-4-spark_2.12/23.04.1/rapids-4-spark_2.12-23.04.1-javadoc.jar has no
javadoc
outputSteps/Code to reproduce bug
Expected behavior
Options
Environment details (please complete the following information)
Additional context
noticed javadoc generates warnings but actually not "needed" with the current build.
The text was updated successfully, but these errors were encountered: