ArtifactResolutionResult artifactResult = null;
if ( configuration.isResolveDependencies() )
{
Artifact artifact = new ProjectArtifact( project );
ArtifactResolutionRequest artifactRequest = new ArtifactResolutionRequest()
.setArtifact( artifact )
.setResolveRoot( false )
.setResolveTransitively( true )