Serenity-core: When i am creating an serenity maven project using mvn archetype: generate -dfilter=serernity its not able to configure POM.xml correctly

Created on 15 Jan 2020  路  6Comments  路  Source: serenity-bdd/serenity-core

The problem is it is downloading maven-fail-safe-plugin dependency from http://jcenter.bintray.com/org/apache/maven/plugins/maven-failsafe-plugin/2.22.1/maven-failsafe-plugin-2.22.1.pom.

As in the POM.xml the site address is given is http://jcenter.bintray.com which is getting me an error
like this
Authorization failed for http://jcenter.bintray.com/org/apache/maven/plugins/maven-failsafe-plugin/2.22.1/maven-failsafe-plugin-2.22.1.pom 403 Forbidden

I try to change the address by updating it to Https, it works as it downloads all the necessary dependencies but it breaks the Maven project.

Please help.

works-as-intended

Most helpful comment

the problem is that Jcenter is https only since Jan 13, make sure that u change Jcenter repository to use Https.

All 6 comments

403 forbidden sounds like a local network issue of some kind

I can confirm this is not a Serenity issue - you need to make sure maven can access the public repos (or your local artifactory or nexus).

the problem is that Jcenter is https only since Jan 13, make sure that u change Jcenter repository to use Https.

same here

Change the bintray urls in the pom.xml to https. This will be fixed in the next release.

I have tried but updating bintray url to https in pom.xml is not helping as the pom.xml file would still show error

Was this page helpful?
0 / 5 - 0 ratings