|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException
public class MultipleArtifactsNotFoundException
Exception caused when one or more artifacts can not be resolved because they are not found in the local or remote repositories.
| Constructor Summary | |
|---|---|
MultipleArtifactsNotFoundException(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. use MultipleArtifactsNotFoundException(Artifact, List, List, List) |
|
| Method Summary | |
|---|---|
List<Artifact> |
getMissingArtifacts()
artifacts that could NOT be resolved |
List<Artifact> |
getResolvedArtifacts()
artifacts that could be resolved |
| Methods 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 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public MultipleArtifactsNotFoundException(Artifact originatingArtifact,
List<Artifact> missingArtifacts,
List<ArtifactRepository> remoteRepositories)
MultipleArtifactsNotFoundException(Artifact, List, List, List)
public MultipleArtifactsNotFoundException(Artifact originatingArtifact,
List<Artifact> resolvedArtifacts,
List<Artifact> missingArtifacts,
List<ArtifactRepository> remoteRepositories)
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 Detail |
|---|
public List<Artifact> getResolvedArtifacts()
List of Artifactpublic List<Artifact> getMissingArtifacts()
List of Artifact
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||