mirror of https://github.com/apache/maven.git
added a getter to ScopeArtifactFilter to enable interrogation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@763009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6c6513cad3
commit
068f969719
|
@ -39,9 +39,13 @@ public class ScopeArtifactFilter
|
|||
private final boolean providedScope;
|
||||
|
||||
private final boolean systemScope;
|
||||
|
||||
private final String scope;
|
||||
|
||||
public ScopeArtifactFilter( String scope )
|
||||
{
|
||||
this.scope = scope;
|
||||
|
||||
if ( Artifact.SCOPE_COMPILE.equals( scope ) )
|
||||
{
|
||||
systemScope = true;
|
||||
|
@ -111,4 +115,9 @@ public class ScopeArtifactFilter
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public String getScope()
|
||||
{
|
||||
return scope;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue