[ https://issues.apache.org/jira/browse/SPARK-22855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299473#comment-16299473 ]
Erik LaBianca commented on SPARK-22855: --------------------------------------- For example: {noformat} [spark] SBT_OPTS=-Dscala-2.12 sbt master ✱ [info] Loading global plugins from /Users/erik/.sbt/0.13/plugins [info] Loading project definition from /Users/erik/Projects/spark/project [info] Compiling 1 Scala source to /Users/erik/Projects/spark/project/target/scala-2.10/sbt-0.13/classes... [info] Resolving key references (16934 settings) ... [info] Set current project to spark-parent (in build file:/Users/erik/Projects/spark/) > ++2.12.4 [info] Setting version to 2.12.4 [info] Reapplying settings... [info] Set current project to spark-parent (in build file:/Users/erik/Projects/spark/) > tags/publishLocal [warn] Binary version (2.11) for dependency org.scala-lang#scala-library;2.11.8 [warn] in org.apache.spark#spark-tags_2.12;2.3.0-SNAPSHOT differs from Scala binary version in project (2.12). [info] Wrote /Users/erik/Projects/spark/common/tags/target/scala-2.12/spark-tags_2.12-2.3.0-SNAPSHOT.pom [info] :: delivering :: org.apache.spark#spark-tags_2.12;2.3.0-SNAPSHOT :: 2.3.0-SNAPSHOT :: integration :: Wed Dec 20 22:07:06 EST 2017 [info] Main Scala API documentation to /Users/erik/Projects/spark/common/tags/target/scala-2.12/api... [info] delivering ivy file to /Users/erik/Projects/spark/common/tags/target/scala-2.12/ivy-2.3.0-SNAPSHOT.xml [info] Compiling 2 Scala sources and 6 Java sources to /Users/erik/Projects/spark/common/tags/target/scala-2.12/classes... [warn] /Users/erik/Projects/spark/common/tags/src/main/java/org/apache/spark/annotation/AlphaComponent.java:33: Implementation restriction: subclassing Classfile does not [warn] make your annotation visible at runtime. If that is what [warn] you want, you must write the annotation class in Java. [warn] public @interface AlphaComponent {} [warn] ^ [warn] /Users/erik/Projects/spark/common/tags/src/main/java/org/apache/spark/annotation/DeveloperApi.java:35: Implementation restriction: subclassing Classfile does not [warn] make your annotation visible at runtime. If that is what [warn] you want, you must write the annotation class in Java. [warn] public @interface DeveloperApi {} [warn] ^ [warn] /Users/erik/Projects/spark/common/tags/src/main/java/org/apache/spark/annotation/Experimental.java:36: Implementation restriction: subclassing Classfile does not [warn] make your annotation visible at runtime. If that is what [warn] you want, you must write the annotation class in Java. [warn] public @interface Experimental {} [warn] ^ [error] /Users/erik/Projects/spark/common/tags/src/main/java/org/apache/spark/annotation/InterfaceStability.java:34: inner classes cannot be classfile annotations [error] public @interface Stable {}; [error] ^ [error] /Users/erik/Projects/spark/common/tags/src/main/java/org/apache/spark/annotation/InterfaceStability.java:41: inner classes cannot be classfile annotations [error] public @interface Evolving {}; [error] ^ [error] /Users/erik/Projects/spark/common/tags/src/main/java/org/apache/spark/annotation/InterfaceStability.java:48: inner classes cannot be classfile annotations [error] public @interface Unstable {}; [error] ^ [warn] /Users/erik/Projects/spark/common/tags/src/main/java/org/apache/spark/annotation/Private.java:41: Implementation restriction: subclassing Classfile does not [warn] make your annotation visible at runtime. If that is what [warn] you want, you must write the annotation class in Java. [warn] public @interface Private {} [warn] ^ [info] No documentation generated with unsuccessful compiler run [warn] four warnings found [error] three errors found [info] Packaging /Users/erik/Projects/spark/common/tags/target/scala-2.12/spark-tags_2.12-2.3.0-SNAPSHOT.jar ... [info] Done packaging. [error] (tags/compile:doc) Scaladoc generation failed [error] Total time: 5 s, completed Dec 20, 2017 10:07:11 PM > {noformat} > Sbt publishLocal under scala 2.12 fails due to invalid javadoc comments in > tags package > --------------------------------------------------------------------------------------- > > Key: SPARK-22855 > URL: https://issues.apache.org/jira/browse/SPARK-22855 > Project: Spark > Issue Type: Bug > Components: Build > Affects Versions: 2.3.0 > Reporter: Erik LaBianca > Priority: Minor > > Attempting to use sbt publishLocal on a 2.12 build fails due to scaladoc. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org