Git Product home page Git Product logo

Comments (5)

ryan-williams avatar ryan-williams commented on September 24, 2024 5

per gitter, a good way to do this is:

sources in (Compile, doc) := Seq()

This generates an empty -javadoc.jar, which lets sonatypeRelease complete successfully

example in the wild

from sbt-sonatype.

xerial avatar xerial commented on September 24, 2024

I believe sbt-sonatype do nothing related to javadoc build process. If you need to skip javadoc/scaladoc generation in sbt, do something like: http://stackoverflow.com/questions/21461798/how-to-disable-scaladoc-generation-in-dist-task-in-play-2-2-x-using-project-bui

from sbt-sonatype.

kailuowang avatar kailuowang commented on September 24, 2024

That's what we did. However the we got this error message after that change:

[info] Failed: javadoc-staging, failureMessage:Missing: no javadoc jar found in folder '/org/typelevel/cats-laws_sjs0.6_2.10/0.5.0'

i.e. we are not generating the javadoc jar but now it's complaining that it couldn't find the javadoc jar. I understand that sbt-sonatype might not be directly managing which artifacts get uploaded, but I am relatively new to sbt, so any help would be appreciated.

from sbt-sonatype.

xuwei-k avatar xuwei-k commented on September 24, 2024

http://central.sonatype.org/pages/requirements.html#supply-javadoc-and-sources

If, for some reason (for example, license issue or it's a Scala project), you can not provide -sources.jar or -javadoc.jar , please make fake -sources.jar or -javadoc.jar with simple README inside to pass the checking.

from sbt-sonatype.

kailuowang avatar kailuowang commented on September 24, 2024

thanks very much!@xuwei-k

Closing.

from sbt-sonatype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.