public interface MavenUrlReference extends UrlReference
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MavenUrlReference.VersionResolver
Resolves versions based on maven artifact groupId / atifactid.
|
| Modifier and Type | Method and Description |
|---|---|
MavenUrlReference |
artifactId(String artifactId)
Sets the artifact id.
|
MavenUrlReference |
classifier(String classifier)
Sets the artifact classifier.
|
MavenUrlReference |
groupId(String groupId)
Sets the artifact group id.
|
Boolean |
isSnapshot()
Returns true if the specified version is a snapshot version, false if not and null if the
version is not yet specified.
|
MavenUrlReference |
type(String type)
Sets the artifact type.
|
MavenUrlReference |
version(MavenUrlReference.VersionResolver resolver)
Determines the artifact version using an
MavenUrlReference.VersionResolver. |
MavenUrlReference |
version(String version)
Sets the artifact version or version range.
|
MavenUrlReference |
versionAsInProject()
Version will be discovered from the dependencies of Maven project that includes the
regression.
|
getURLMavenUrlReference groupId(String groupId)
groupId - artifact group id (cannot be null or empty)IllegalArgumentException - - If group id is null or emptyMavenUrlReference artifactId(String artifactId)
artifactId - artifact id (cannot be null or empty)IllegalArgumentException - - If artifact id is null or emptyMavenUrlReference type(String type)
type - artifact type (cannot be null or empty)IllegalArgumentException - - If type is null or emptyMavenUrlReference classifier(String classifier)
classifier - artifact classifier (cannot be null or empty)IllegalArgumentException - - If classifier is null or emptyMavenUrlReference version(String version)
ProvisionControl.update(Boolean)).version - artifact version / version range (cannot be null or empty)IllegalArgumentException - - If version is null or emptyMavenUrlReference version(MavenUrlReference.VersionResolver resolver)
MavenUrlReference.VersionResolver.resolver - a MavenUrlReference.VersionResolver (cannot be null)IllegalArgumentException - - If version is nullMavenUrlReference versionAsInProject()
Boolean isSnapshot()
Copyright © 2006–2017 OPS4J - Open Participation Software for Java. All rights reserved.