Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure that javadoc and sources are mandatory for Sonatype #20

Open
jvican opened this issue Oct 16, 2017 · 1 comment
Open

Make sure that javadoc and sources are mandatory for Sonatype #20

jvican opened this issue Oct 16, 2017 · 1 comment

Comments

@jvican
Copy link
Owner

jvican commented Oct 16, 2017

I've seen that certain releases fail to succeed because they lack javadoc and sources. I've assumed that Central forces artifacts to provide javadoc and sources, but I still need to double check this.

With the previous assumption, sbt-release-early should fail if publishArtifact in doc and sources is false and tell users that they should enable those artifacts if they want to sync to Central.

@jvican
Copy link
Owner Author

jvican commented Oct 16, 2017

Some proof for this:

[info] [info]   Evaluate: javadoc-staging
[info] [info] Failed: javadoc-staging, failureMessage:Missing: no javadoc jar found in folder '/org/bitbucket/jplantdev/p2_2.11/0.2.0+1-bb317037'

But it looks like these errors do not make the whole thing fail (?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant