private ServerDetails createInitialResolveDetailsFromDeployDetails ( ServerDetails deployerDetails ) { RepositoryConf oldResolveRepositoryConfig = deployerDetails . getResolveReleaseRepository ( ) ; RepositoryConf oldSnapshotResolveRepositoryConfig = deployerDetails . getResolveSnapshotRepository ( ) ; RepositoryConf resolverReleaseRepos = oldResolveRepositoryConfig == null ? RepositoryConf . emptyRepositoryConfig : oldResolveRepositoryConfig ; RepositoryConf resolveSnapshotRepos = oldSnapshotResolveRepositoryConfig == null ? RepositoryConf . emptyRepositoryConfig : oldSnapshotResolveRepositoryConfig ; return new ServerDetails ( deployerDetails . getArtifactoryName ( ) , deployerDetails . getArtifactoryUrl ( ) , null , null , resolverReleaseRepos , resolveSnapshotRepos , null , null ) ; }
Creates a new ServerDetails object for resolver this will take URL and name from the deployer ServerDetails as a default behaviour