Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
maven-artifact-transfer-0.9.1
-
None
Description
Currently the interface ArtifactInstaller contains the two methods:
public interface ArtifactInstaller { void install( ProjectBuildingRequest request, Collection<Artifact> mavenArtifacts ); void install( ProjectBuildingRequest request, File localRepository, Collection<Artifact> mavenArtifacts ); }
We should make sure that ProjectBuildRequest can't be null. Furthermore the mavenArtifacts should also being checked for null. We need to think if an empty collection is allowed or not? (I think it should not being allowed?)
Apart from that the localRepository should be checked for null and it should be checked for being a directory if it is not null