After you run the migrator tool with the getconfig option, the migrator tool creates the repositories.yaml file inside the folder, <working directory>/migration/nexus-migrator.
The repositories.yaml file contains the details of the repositories to be migrated to Artifactory. You can delete the repositories that you do not want to be migrated from this list.
The following example shows a sample repositories.yaml file.
Repositories:
localRepositories:
123Py:
repoLayout: simple-default
type: pypi
status: completed
123maven:
repoLayout: maven-2-default
type: maven
handleReleases: "true"
status: in_progress
123nuget:
repoLayout: simple-default
type: nuget
status: completed
maven-releases:
repoLayout: maven-2-default
type: maven
handleReleases: "true"
status: completed
maven-snapshots:
repoLayout: maven-2-default
type: maven
handleReleases: "true"
nuget-hosted:
repoLayout: simple-default
type: nuget
remoteRepositories:
maven-central:
type: maven
repoLayout: maven-2-default
url: https://repo1.maven.org/maven2/
handleReleases: "true"
nuget.org-proxy:
nuget:
downloadContextPath: api/v2/package
feedContextPath: api/v2
type: nuget
repoLayout: simple-default
url: https://api.nuget.org/v3/index.json
virtualRepositories:
maven-public:
type: maven
repositories:
- maven-releases
- maven-snapshots
- maven-central
repoLayout: maven-2-default
nuget-group:
type: nuget
repositories:
- nuget-hosted
- nuget.org-proxy
repoLayout: simple-default
Blobstores:
- name: default
type: File
path: defaultYou can delete the repository name and the corresponding repository block from the repositories.yaml file to avoid migration of the repository to Artifactory.