You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without Maven Central Repository added, builds under Github Actions sometimes fail due to incorrectly attempting to get Projects from the TAMU file repositories instead of the appropriate ones. Adding Maven Central Repository should resolve this issue.
The problem appears to be network/github related, but this is unclear.
It seems that github, sometimes inconsistently fails to fetch files from maven centrals default repository.
By adding the mirror, an alternative repository is used in addition to maven central.
Failures are inconsistent and do not happen everytime, for example:
The first fails and the second passes, despite being the same commits.
The package that fails is coincidental and will be different from time to time.
(For example here tomcat-embed-websocket-8.5.43.pom fails: https://github.com/TAMULib/CAP/runs/1728569099#step:8:6762 )
Adding what is essentially a second maven central repository to search for the files through adds robustness via the redundancy and helps reduce problems with githubs potential networking issues. For example, central represents the default maven repository and mvnrepository represents the added additional maven repository.
In CAP, this commit is fetching the file from centralhttps://github.com/TAMULib/CAP/runs/1728973172?check_suite_focus=true#step:8:3033 but for a different file it fetches from mvnrepositoryhttps://github.com/TAMULib/CAP/runs/1728973172?check_suite_focus=true#step:8:3036 (after trying both tamu-releases and tamu-snapshots for the package spring-boot-dependencies-1.5.22.RELEASE.pom). It seems that for some reason it failed to fetch spring-boot-dependencies-1.5.22.RELEASE.pom from central and then attempts to fetch from the tamu repositories and finally the mvnrepository.
This essentially makes the mvnrepository a failsafe to use in the event central fails and the files are not on tamu-release and not on tamu-snapshots.
Without Maven Central Repository added, builds under Github Actions sometimes fail due to incorrectly attempting to get Projects from the TAMU file repositories instead of the appropriate ones. Adding Maven Central Repository should resolve this issue.
The problem appears to be network/github related, but this is unclear.
It seems that github, sometimes inconsistently fails to fetch files from maven centrals default repository.
By adding the mirror, an alternative repository is used in addition to maven central.
Failures are inconsistent and do not happen everytime, for example:
The first fails and the second passes, despite being the same commits.
The package that fails is coincidental and will be different from time to time.
(For example here tomcat-embed-websocket-8.5.43.pom fails: https://github.com/TAMULib/CAP/runs/1728569099#step:8:6762 )
Adding what is essentially a second maven central repository to search for the files through adds robustness via the redundancy and helps reduce problems with githubs potential networking issues. For example,
central
represents the default maven repository andmvnrepository
represents the added additional maven repository.In CAP, this commit is fetching the file from
central
https://github.com/TAMULib/CAP/runs/1728973172?check_suite_focus=true#step:8:3033 but for a different file it fetches frommvnrepository
https://github.com/TAMULib/CAP/runs/1728973172?check_suite_focus=true#step:8:3036 (after trying bothtamu-releases
andtamu-snapshots
for the packagespring-boot-dependencies-1.5.22.RELEASE.pom
). It seems that for some reason it failed to fetch spring-boot-dependencies-1.5.22.RELEASE.pom fromcentral
and then attempts to fetch from the tamu repositories and finally themvnrepository
.This essentially makes the
mvnrepository
a failsafe to use in the eventcentral
fails and the files are not ontamu-release
and not ontamu-snapshots
.https://github.com/TAMULib/CAP/runs/1728973172?check_suite_focus=true#step:8:3033
See also:
The following need to be updated:
The text was updated successfully, but these errors were encountered: