Exemplo n.º 1
0
 public void resolve(
     ModuleVersionArtifactMetaData artifact, BuildableArtifactResolveResult result) {
   LocalArtifactMetaData artifactMetaData = publishMetaData.getArtifact(artifact.getId());
   if (artifactMetaData != null) {
     result.resolved(artifactMetaData.getFile());
   } else {
     result.notFound(artifact.getId());
   }
 }
 public void resolve(Artifact artifact, BuildableArtifactResolveResult result) {
   String path =
       artifact.getExtraAttribute(
           DefaultIvyDependencyPublisher.FILE_ABSOLUTE_PATH_EXTRA_ATTRIBUTE);
   result.resolved(new File(path));
 }