Skip to main content

Build Issues while building Mule Project on GITHUB Pipeline

with maven version 3.9.0 to 3.9.8

Runtime Version : 4.9.0

Mule Maven plugin Version : 4.1.0 to 4.3.1

 

I am facing issues in downloading dependencies.

 

Can some one help me here on how to get this issue resolved

I am getting following error

The project au.gov.nsw.facs.childstory.esb:cs-audit-logging-app-m4:1.0.0-release2-137 (/opt/atlassian/pipelines/agent/build/cs-audit-logging-app-m4/pom.xml) has 2 errors

3318

 

[ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-maven-plugin:4.1.1 or one of its dependencies could not be resolved: Failed to collect dependencies for org.mule.tools.maven:mule-maven-plugin:jar:4.1.1 (): Failed to read artifact descriptor for org.slf4j:slf4j-simple:jar:2.0.7: Could not transfer artifact org.slf4j:slf4j-simple:pom:2.0.7 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-simple/2.0.7/slf4j-simple-2.0.7.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 2]

 

Even after adding this repository details in POM file of the project, i am getting the same error

<repository> <id>central</id>

<url>https://repo.maven.apache.org/maven2</url>

</repository>

 

Any help will be appreciated

0/9000