Class MultipleArtifactsNotFoundException

All Implemented Interfaces:
Serializable

public class MultipleArtifactsNotFoundException extends ArtifactResolutionException
Exception caused when one or more artifacts can not be resolved because they are not found in the local or remote repositories.
See Also:
  • Constructor Details

    • MultipleArtifactsNotFoundException

      @Deprecated public MultipleArtifactsNotFoundException(Artifact originatingArtifact, List<Artifact> missingArtifacts, List<ArtifactRepository> remoteRepositories)
      Parameters:
      originatingArtifact - the artifact that was being resolved
      missingArtifacts - artifacts that could not be resolved
      remoteRepositories - remote repositories where the missing artifacts were not found
    • MultipleArtifactsNotFoundException

      public MultipleArtifactsNotFoundException(Artifact originatingArtifact, List<Artifact> resolvedArtifacts, List<Artifact> missingArtifacts, List<ArtifactRepository> remoteRepositories)
      Create an instance of the exception with all required information.
      Parameters:
      originatingArtifact - the artifact that was being resolved
      resolvedArtifacts - artifacts that could be resolved
      missingArtifacts - artifacts that could not be resolved
      remoteRepositories - remote repositories where the missing artifacts were not found
  • Method Details

    • getResolvedArtifacts

      public List<Artifact> getResolvedArtifacts()
      artifacts that could be resolved
      Returns:
      List of Artifact
    • getMissingArtifacts

      public List<Artifact> getMissingArtifacts()
      artifacts that could NOT be resolved
      Returns:
      List of Artifact