mirror of https://github.com/apache/maven.git
[MNG-6149] MetadataResolutionResult#getGraph() never resolves request type 'test'
This commit is contained in:
parent
3938817fd3
commit
f7d4bce233
|
@ -115,7 +115,7 @@ public class MetadataResolutionResult
|
||||||
{
|
{
|
||||||
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.runtime );
|
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.runtime );
|
||||||
}
|
}
|
||||||
else if ( requestType.equals( MetadataResolutionRequestTypeEnum.classpathRuntime ) )
|
else if ( requestType.equals( MetadataResolutionRequestTypeEnum.classpathTest ) )
|
||||||
{
|
{
|
||||||
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.test );
|
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.test );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue