Infosys / openIDP

An open source platform to accelerate and scale DevOps adoption across the enterprise. Contact IDP_OSS@infosys.com for any queries or for latest updates.
https://www.infosys.com/services/agile-devops/offerings/infosys-devops-platform.html
MIT License
100 stars 54 forks source link

paasmule/java-maven-git-alpine:3.3-jdk-8-alpine is not working #139

Open kirthikanthgudimalla opened 1 year ago

kirthikanthgudimalla commented 1 year ago

In build.sh script

MAVEN_BUILD_IMAGE=${MAVEN_BUILD_IMAGE:-${SUPP_DOCKER_REPO}paasmule/java-maven-git-alpine:3.3-jdk-8-alpine }

paasmule/java-maven-git-alpine:3.3-jdk-8-alpine is not working, if i change it to any other repo its giving below error during build.

[INFO] -------------------------< org.infosys:utils >-------------------------- [INFO] Building utils 1.0.0 [3/7] [INFO] --------------------------------[ jar ]--------------------------------- Downloading from jenkins: http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/cli/2.49/cli-2.49.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] idpservices 1.0.0 .................................. SUCCESS [ 0.932 s] [INFO] entities ........................................... SUCCESS [ 2.655 s] [INFO] utils .............................................. FAILURE [ 1.155 s] [INFO] dataapi ............................................ SKIPPED [INFO] businessapi ........................................ SKIPPED [INFO] restapi ............................................ SKIPPED [INFO] authservice 1.0.0 .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.219 s [INFO] Finished at: 2022-10-20T11:45:00Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project utils: Could not resolve dependencies for project org.infosys:utils:jar:1.0.0: Failed to collect dependencies at org.jenkins-ci.main:cli:jar:2.49: Failed to read artifact descriptor for org.jenkins-ci.main:cli:jar:2.49: Could not transfer artifact org.jenkins-ci.main:cli:pom:2.49 from/to jenkins (http://repo.jenkins-ci.org/releases/): Failed to transfer file: http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/cli/2.49/cli-2.49.pom. Return code is: 308 , ReasonPhrase:Permanent Redirect. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :utils [root@idp openIDP]#

krishnakanthbn commented 1 year ago

Hi,

Can you please share some details on the server on which you are trying to install this? Does it have internet connectivity? Are you able to manually download the suspected .POM file on that server (http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/cli/2.49/cli-2.49.pom).

Hope you have followed instructions given in this page --> https://github.com/Infosys/openIDP/wiki/Installation