Skip to content

Commit 6d5b1f8

Browse files
committed
[KYUUBI #6820] Explicitly disable attach-scaladocs for pure Java modules
``` export JAVA_HOME=/path/of/openjdk-17 build/mvn clean install -DskipTests -Dmaven.scaladoc.skip=false ``` ``` [INFO] --- scala-maven-plugin:4.9.2:doc-jar (attach-scaladocs) kyuubi-server-plugin --- [INFO] compiler plugin: BasicArtifact(com.github.ghik,silencer-plugin_2.12.20,1.7.19,null) error: fatal error: object scala in compiler mirror not found. ``` - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) Successfully run the build command ``` export JAVA_HOME=/path/of/openjdk-17 build/mvn clean install -DskipTests -Dmaven.scaladoc.skip=false ``` --- - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6820 from pan3793/scaladoc. Closes #6820 f5cee34 [Cheng Pan] Explicitly disable attach-scaladocs for pure Java modules Authored-by: Cheng Pan <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 4b506f4) Signed-off-by: Cheng Pan <[email protected]>
1 parent 1729fc8 commit 6d5b1f8

File tree

1 file changed

+6
-3
lines changed
  • extensions/server/kyuubi-server-plugin

1 file changed

+6
-3
lines changed

extensions/server/kyuubi-server-plugin/pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@
3535
<plugin>
3636
<groupId>net.alchim31.maven</groupId>
3737
<artifactId>scala-maven-plugin</artifactId>
38-
<configuration>
39-
<skip>true</skip>
40-
</configuration>
38+
<executions>
39+
<execution>
40+
<id>attach-scaladocs</id>
41+
<phase>none</phase>
42+
</execution>
43+
</executions>
4144
</plugin>
4245
</plugins>
4346
</build>

0 commit comments

Comments
 (0)