Created attachment 942833 [details] stacktrace Description of problem: Unable to add KieModule to Repository from UrlResource. Version-Release number of selected component (if applicable): 6.0.2 Steps to Reproduce: 1. Create a project in BPM Suite and buid. 2. Access maven url file in browser, (Ex: http://bpms:8080/business-central/maven2/org/kie/example/project1/1.0.1/project1-1.0.1.jar) 3. Execute code above in your application. UrlResource urlResource = (UrlResource) kieServices.getResources().newUrlResource("http://bpms:8080/business-central/maven2/org/kie/example/project1/1.0.1/project1-1.0.1.jar"); urlResource.setBasicAuthentication("enabled"); urlResource.setUsername("bpmsUser"); urlResource.setPassword("bpmsPass"); kieServices.getRepository().addKieModule(urlResource); Actual results: Throws exception (see attach). Expected results: The project added in repository. Additional Info: I removed guvnor-m2-repo from maven configuration file (settings.xml)
Already verified in 'see also' bugzilla BZ1183984. Verified. https://gitlab.mw.lab.eng.bos.redhat.com/bxms/brms/commit/8120ae62871b96b6d6616cebd64254043e42b90d