[ https://issues.apache.org/jira/browse/SPARK-22852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299192#comment-16299192 ]
Erik LaBianca commented on SPARK-22852: --------------------------------------- There's a one-liner PR to resolve this at https://github.com/apache/spark/pull/20040 For reference, the current failure looks like this: {noformat} > launcher/publishLocal [info] Packaging /Users/erik/Projects/spark/launcher/target/scala-2.11/spark-launcher_2.11-2.3.0-SNAPSHOT-sources.jar ... [info] Done packaging. [warn] Skipped generating '<exclusion/>' for com.sun.jersey#*. Dependency exclusion should have both 'org' and 'module' to comply with Maven POM's schema. [warn] Skipped generating '<exclusion/>' for com.sun.jersey.jersey-test-framework#*. Dependency exclusion should have both 'org' and 'module' to comply with Maven POM's schema. [warn] Skipped generating '<exclusion/>' for com.sun.jersey.contribs#*. Dependency exclusion should have both 'org' and 'module' to comply with Maven POM's schema. [info] Wrote /Users/erik/Projects/spark/launcher/target/scala-2.11/spark-launcher_2.11-2.3.0-SNAPSHOT.pom [info] :: delivering :: org.apache.spark#spark-launcher_2.11;2.3.0-SNAPSHOT :: 2.3.0-SNAPSHOT :: integration :: Wed Dec 20 17:35:35 EST 2017 [info] delivering ivy file to /Users/erik/Projects/spark/launcher/target/scala-2.11/ivy-2.3.0-SNAPSHOT.xml [info] Main Java API documentation to /Users/erik/Projects/spark/launcher/target/scala-2.11/api... [error] javadoc: error - invalid flag: -Xlint:unchecked [info] Usage: javadoc [options] [packagenames] [sourcefiles] [@files] [info] -overview <file> Read overview documentation from HTML file [info] -public Show only public classes and members [info] -protected Show protected/public classes and members (default) [info] -package Show package/protected/public classes and members [info] -private Show all classes and members [info] -help Display command line options and exit [info] -doclet <class> Generate output via alternate doclet [info] -docletpath <path> Specify where to find doclet class files [info] -sourcepath <pathlist> Specify where to find source files [info] -classpath <pathlist> Specify where to find user class files [info] -cp <pathlist> Specify where to find user class files [info] -exclude <pkglist> Specify a list of packages to exclude [info] -subpackages <subpkglist> Specify subpackages to recursively load [info] -breakiterator Compute first sentence with BreakIterator [info] -bootclasspath <pathlist> Override location of class files loaded [info] by the bootstrap class loader [info] -source <release> Provide source compatibility with specified release [info] -extdirs <dirlist> Override location of installed extensions [info] -verbose Output messages about what Javadoc is doing [info] -locale <name> Locale to be used, e.g. en_US or en_US_WIN [info] -encoding <name> Source file encoding name [info] -quiet Do not display status messages [info] -J<flag> Pass <flag> directly to the runtime system [info] -X Print a synopsis of nonstandard options and exit [info] [info] Provided by Standard doclet: [info] -d <directory> Destination directory for output files [info] -use Create class and package usage pages [info] -version Include @version paragraphs [info] -author Include @author paragraphs [info] -docfilessubdirs Recursively copy doc-file subdirectories [info] -splitindex Split index into one file per letter [info] -windowtitle <text> Browser window title for the documentation [info] -doctitle <html-code> Include title for the overview page [info] -header <html-code> Include header text for each page [info] -footer <html-code> Include footer text for each page [info] -top <html-code> Include top text for each page [info] -bottom <html-code> Include bottom text for each page [info] -link <url> Create links to javadoc output at <url> [info] -linkoffline <url> <url2> Link to docs at <url> using package list at <url2> [info] -excludedocfilessubdir <name1>:.. Exclude any doc-files subdirectories with given name. [info] -group <name> <p1>:<p2>.. Group specified packages together in overview page [info] -nocomment Suppress description and tags, generate only declarations. [info] -nodeprecated Do not include @deprecated information [info] -noqualifier <name1>:<name2>:... Exclude the list of qualifiers from the output. [info] -nosince Do not include @since information [info] -notimestamp Do not include hidden time stamp [info] -nodeprecatedlist Do not generate deprecated list [info] -notree Do not generate class hierarchy [info] -noindex Do not generate index [info] -nohelp Do not generate help link [info] -nonavbar Do not generate navigation bar [info] -serialwarn Generate warning about @serial tag [info] -tag <name>:<locations>:<header> Specify single argument custom tags [info] -taglet The fully qualified name of Taglet to register [info] -tagletpath The path to Taglets [info] -charset <charset> Charset for cross-platform viewing of generated documentation. [info] -helpfile <file> Include file that help link links to [info] -linksource Generate source in HTML [info] -sourcetab <tab length> Specify the number of spaces each tab takes up in the source [info] -keywords Include HTML meta tags with package, class and member info [info] -stylesheetfile <path> File to change style of the generated documentation [info] -docencoding <name> Specify the character encoding for the output [info] 1 error [error] (launcher/compile:doc) javadoc returned nonzero exit code [error] Total time: 0 s, completed Dec 20, 2017 5:35:35 PM {noformat} > sbt publishLocal fails due to -Xlint:unchecked flag passed to javadoc > --------------------------------------------------------------------- > > Key: SPARK-22852 > URL: https://issues.apache.org/jira/browse/SPARK-22852 > Project: Spark > Issue Type: Bug > Components: Build > Affects Versions: 2.2.2 > Reporter: Erik LaBianca > Priority: Minor > > The subject pretty much says it. PublishLocal fails from sbt due to javadoc > receiving -Xlint:unchecked. -- 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