Maven repo dependency url is taking "forever" #25926
-
I have a repository on GitHub which had GitHub Actions since beta release of GitHub Actions without any troubles. This is a simple java-component without lots of dependencies and since it is used during testing of other components, it is really fast to build (about 4 seconds without downloading dependencies) But this changed yesterday when I bumped spring-boot dependency 2.3.2.RELEASE. It took over 4 hours and 20 minutes to finish (!!!): https://github.com/navikt/bidrag-commons-test/pull/49/checks?check_run_id=919269320 This was a feature branch which is merged to master this morning and it is still building… It seems that it first is using our in-house maven repo, before trying the central maven repo… I do not know why, this is a github runner using ubuntu-latest and I cannot figure out where it can get the url from… |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
when it executes an in-house action causes the download-anarchy … this is essiantal a bash-script and I do not understand… bash script:
|
Beta Was this translation helpful? Give feedback.
-
Hi @jactor-rises, This is due to it takes more time to download from local-releases now: https://repo.adeo.no/repository/maven-releases. I tried to ping the url but failed, it seems not accessable now. It will only download from central now, and it only takes 15s on my fork repo. Thanks. |
Beta Was this translation helpful? Give feedback.
-
I am so sorry for not seeing that… I was blind for that error since this has always been a public open repository not needing the internal maven repository Thanx for the effort |
Beta Was this translation helpful? Give feedback.
-
Hi @jactor-rises, Thanks for your reply! Is there any other questions left in this ticket i can help with? |
Beta Was this translation helpful? Give feedback.
-
nothing… I am embarrassed that I didn’t notice this earlier… 🙄 |
Beta Was this translation helpful? Give feedback.
-
Thanks for your confirmation! @jactor-rises . Glad to support! Happy coding! |
Beta Was this translation helpful? Give feedback.
Hi @jactor-rises,
This is due to it takes more time to download from local-releases now: https://repo.adeo.no/repository/maven-releases. I tried to ping the url but failed, it seems not accessable now.
In your pom.xml setting, please comment the section as below:
It will only download from central now, and it only takes 15s on my fork repo.
Please refer to my workflow for more details.
Thanks.