public StorageFileItem retrieveArtifactPom( ArtifactStoreRequest gavRequest )
throws IllegalOperationException, ItemNotFoundException, StorageException, AccessDeniedException
{
Gav pomGav =
new Gav(
gavRequest.getGav().getGroupId(),
gavRequest.getGav().getArtifactId(),
gavRequest.getGav().getVersion(),
null,
"pom",
gavRequest.getGav().getSnapshotBuildNumber(), gavRequest.getGav().getSnapshotTimeStamp(),
gavRequest.getGav().getName(), gavRequest.getGav().isHash(), gavRequest.getGav().getHashType(),
gavRequest.getGav().isSignature(), gavRequest.getGav().getSignatureType() );
ArtifactStoreRequest pomRequest =
new ArtifactStoreRequest( gavRequest.getMavenRepository(), pomGav, gavRequest.isRequestLocalOnly(),
gavRequest.isRequestRemoteOnly() );
return retrieveArtifact( pomRequest );
}