maven - Gradle download dependency error -


i'm trying add following dependency:

compile group: 'com.cedarsoft.commons', name:'test-utils', version:'5.0.9' 

gradle downloads couple of jars , i'm getting following error:

pom relocation other version number not supported in gradle : xml-apis#xml-apis;2.0.2   relocated xml-apis#xml-apis;1.0.b2. please update dependency directly use correct version 'xml-apis#xml-apis;1.0.b2'. resolution pick dependencies of relocated element.  artifacts , other metadata    ignored. 

any ideas why , how solve issue?

configurations.all {     resolutionstrategy {         force 'xml-apis:xml-apis:1.4.01'     } } 

or use 1.0.b2. issue there pom of xml-apis redirects 2.0.2 (as khmarbaise wrote) same group , artefact, version being 1.0.b2, somehow fools gradle (or underlying ivy) resolution mechanism.

the credit goes mark petrovic gradle forum


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -