Comments (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
from sbt-sonatype.
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.
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.
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.
thanks very much!@xuwei-k
Closing.
from sbt-sonatype.
Related Issues (20)
- Unexpected exeption when publishing crossbuild with Scala 3.x artifacts HOT 5
- sonatypeRelease error with worng nexus URL HOT 4
- Can not set sonatypeProfileName HOT 5
- error [Sonatype] [MISSING_PROFILE] Profile winitzki is not found. Check your sonatypeProfileName setting in build.sbt - (Sonatype.scala:425) HOT 4
- Supplied file is a not an existing directory! HOT 3
- Determining Sonatype host on a per-user level, rather than build/project-level? HOT 2
- Promotion Success / Process Failed HOT 19
- [STAGE_FAILURE] Failed to promote the repository HOT 2
- Unable to publish sbt plugin to sonatype due to missing javadoc HOT 1
- NullPointerException "anyController" is null HOT 4
- Need a retry for 502 errors around bundle upload
- Drop requests fail occasionally with 404 HOT 1
- sonatypePublishToBundle not found HOT 12
- wvlet.airframe.http.HttpClientException HOT 13
- SnatypeClient logs not forwarded to sbt client HOT 6
- java.lang.NoClassDefFoundError: wvlet/airframe/rx/RxStream HOT 1
- Publish to Maven Central with new interface HOT 12
- Redirect error on publishSigned HOT 7
- 401 Content access is protected by token HOT 4
- Missing method (java.nio.file.Path.of) when using SonatypeCentralService on Java 8 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-sonatype.