From Artifactory version 7.24.1 (SaaS users) and higher supports Composer V2 allowing download of Drupal version 7 and 8 files from remote repositories.
To define a remote repository to proxy Drupal files as well as the public Composer Packagist
repository follow these steps.
From the Administration module, go to Repositories | Repositories | Remote | Basic tab and set
PHP Composer
to be itsPackage Type
.Set the URL to
https://ftp.drupal.org/
.Under the PHP Composer Settings section, set the
Registry URL
field tohttps://packages.drupal.org/