When a snapshot artifact is available in both the project workspace and a remote repository, use the artifact from the project workspace.

I noticed the following when using the aether ant tasks in one of our projects. The project defines a snapshot artifact and in the same project the artifact is used as a dependency. The artifact is also deployed to the remote repository. Now when the resolve task resolves the dependency it will download the artifact from the remote repository. I had expected that it would use the artifact defined in the project.

The changes in this pull request modify the resolve task to behave as I expected. The test ReactorTest::testResolveArtifactThatIsAlreadyDeployed demonstrates this.