static class CopyDependenciesTask.ArtifactMatcher.Pattern extends Object
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
containsVersion(org.apache.maven.artifact.versioning.VersionRange allowedRange, org.apache.maven.artifact.versioning.ArtifactVersion theVersion) Copied from Artifact.VersionRange. |
|
boolean |
match(ResolvedArtifact artifact) |
|
String |
toString() |
Copied from Artifact.VersionRange. This is tweaked to handle singular ranges properly. Currently the default containsVersion method assumes a singular version means allow everything. This method assumes that "2.0.4" == "[2.0.4,)"
allowedRange
- range of allowed versions.theVersion
- the version to be checked.