0

I got an old running project that when built shows dependency error.

FAILURE: Build failed with an exception.

Is it because of change of api version from 1.0 to 2.0? If so how to fix it?

Deep
  • 123
  • 1
  • 3
  • 16

1 Answers1

0

Okay so I got the solution to fix. In my case i change the url from https://api.bitbucket.org/1.0/repositories/mumsnbabies/maven_awsiot/raw/releases/co/ibhubs/ibchat/ibchat/0.0.1/ibchat-0.0.1.pom

to

https://api.bitbucket.org/2.0/repositories/mumsnbabies/maven_awsiot/src/releases/co/ibhubs/ibchat/ibchat/0.0.1/ibchat-0.0.1.pom

And adding the following lines of code before the url:

authentication {
            basic(BasicAuthentication)
        }
Deep
  • 123
  • 1
  • 3
  • 16