public ArtifactPublisher getArtifactPublisher() {
   if (artifactPublisher == null) {
     artifactPublisher =
         dependencyResolutionServices.createArtifactPublisher(getRepositoryHandler());
   }
   return artifactPublisher;
 }
 public DefaultRepositoryHandler getRepositoryHandler() {
   if (repositoryHandler == null) {
     repositoryHandler = dependencyResolutionServices.createRepositoryHandler();
   }
   return repositoryHandler;
 }