in mavenivy-adapters/src/main/java/org/apache/easyant/ivy/MavenPublishTrigger.java [46:74]
public void progress(IvyEvent event) {
Project project = (Project) IvyContext
.peekInContextStack(IvyTask.ANT_PROJECT_CONTEXT_KEY);
if (project == null) {
return;
}
if (project.getReference(MAVEN_PUBLISH_TRIGGER_REFERENCE) == null) {
project.addReference(MAVEN_PUBLISH_TRIGGER_REFERENCE, this);
}
Map attributes = event.getAttributes();
String artifact = (String) attributes.get("artifact");
String artifactFile = (String) attributes.get("file");
String type = (String) attributes.get("type");
String ext = (String) attributes.get("ext");
String resolver = (String) attributes.get("resolver");
PublishedArtifact publishedArtifact = new PublishedArtifact();
publishedArtifact.setArtifact(artifact);
publishedArtifact.setExt(ext);
publishedArtifact.setFile(artifactFile);
publishedArtifact.setType(type);
publishedArtifacts.add(publishedArtifact);
extractDeployUrl(resolver);
}