Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-655

ArtifactInstaller check for integrity of parameters null, empty collection, being a directory

    Details

      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

        Attachments

          Activity

            People

            • Assignee:
              khmarbaise Karl Heinz Marbaise
              Reporter:
              khmarbaise Karl Heinz Marbaise
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: