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:
    Serialized Form
    • Constructor Detail

      • MultipleArtifactsNotFoundException

        public MultipleArtifactsNotFoundException​(Artifact originatingArtifact,
                                                  List<Artifact> resolvedArtifacts,
                                                  List<Artifact> missingArtifacts,
                                                  List<ArtifactRepository> remoteRepositories)
        Create an instance of the exception with allrequired 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 Detail

      • 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