Class MultipleArtifactsNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionMultipleArtifactsNotFoundException
(Artifact originatingArtifact, List<Artifact> resolvedArtifacts, List<Artifact> missingArtifacts, List<ArtifactRepository> remoteRepositories) Create an instance of the exception with allrequired information.MultipleArtifactsNotFoundException
(Artifact originatingArtifact, List<Artifact> missingArtifacts, List<ArtifactRepository> remoteRepositories) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionartifacts that could NOT be resolvedartifacts that could be resolvedMethods inherited from class org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
constructArtifactPath, constructMissingArtifactMessage, getArtifact, getArtifactId, getArtifactPath, getClassifier, getGroupId, getOriginalMessage, getPath, getRemoteRepositories, getType, getVersion
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MultipleArtifactsNotFoundException
@Deprecated public MultipleArtifactsNotFoundException(Artifact originatingArtifact, List<Artifact> missingArtifacts, List<ArtifactRepository> remoteRepositories) Deprecated. -
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 resolvedresolvedArtifacts
- artifacts that could be resolvedmissingArtifacts
- artifacts that could not be resolvedremoteRepositories
- remote repositories where the missing artifacts were not found
-
-
Method Details
MultipleArtifactsNotFoundException(Artifact, List, List, List)