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

Maven bintray repo dependency requires https (README) #269

Open
dleary opened this issue Jan 14, 2020 · 1 comment
Open

Maven bintray repo dependency requires https (README) #269

dleary opened this issue Jan 14, 2020 · 1 comment

Comments

@dleary
Copy link

dleary commented Jan 14, 2020

Apparently the bintray repo dependency needs to use https, not http as currently documented in the README.

Version info

  • intercom-java version: 2.8.1
  • Java version: 1.8.0_232

Expected behavior

Maven build with bintray dependency as declared in the README should work.

Actual behavior

http://jcenter.bintray.com url produces maven error:

[ERROR] Failed to execute goal on project ...: Failed to collect dependencies at io.intercom:intercom-java:jar:2.8.1: Failed to read artifact descriptor for io.intercom:intercom-java:jar:2.8.1: Could not transfer artifact io.intercom:intercom-java:pom:2.8.1 from/to jcenter (http://jcenter.bintray.com): Access denied to: http://jcenter.bintray.com/io/intercom/intercom-java/2.8.1/intercom-java-2.8.1.pom , ReasonPhrase:Forbidden. -> [Help 1]

Changing http://jcenter.bintray.com to https://jcenter.bintray.com yields success.

Steps to reproduce

  1. Declare maven dependency per the README
  2. maven compile
tangm added a commit to tangm/intercom-java that referenced this issue Jan 21, 2020
@tangm
Copy link

tangm commented Jan 21, 2020

Ran into this as well, raised pr #270 .

tangm added a commit to tangm/intercom-java that referenced this issue Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants