ARTIFACTORY: How to solve the problem of Maven remote repository cannot list the index of sha1 file from remote repository

ARTIFACTORY: How to solve the problem of Maven remote repository cannot list the index of sha1 file from remote repository

AuthorFullName__c
Zhang Hailang
articleNumber
000006332
ft:sourceType
Salesforce
FirstPublishedDate
2025-01-15T07:39:14Z
lastModifiedDate
2025-01-14
VersionNumber
1
Issue Description 

When using JFrog Artifactory to fetch the index from the Maven Remote repository proxying “https://repo1.maven.org/maven2”, we are encountering an issue where the corresponding .sha1 file index cannot be retrieved.

For example:
After fetching the index, in Artifactory Maven Remote repository, no .sha1 file listed

image1.png
But In the Maven repository page in https://repo1.maven.org/maven2, there are .sha1 files exist.

image2.png

Resolution 


1. In Artifactory, the system property "artifactory.ui.hideChecksums" is true by default. Refer to the following command to view its value. If it is true, you can jump to the second step and change it to false.
curl -uadmin http://192.168.56.143:8082/artifactory/api/system|grep artifactory.ui.hideChecksums

2. Add or Modify “artifactory.ui.hideChecksums=false” in the following configuration file and restart Artifactory
$JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties

3.Check result, now in the index in Artifactory Maven Remote repository, the .sha1 files are listed too.

image3.png