// if we cannot calculate the gav, it is not a maven artifact (or hash/sig), return null;
return null;
}
// if we are here, we have GAV, so just pack it and send it back
Maven2ArtifactInfoResourceRespose response = new Maven2ArtifactInfoResourceRespose();
Maven2ArtifactInfoResource data = new Maven2ArtifactInfoResource();
response.setData(data);
data.setGroupId(gav.getGroupId());
data.setArtifactId(gav.getArtifactId());
data.setBaseVersion(gav.getBaseVersion());
data.setVersion(gav.getVersion());