Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractVersionChanger - Class in org.codehaus.mojo.versions.change
-
Abstract base class for
VersionChangerimplementations. - AbstractVersionChanger(Model, MutableXMLStreamReader, Log) - Constructor for class org.codehaus.mojo.versions.change.AbstractVersionChanger
-
Creates a new instance providing the model, mutable pom, and a logger.
- AbstractVersionDetails - Class in org.codehaus.mojo.versions.api
-
Base class for
VersionDetails. - AbstractVersionDetails() - Constructor for class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
Creates a new, empty instance.
- addDependencyVersions(Map) - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
-
Merges in the provided map of dependencies and associated available dependency versions
- addExtension(CoreExtension) - Method in class org.codehaus.mojo.versions.model.CoreExtensions
-
Method addExtension.
- APACHE_MAVEN_PLUGINS_GROUPID - Static variable in class org.codehaus.mojo.versions.api.PomHelper
-
Static instance of the
org.apache.maven.pluginsstring - apply(DependencyVersionChange) - Method in class org.codehaus.mojo.versions.change.CompositeVersionChanger
-
Applies the implemented change on the given dependency.
- apply(DependencyVersionChange) - Method in class org.codehaus.mojo.versions.change.DependencyVersionChanger
-
Applies the implemented change on the given dependency.
- apply(DependencyVersionChange) - Method in class org.codehaus.mojo.versions.change.ParentVersionChanger
-
Applies the implemented change on the given dependency.
- apply(DependencyVersionChange) - Method in class org.codehaus.mojo.versions.change.PluginVersionChanger
-
Applies the implemented change on the given dependency.
- apply(DependencyVersionChange) - Method in class org.codehaus.mojo.versions.change.ProjectVersionChanger
-
Applies the implemented change on the given dependency.
- apply(DependencyVersionChange) - Method in interface org.codehaus.mojo.versions.change.VersionChanger
-
Applies the implemented change on the given dependency.
- ARTIFACT_ID - Enum constant in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Token representing the dependency artifactId.
- ARTIFACT_ID - Enum constant in enum org.codehaus.mojo.versions.utils.DependencyBuilder.Location
-
artifactId location
- ArtifactAssociation - Interface in org.codehaus.mojo.versions.api
-
An association between a property and an artifact.
- ArtifactFactory - Class in org.codehaus.mojo.versions.utils
-
Factory for creating
Artifactinstances. - ArtifactFactory(ArtifactHandlerManager) - Constructor for class org.codehaus.mojo.versions.utils.ArtifactFactory
-
Constructs a new instance
- ArtifactVersions - Class in org.codehaus.mojo.versions.api
-
Holds the results of a search for versions of an artifact.
- ArtifactVersions(Artifact, List) - Constructor for class org.codehaus.mojo.versions.api.ArtifactVersions
-
Creates a new
ArtifactVersionsinstance given the artifact and a list ofArtifactVersionobjects. - ArtifactVersions(ArtifactVersions) - Constructor for class org.codehaus.mojo.versions.api.ArtifactVersions
-
Creates a new
ArtifactVersionsinstance as shallow copy of the other - ArtifactVersionsCache - Class in org.codehaus.mojo.versions.api
-
Utility providing a cached
AbstractVersionDetails.getNewestUpdateWithinSegment(Optional, boolean)API - ArtifactVersionsCache(TriFunction) - Constructor for class org.codehaus.mojo.versions.api.ArtifactVersionsCache
-
Constructs a new instance given the concrete function for obtaining the details
- ArtifactVersionService - Class in org.codehaus.mojo.versions.utils
-
Simple cache for
ArtifactVersion
B
- BoundArtifactVersion - Class in org.codehaus.mojo.versions.ordering
-
Represents an immutable artifact version with all segments major to the given segment held in place.
- BoundArtifactVersion(String, Segment) - Constructor for class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
-
Constructs the instance given the version in a text format.
- BoundArtifactVersion(ArtifactVersion, Segment) - Constructor for class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
-
Constructs the instance given a
instance - build() - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
-
Builds the constructed DefaultVersionsHelper object
- build() - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Creates a new instance of
PropertyVersions, based on the values provided to the builder. - build() - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest.Builder
-
Returns the
VersionsHelper.VersionPropertiesMapRequestinstance - build() - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord.Builder
-
Builds the
DependencyChangeRecordinstance - build() - Method in class org.codehaus.mojo.versions.recording.DefaultPropertyChangeRecord.Builder
-
Builds a new
PropertyChangeRecordinstance, based on the values provided to the builder. - build() - Method in class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Creates a new
RuleServiceinstance using the configured inputs. - build() - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Builds the Dependency instance
- build() - Method in class org.codehaus.mojo.versions.utils.ExtensionBuilder
-
Builds the Dependency instance
- builder() - Static method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
Create a new builder instance.
- builder() - Static method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord
-
Returns a new
DefaultDependencyChangeRecord.Builderinstance. - builder() - Static method in class org.codehaus.mojo.versions.recording.DefaultPropertyChangeRecord
-
Returns a new
DefaultPropertyChangeRecord.Builderinstance. - Builder() - Constructor for class org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
-
Creates a new instance
C
- ChangeRecorderNull - Class in org.codehaus.mojo.versions.recording
-
A recorder that ignores updates.
- ChangeRecorderNull() - Constructor for class org.codehaus.mojo.versions.recording.ChangeRecorderNull
-
Creates a new instance
- ChangeRecorderXML - Class in org.codehaus.mojo.versions.recording
-
A recorder of version updates.
- ChangeRecorderXML() - Constructor for class org.codehaus.mojo.versions.recording.ChangeRecorderXML
-
Creates a new instance
- CHANGES_NAMESPACE - Static variable in class org.codehaus.mojo.versions.recording.ChangeRecorderXML
-
The XML namespace used for serialized changes.
- CLASSIFIER - Enum constant in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Token representing the dependency classifier.
- clearAssociations() - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Clears the set of artifacts with which the property is associated
- clearContext() - Method in interface org.codehaus.mojo.versions.utils.ContextualLog
-
Clear the current context.
- clearContext() - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- clearMark(Object) - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Removes the mark under the given
markNr - compare(File, File) - Method in class org.codehaus.mojo.versions.ordering.ReactorDepthComparator
-
Compare two project base directories by their reactor depth, then by their GAV.
- compare(Object, Object) - Method in enum org.codehaus.mojo.versions.utils.PluginComparator
-
Compares to
PluginorReportPlugininstances. - compare(String, String) - Method in enum org.codehaus.mojo.versions.utils.VersionStringComparator
- compare(Dependency, Dependency) - Method in enum org.codehaus.mojo.versions.utils.DependencyComparator
- compare(Property, Property) - Method in enum org.codehaus.mojo.versions.utils.PropertyComparator
-
Compares to
Propertyinstances. - compareTo(ArtifactVersion) - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- compareTo(ArtifactVersions) - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
- compareTo(ArtifactVersions) - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
- CompositeVersionChanger - Class in org.codehaus.mojo.versions.change
-
A composite version changer, which chains version changers together and executes the chain in
CompositeVersionChanger.apply(DependencyVersionChange)until an exception occurs or the chain is through. - CompositeVersionChanger(List) - Constructor for class org.codehaus.mojo.versions.change.CompositeVersionChanger
-
Construct a new composite version changed based on a
Listof version changers - CompositeVersionChanger(VersionChanger[]) - Constructor for class org.codehaus.mojo.versions.change.CompositeVersionChanger
-
Construct a new composite version changed based on an array of version changers
- containsVersion(String) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- containsVersion(String) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns
trueif the specific version is in the list of versions. - ContextualLog - Interface in org.codehaus.mojo.versions.utils
-
A
Logthat knows about multiple contexts and can report on those contexts with separators between each context - convertWildcardsToRegex(String, boolean) - Static method in class org.codehaus.mojo.versions.utils.RegexUtils
-
Converts a wildcard rule to a regex rule.
- CoreExtension - Class in org.codehaus.mojo.versions.model
-
Describes a build extension to utilise.
- CoreExtension() - Constructor for class org.codehaus.mojo.versions.model.CoreExtension
- CoreExtensions - Class in org.codehaus.mojo.versions.model
-
Extensions to load.
- CoreExtensions() - Constructor for class org.codehaus.mojo.versions.model.CoreExtensions
- CoreExtensionsStaxReader - Class in org.codehaus.mojo.versions.model.io.stax
-
Class CoreExtensionsStaxReader.
- CoreExtensionsStaxReader() - Constructor for class org.codehaus.mojo.versions.model.io.stax.CoreExtensionsStaxReader
- createArtifact(String, String, String, String, String, String, boolean) - Method in class org.codehaus.mojo.versions.utils.ArtifactFactory
-
Creates a new
Artifactinstance with the given parameters. - createArtifact(Dependency) - Method in class org.codehaus.mojo.versions.utils.ArtifactFactory
-
Creates an
Artifactobject based on aDependencyinstance - createMavenPluginArtifact(String, String, String) - Method in class org.codehaus.mojo.versions.utils.ArtifactFactory
-
Creates a new "maven-plugin"-type artifact with the given coordinates.
- createProjectBuilderRequest(MavenSession, Consumer...) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Convenience method for creating a
ProjectBuildingRequestinstance based on maven session.
D
- debug(CharSequence) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- debug(CharSequence, Throwable) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- debug(Throwable) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- debugModules(Log, String, Collection) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Outputs a debug message with a list of modules.
- DefaultDependencyChangeRecord - Class in org.codehaus.mojo.versions.recording
-
Represents a change record of a dependency version.
- DefaultDependencyChangeRecord.Builder - Class in org.codehaus.mojo.versions.recording
-
A builder object for
DependencyChangeRecordinstances - DefaultDependencyVersionChange - Class in org.codehaus.mojo.versions.change
-
Represents a change of an artifact's version.
- DefaultDependencyVersionChange(String, String, String, String) - Constructor for class org.codehaus.mojo.versions.change.DefaultDependencyVersionChange
-
Creates a new instance, providing groupId, artifactId of the dependency as well as the old and new versions.
- DefaultPropertyChangeRecord - Class in org.codehaus.mojo.versions.recording
-
Represents a change record of a property version.
- DefaultPropertyChangeRecord.Builder - Class in org.codehaus.mojo.versions.recording
-
Creates a new
DefaultPropertyChangeRecord.Builderinstance - DefaultPropertyVersionChange - Class in org.codehaus.mojo.versions.change
-
Represents a change of a property value
- DefaultPropertyVersionChange(String, String, String) - Constructor for class org.codehaus.mojo.versions.change.DefaultPropertyVersionChange
-
Creates a new instance, providing a property name, old and new values of the property.
- DefaultResolverAdapter - Class in org.codehaus.mojo.versions.api.internal
- DefaultResolverAdapter(ArtifactFactory, RepositorySystem, Log, MavenSession) - Constructor for class org.codehaus.mojo.versions.api.internal.DefaultResolverAdapter
- DefaultSegmentCounter - Enum in org.codehaus.mojo.versions.ordering
-
Default implementation of the
SegmentCounterinterface, using Maven's version rules, i.e. - DefaultVersionsHelper - Class in org.codehaus.mojo.versions.api
-
Helper class that provides common functionality required by both the mojos and the reports.
- DefaultVersionsHelper.Builder - Class in org.codehaus.mojo.versions.api
-
Builder class for DefaultVersionsHelper
- DelegatingContextualLog - Class in org.codehaus.mojo.versions.utils
-
A
ContextualLogimplementation that delegates to a givenLog. - DelegatingContextualLog(Log) - Constructor for class org.codehaus.mojo.versions.utils.DelegatingContextualLog
-
Creates a new
DelegatingContextualLoginstance. - DependencyBuilder - Class in org.codehaus.mojo.versions.utils
-
Builder class for Dependency
- DependencyBuilder.Location - Enum in org.codehaus.mojo.versions.utils
-
Enum representing the location of the element in the POM
- DependencyComparator - Enum in org.codehaus.mojo.versions.utils
-
A comparator used to sort dependencies by group id, artifact id and finally version.
- DependencyFilter - Class in org.codehaus.mojo.versions.filtering
-
Provides a dependency matcher based on the list of strings of
groupId[:artifactId[:version[:type[:classifier[:scope]]]]]for matching dependencies. - DependencyVersionChanger - Class in org.codehaus.mojo.versions.change
-
A
VersionChangerimplementation that changes dependency versions. - DependencyVersionChanger(Model, MutableXMLStreamReader, Log) - Constructor for class org.codehaus.mojo.versions.change.DependencyVersionChanger
-
Constructs a new instance
- dependencyVersionLocalToReactor(Dependency) - Static method in class org.codehaus.mojo.versions.utils.MavenProjectUtils
-
Retrieves dependencies from the dependencies of the project as well as its immediate parent project.
- determineUnchangedSegment(boolean, boolean, boolean, Log) - Static method in class org.codehaus.mojo.versions.utils.SegmentUtils
-
Based on the passed flags, determines which segment which is not to be changed.
E
- equals(Object) - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
- equals(Object) - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
- equals(Object) - Method in class org.codehaus.mojo.versions.change.DefaultDependencyVersionChange
- equals(Object) - Method in class org.codehaus.mojo.versions.change.DefaultPropertyVersionChange
- equals(Object) - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- equals(Object) - Method in class org.codehaus.mojo.versions.utils.ModelNode
- error(CharSequence) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- error(CharSequence, Throwable) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- error(Throwable) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- evaluate(String, Map, Log) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
A lightweight expression evaluation function.
- ExtensionBuilder - Class in org.codehaus.mojo.versions.utils
-
Builder class for Extension
- ExtensionUtils - Class in org.codehaus.mojo.versions.utils
-
Utilities for reading and handling extensions.
- extractDependenciesFromDependencyManagement(MavenProject, boolean, Log) - Static method in class org.codehaus.mojo.versions.utils.MavenProjectUtils
-
Retrieves dependencies from the dependency management of the project as well as its immediate parent project.
- extractDependenciesFromPlugins(MavenProject) - Static method in class org.codehaus.mojo.versions.utils.MavenProjectUtils
-
Retrieves dependencies from plugin management
- extractExpression(String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Strips the expression token markers from the start and end of the string.
- extractPluginDependenciesFromPluginsInPluginManagement(MavenProject) - Static method in class org.codehaus.mojo.versions.utils.MavenProjectUtils
-
Retrieves dependencies from the plugins section
F
- filter(Predicate) - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
-
Creates a new
ArtifactVersionsinstance from the current instance using a filter predicate, matching version strings allowing to select versions which can remain in the resulting list of versions. - filter(Map, Function) - Static method in class org.codehaus.mojo.versions.utils.MiscUtils
-
Filters a given map leaving only elements fulfilling a predicate.
- filter(Map, Function, BinaryOperator) - Static method in class org.codehaus.mojo.versions.utils.MiscUtils
-
Filters a given map leaving only elements fulfilling a predicate.
- filterByRuleService(String, String, ArtifactVersions, RuleService, Log) - Static method in class org.codehaus.mojo.versions.rule.RuleServiceUtils
-
Filters the given
ArtifactVersionsby ignoring versions as specified by theRuleServicefor the given artifact. - filterDependencies(Collection, List, List, String, Log) - Static method in class org.codehaus.mojo.versions.filtering.DependencyFilter
-
Returns a set of dependencies filtered by the given include- and exclude filters.
- findProperty(String, ModelNode) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Traverses the module tree upwards searching for the closest definition of a property with the given name.
- forType(String) - Static method in enum org.codehaus.mojo.versions.api.IgnoreVersionHelper.IgnoreVersionType
G
- get(V, Optional, boolean) - Method in class org.codehaus.mojo.versions.api.ArtifactVersionsCache
-
Returns the required information for the given
ArtifactVersionsobject and the given update scope. - getAllChildModules(Model, Log) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Returns a set of all child modules for a project, including any defined in profiles (ignoring profile activation).
- getAllChildModules(MavenProject, Log) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Returns a set of all child modules for a project, including any defined in profiles (ignoring profile activation).
- getAllUpdates(boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getAllUpdates(boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the all versions newer than the specified current version
- getAllUpdates(Optional, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getAllUpdates(Optional, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the all versions newer than the specified current version, but within the specified update scope.
- getAllUpdates(ArtifactVersion, Optional, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getAllUpdates(ArtifactVersion, Optional, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the all versions newer than the specified current version, but within the specified update scope.
- getAllUpdates(VersionRange, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getAllUpdates(VersionRange, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the all versions newer than the specified current version, but within the specified update scope.
- getArtifact() - Method in interface org.codehaus.mojo.versions.api.ArtifactAssociation
-
Returns the artifact associated with the property
- getArtifact() - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
-
Returns the artifact who's version information we are holding.
- getArtifact() - Method in exception class org.codehaus.mojo.versions.api.VersionRetrievalException
-
Returns the artifact causing the problem with version retrieval, if available
- getArtifactId() - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
-
Returns the artifactId of the artifact which versions we are holding.
- getArtifactId() - Method in class org.codehaus.mojo.versions.change.DefaultDependencyVersionChange
-
Returns the artifact of the dependency
- getArtifactId() - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Get the artifact ID of the extension.
- getArtifactId(Model) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Extracts the artifactId from a raw model, interpolating from the parent if necessary.
- getArtifactVersion(String) - Static method in class org.codehaus.mojo.versions.utils.ArtifactVersionService
-
Get an
ArtifactVersioninstance for the given version string. - getAssociations() - Method in class org.codehaus.mojo.versions.api.PropertyVersions
-
Returns an array of artifacts associated with the property
- getAssociations() - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Returns a set of
ArtifactAssociation, listing artifacts with which the property is associated - getBestFitRule(String, String) - Method in class org.codehaus.mojo.versions.rule.RuleService
-
Find the rule, if any, which best fits the artifact details given.
- getBetween(Object, Object) - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Returns the substring of the document between the end of the first mark and the start of the second marked element
- getBuildExtensions(MavenProject, Log, boolean) - Static method in class org.codehaus.mojo.versions.utils.ExtensionUtils
-
Returns a stream of build extensions configured for the given project
- getBuildNumber() - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- getChildModels(Map, String, String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Returns all the models that have a specified groupId and artifactId as parent.
- getChildModels(MavenProject, Log) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Builds a map of raw models keyed by module path.
- getClassLoadingStrategy() - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Get the class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).
- getCoreExtensions(MavenProject) - Static method in class org.codehaus.mojo.versions.utils.ExtensionUtils
-
Reads the core extensions configured for the given project from the
${project}/.mvn/extensions.xmlfile. - getCurrentEndingCharOffset() - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Returns current (adjusted by
MutableXMLStreamReader.deltaending char offset - getCurrentStartingCharOffset() - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Returns current (adjusted by
MutableXMLStreamReader.deltastarting char offset - getCurrentVersion() - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getCurrentVersion() - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the current version.
- getCurrentVersionRange() - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getCurrentVersionRange() - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the current version range (may be
null) - getDependencies() - Method in class org.codehaus.mojo.versions.api.Property
-
Dependencies that must be available for this property.
- getDependencyVersions() - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
-
Returns a map of dependencies and associated available dependency versions
- getExcludeProperties() - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
Returns the value of
VersionsHelper.VersionPropertiesMapRequest.excludeProperties - getExtensions() - Method in class org.codehaus.mojo.versions.model.CoreExtensions
-
Method getExtensions.
- getFileName() - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Returns the name of the file associated with the document
- getGAV(Model) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Returns the GAV coordinates of a model.
- getGroupId() - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
-
Returns the groupId of the artifact which versions we are holding.
- getGroupId() - Method in class org.codehaus.mojo.versions.change.DefaultDependencyVersionChange
-
Returns the groupId of the dependency
- getGroupId() - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Get the group ID of the extension's artifact.
- getGroupId(Model) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Extracts the groupId from a raw model, interpolating from the parent if necessary.
- getHighestLowerBound(ArtifactVersion) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
If a version is a version range consisting of one or more version ranges, returns the highest lower bound.
- getId() - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Gets the identifier of the extension.
- getIgnoredVersions(String, String) - Method in class org.codehaus.mojo.versions.rule.RuleService
-
Returns a list of versions which should not be considered when looking for updates.
- getIgnoredVersions(Artifact) - Method in class org.codehaus.mojo.versions.rule.RuleService
-
Returns a list of versions which should not be considered when looking for updates.
- getIncludeFilter() - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
A
Predicate<org.apache.maven.artifact.Artifact>telling if an artifact that the property is associated with is to be taken into account. - getIncludeProperties() - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
Returns the value of
VersionsHelper.VersionPropertiesMapRequest.includeProperties - getIncrementalVersion() - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- getKind() - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord
- getLocalRoot(ProjectBuilder, MavenSession, Log) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Finds the local root of the current project of the
MavenSessioninstance. - getLog() - Method in class org.codehaus.mojo.versions.change.AbstractVersionChanger
-
Returns the
Loginstance - getLog() - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Returns the logger currently set on this factory.
- getLowerBound(ArtifactVersion, Optional) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
Returns the string designation of the lower bound version based on the given artifact version and the lowest unchanged segment index (0-based); -1 means that the whole version string can be changed, implying that there is also no string designation of the lower bound version.
- getMajorVersion() - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- getMavenProject() - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
Returns the
MavenProjectobject - getMinorVersion() - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- getModel() - Method in class org.codehaus.mojo.versions.change.AbstractVersionChanger
-
Returns the Maven Model instance
- getModel() - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Returns the Maven model currently set on this factory.
- getModel() - Method in class org.codehaus.mojo.versions.utils.ModelNode
-
Returns the
Modelinstance associated with the given node. - getModel(Map, String, String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Returns the model that has the specified groupId and artifactId or
nullif no such model exists. - getModelEncoding() - Method in class org.codehaus.mojo.versions.model.CoreExtensions
-
Get the modelEncoding field.
- getModelEntry(Map, String, String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Returns the model that has the specified groupId (if specified) and artifactId or
nullif no such model exists. - getMutableXMLStreamReader() - Method in class org.codehaus.mojo.versions.utils.ModelNode
-
Gets the
MutableXMLStreamReaderinstance - getName() - Method in class org.codehaus.mojo.versions.api.Property
-
Returns the property name
- getName() - Method in class org.codehaus.mojo.versions.api.PropertyVersions
-
Returns the name of the property
- getName() - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Returns the property name
- getNewerVersions(String, Optional, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getNewerVersions(String, Optional, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns an array of newer versions than the given version, given the upper bound segment and whether snapshots should be included.
- getNewestUpdateWithinSegment(Optional, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getNewestUpdateWithinSegment(Optional, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the newest version newer than the specified current version, only within the segment specified by
updateScopeornullif no such version exists. - getNewestUpdateWithinSegment(ArtifactVersion, Optional, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getNewestUpdateWithinSegment(ArtifactVersion, Optional, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the newest version newer than the specified current version, but within the specified update scope or
nullif no such version exists. - getNewestVersion(String, Optional, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getNewestVersion(String, Optional, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the latest version, newer than the given version, given the upper bound segment and whether snapshots should be included.
- getNewestVersion(String, Property, boolean, Collection, boolean, Optional) - Method in class org.codehaus.mojo.versions.api.PropertyVersions
-
Retrieves the newest artifact version for the given property-denoted artifact or
nullif no newer version could be found. - getNewestVersion(Restriction, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getNewestVersion(Restriction, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the latest version newer than the specified current version, but less than the specified upper bound or
nullif no such version exists. - getNewestVersion(VersionRange, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getNewestVersion(VersionRange, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the latest version within the specified version range or
nullif no such version exists. - getNewestVersion(VersionRange, Restriction, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getNewestVersion(VersionRange, Restriction, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the latest version newer than the specified current version, but less than the specified upper bound or
nullif no such version exists. - getNewestVersion(VersionRange, Restriction, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getNewestVersion(VersionRange, Restriction, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the latest version given the version range, restricition, whether to include snapshots and/or allow downgrades, or
nullif no such version exists. - getNewValue() - Method in class org.codehaus.mojo.versions.change.DefaultPropertyVersionChange
-
Returns the new value of the property
- getNewVersion() - Method in class org.codehaus.mojo.versions.change.DefaultDependencyVersionChange
-
Returns the new version of the dependency
- getOldValue() - Method in class org.codehaus.mojo.versions.change.DefaultPropertyVersionChange
-
Returns the old value of the property
- getOldVersion() - Method in class org.codehaus.mojo.versions.change.DefaultDependencyVersionChange
-
Returns the old version of the dependency
- getParent() - Method in class org.codehaus.mojo.versions.utils.ModelNode
-
Gets the parent node.
- getPattern() - Method in class org.codehaus.mojo.versions.filtering.WildcardMatcher
-
Returns the pattern to be matched against
- getPom() - Method in class org.codehaus.mojo.versions.change.AbstractVersionChanger
-
Returns the
MutableXMLStreamReaderinstance representing the parsed and possibly modified POM file. - getPom() - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Returns the mutable POM XML reader currently set on this factory.
- getPredicate() - Method in enum org.codehaus.mojo.versions.api.IgnoreVersionHelper.IgnoreVersionType
- getProfileId() - Method in class org.codehaus.mojo.versions.api.PropertyVersions
-
Returns the id of the profile
- getProjectVersion(MutableXMLStreamReader) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Retrieves the project version from the pom.
- getProperties() - Method in class org.codehaus.mojo.versions.utils.PropertiesVersionsFileReader
-
Returns the string contents of the property file
- getPropertiesConfig() - Method in class org.codehaus.mojo.versions.utils.PropertiesVersionsFileReader
-
Returns the array of
Propertyobjects - getProperty() - Method in class org.codehaus.mojo.versions.change.DefaultPropertyVersionChange
-
Returns the property name
- getPropertyDefinitions() - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
Returns the
Propertyarray - getPropertyVersionsBuilders(ResolverAdapter, Log, MavenProject, boolean) - Method in class org.codehaus.mojo.versions.api.PomHelper
-
Examines the project to find any properties which are associated with versions of artifacts in the project.
- getQualifier() - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- getRawModel(File) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Gets the raw model before any interpolation what-so-ever.
- getRawModel(Reader) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Gets the current raw model before any interpolation what-so-ever.
- getRawModel(String, File) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Gets the current raw model before any interpolation what-so-ever.
- getRawModel(MavenProject) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Gets the raw model before any interpolation what-so-ever.
- getRawModelTree(ModelNode, Log) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Builds a
ModelNodetree of raw models keyed by module path and returns a list of all nodes, ordered depth-first visiting order. - getReactorParentCount(Map, Model) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Returns a count of how many parents a model has in the reactor.
- getReportNewestUpdate(Optional, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
Returns the latest version newer than the specified current version, and within the specified update scope, or
nullif no such version exists. - getReportUpdates(Optional, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
Returns all versions newer than the specified current version, and within the specified update scope.
- getRuleSet() - Method in class org.codehaus.mojo.versions.rule.RuleService
-
Returns the configured
RuleSet. - getSegment() - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
-
Returns the most major segment that can change.
- getSegment() - Method in exception class org.codehaus.mojo.versions.ordering.InvalidSegmentException
-
Returns the invalid
Segment. - getSegmentCount() - Method in exception class org.codehaus.mojo.versions.ordering.InvalidSegmentException
-
Returns the number of segments in the version.
- getSegmentCount(ArtifactVersion) - Method in enum org.codehaus.mojo.versions.ordering.DefaultSegmentCounter
-
Returns the number of segments specified or specifiable in the supplied artifact version.
- getSegmentCount(ArtifactVersion) - Method in interface org.codehaus.mojo.versions.ordering.SegmentCounter
-
Returns the number of segments specified or specifiable in the supplied artifact version.
- getSelectedRestriction(ArtifactVersion) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
If the artifact is bound by one or more version ranges, returns the restriction that constitutes the version range containing the selected actual version.
- getSource() - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Returns the current state of the document, in string format
- getTokenExtractor() - Method in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Returns a function that extracts this token's value from a
Dependency. - getType() - Method in enum org.codehaus.mojo.versions.api.IgnoreVersionHelper.IgnoreVersionType
- getValue() - Method in class org.codehaus.mojo.versions.api.Property
-
Returns the value of the property
- getVersion() - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
-
Returns the artifactId of the artifact which versions we are holding.
- getVersion() - Method in class org.codehaus.mojo.versions.api.Property
-
Returns the property version
- getVersion() - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Get the version of the extension.
- getVersion() - Method in exception class org.codehaus.mojo.versions.ordering.InvalidSegmentException
-
Returns the
ArtifactVersionassociated with the exception. - getVersion(Model) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Extracts the version from a raw model, interpolating from the parent if necessary.
- getVersionChange() - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord
- getVersionChange() - Method in class org.codehaus.mojo.versions.recording.DefaultPropertyChangeRecord
- getVersionPropertiesMap(VersionsHelper.VersionPropertiesMapRequest) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- getVersionPropertiesMap(VersionsHelper.VersionPropertiesMapRequest) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Returns a map of
PropertyVersionsvalues keyed byPropertyinstances consisting of the properties defined in the project which are associated with version information. - getVersionRange() - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Returns the version range
- getVersions(boolean) - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
- getVersions(boolean) - Method in class org.codehaus.mojo.versions.api.PropertyVersions
-
Uses the
DefaultVersionsHelperto find all available versions that match all the associations with this property. - getVersions(boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns all available versions in increasing order.
- getVersions(Collection) - Method in class org.codehaus.mojo.versions.api.PropertyVersions
-
Uses the supplied
CollectionofArtifactinstances to see if an ArtifactVersion can be provided. - getVersions(Restriction, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getVersions(Restriction, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns all available versions within the specified bounds.
- getVersions(VersionRange, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getVersions(VersionRange, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns all available versions within the specified version range.
- getVersions(VersionRange, Restriction, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- getVersions(VersionRange, Restriction, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns all available versions within the specified bounds.
- getWildcardScore(String) - Static method in class org.codehaus.mojo.versions.utils.RegexUtils
-
Calculates a score for a wildcard rule.
- GROUP_ID - Enum constant in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Token representing the dependency groupId.
- GROUP_ID - Enum constant in enum org.codehaus.mojo.versions.utils.DependencyBuilder.Location
-
groupId location
H
- hashCode() - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
- hashCode() - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
- hashCode() - Method in class org.codehaus.mojo.versions.change.DefaultDependencyVersionChange
- hashCode() - Method in class org.codehaus.mojo.versions.change.DefaultPropertyVersionChange
- hashCode() - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- hashCode() - Method in class org.codehaus.mojo.versions.utils.ModelNode
- hasMark(Object) - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
If the mark with the given
markNrhas been recorded
I
- IgnoreVersionHelper - Class in org.codehaus.mojo.versions.api
-
Helper class for
IgnoreVersion - IgnoreVersionHelper.IgnoreVersionType - Enum in org.codehaus.mojo.versions.api
- INCREMENTAL - Enum constant in enum org.codehaus.mojo.versions.api.Segment
-
Incremental segment (0-based index 2)
- info(CharSequence) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- info(CharSequence, Throwable) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- info(Throwable) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- INSTANCE - Enum constant in enum org.codehaus.mojo.versions.ordering.DefaultSegmentCounter
-
Singleton instance of the class
- INSTANCE - Enum constant in enum org.codehaus.mojo.versions.utils.DependencyComparator
-
The singleton instance.
- INSTANCE - Enum constant in enum org.codehaus.mojo.versions.utils.PluginComparator
-
The singleton instance.
- INSTANCE - Enum constant in enum org.codehaus.mojo.versions.utils.PropertyComparator
-
The singleton instance.
- interpolateVersion(String, MavenProject) - Static method in class org.codehaus.mojo.versions.utils.MavenProjectUtils
-
Attempts to interpolate the version from model properties.
- InvalidSegmentException - Exception Class in org.codehaus.mojo.versions.ordering
-
Exception thrown when an invalid
Segmentis referenced for a particularArtifactVersion. - InvalidSegmentException(Segment, int, ArtifactVersion) - Constructor for exception class org.codehaus.mojo.versions.ordering.InvalidSegmentException
-
Constructs a new
InvalidSegmentException. - isArtifactUpdateAvailable() - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
-
Returns true if a new version of the artifact fulfilling the criteria (whether to include snapshots) can be found
- isAssociated() - Method in class org.codehaus.mojo.versions.api.PropertyVersions
-
Says whether the property is associated with a dependency
- isAssociated() - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Returns
trueis the property is associated with any artifact - isAutoLinkDependencies() - Method in class org.codehaus.mojo.versions.api.Property
-
Whether properties linking versions should be auto-detected or not
- isAutoLinkItems() - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
Returns the value of
VersionsHelper.VersionPropertiesMapRequest.autoLinkItemsIf not set, it is assumed to betrue - isBanSnapshots() - Method in class org.codehaus.mojo.versions.api.Property
-
Specifies whether snapshots should not be considered
- isDebugEnabled() - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- isDependencyUpdateAvailable() - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
-
Returns true if a new version of the dependency can be found
- isEmpty(boolean) - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
-
Says whether the versions present in the
ArtifactVersionscollection are empty. - isErrorEnabled() - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- isExplicitVersion(Model) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Checks to see if the model contains an explicitly specified version.
- isIncludeParent() - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
Returns the value of
VersionsHelper.VersionPropertiesMapRequest.includeParent. - isIncludeSnapshots() - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
-
Returns whether snapshots should be considered in version searches
- isInfoEnabled() - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- isMajorTo(Segment) - Method in enum org.codehaus.mojo.versions.api.Segment
-
Returns true if the given segment is more major than the other
- isModified() - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Whether the document has been modified
- isPreferReactor() - Method in class org.codehaus.mojo.versions.api.Property
-
Says whether, when
Property.searchReactoristrueand a property version can be entirely satisfied from the reactor and this setting istruethen the reactor version will be specified irrespective of any other settings (includingProperty.isBanSnapshots()). - isPreReleaseVersion(String) - Static method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
Checks if the given version string represents a pre-release version.
- isSearchReactor() - Method in class org.codehaus.mojo.versions.api.Property
-
Says whether reactor should be searched for the artifact version
- isUpdateAvailable() - Method in class org.codehaus.mojo.versions.api.PluginUpdatesDetails
-
Returns true if a new version of the dependency can be found
- isUsePluginRepositories() - Method in interface org.codehaus.mojo.versions.api.ArtifactAssociation
-
Tells whether the current association uses plugin repositories
- isValidType(IgnoreVersion) - Static method in class org.codehaus.mojo.versions.api.IgnoreVersionHelper
-
Check if type for given ignoredVersion is valid.
- isVersionIgnored(String, IgnoreVersion) - Static method in class org.codehaus.mojo.versions.api.IgnoreVersionHelper
-
Check if the provided version is ignored by the provided
IgnoreVersioninstance - isVersionIgnored(Version, IgnoreVersion) - Static method in class org.codehaus.mojo.versions.api.IgnoreVersionHelper
-
Check if the provided version is ignored by the provided
IgnoreVersioninstance - isVersionInRange(ArtifactVersion, VersionRange) - Static method in class org.codehaus.mojo.versions.api.ArtifactVersions
-
Checks if the version is in the range (and ensures that the range respects the
-!syntax to rule out any qualifiers from range boundaries). - isVersionInRestriction(Restriction, ArtifactVersion) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
Checks if the candidate version is in the range of the restriction.
- isWarnEnabled() - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
L
- LENIENT - Enum constant in enum org.codehaus.mojo.versions.utils.VersionStringComparator
-
Lenient comparator: treats unparseable version strings as "0".
- lookupArtifactVersions(Artifact, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- lookupArtifactVersions(Artifact, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Looks up the versions of the specified artifact that are available in either the local repository, or the appropriate remote repositories.
- lookupArtifactVersions(Artifact, VersionRange, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- lookupArtifactVersions(Artifact, VersionRange, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Looks up the versions of the specified artifact that are available in either the local repository, or the appropriate remote repositories.
- lookupArtifactVersions(Artifact, VersionRange, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- lookupArtifactVersions(Artifact, VersionRange, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Looks up the versions of the specified artifact that are available in either the local repository, or the appropriate remote repositories.
- lookupDependenciesUpdates(Stream, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- lookupDependenciesUpdates(Stream, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Returns a map of all possible updates per dependency.
- lookupDependenciesUpdates(Stream, boolean, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- lookupDependenciesUpdates(Stream, boolean, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Returns a map of all possible updates per dependency.
- lookupDependencyUpdates(Dependency, boolean, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- lookupDependencyUpdates(Dependency, boolean, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Creates an
ArtifactVersionsinstance from a dependency The resultingArtifactVersionsinstance will only contain versions that are newer than the current version of the dependency. - lookupPluginsUpdates(Stream, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- lookupPluginsUpdates(Stream, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Looks up the updates for a set of plugins.
- lookupPluginUpdates(Plugin, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- lookupPluginUpdates(Plugin, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Looks up the updates for a plugin.
M
- MAJOR - Enum constant in enum org.codehaus.mojo.versions.api.Segment
-
Major segment (0-based index 0)
- majorTo(Segment) - Static method in enum org.codehaus.mojo.versions.api.Segment
-
Creates a segment that has a greater scope than the given segment or
nullif the segment is alreadySegment.MAJOR - mark(Object) - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Records the current
LocationInfoand delta under the givenmarkNr - matchersMatch(Dependency) - Method in class org.codehaus.mojo.versions.filtering.DependencyFilter
-
Says whether the given dependency matches the set of matchers defined by the
DependencyFilterinstance - MavenProjectUtils - Class in org.codehaus.mojo.versions.utils
-
Utility methods for extracting dependencies from a
MavenProject - MINOR - Enum constant in enum org.codehaus.mojo.versions.api.Segment
-
Minor segment (0-based index 1)
- minorTo(Segment) - Static method in enum org.codehaus.mojo.versions.api.Segment
-
Creates a segment that has a lesser scope than the given segment
- MiscUtils - Class in org.codehaus.mojo.versions.utils
-
Miscellaneous utility class.
- ModelNode - Class in org.codehaus.mojo.versions.utils
-
Represents a navigable tree of
Modelinstances. - ModelNode(Model, MutableXMLStreamReader) - Constructor for class org.codehaus.mojo.versions.utils.ModelNode
-
Creates a root node (without a parent).
- ModelNode(ModelNode, Model, MutableXMLStreamReader) - Constructor for class org.codehaus.mojo.versions.utils.ModelNode
-
Creates a new instance with a parent node.
- MutableXMLStreamReader - Class in org.codehaus.mojo.versions.rewriting
-
A mutable
XMLStreamReader2, allowing simple string manipulation (replacement) of the underlying document - MutableXMLStreamReader(InputStream, Path) - Constructor for class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Constructs a new object using the contents of the given input stream as the initial contents of the document.
- MutableXMLStreamReader(Path) - Constructor for class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Constructs a new object using the contents of the given file as the initial contents of the document.
N
- newBuilder() - Static method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Creates a new instance of the builder
- newBuilder() - Static method in class org.codehaus.mojo.versions.utils.ExtensionBuilder
-
Creates a new instance of the builder
- newDependencyVersionChanger() - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Creates a
DependencyVersionChangerconfigured with the factory's state. - newParentVersionChanger() - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Creates a
ParentVersionChangerconfigured with the factory's state. - newPluginVersionChanger() - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Creates a
PluginVersionChangerconfigured with the factory's state. - newProjectVersionChanger() - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Creates a
ProjectVersionChangerconfigured with the factory's state. - newVersionChanger() - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Creates a composite
VersionChangerthat will process parent, project, dependencies and plugins (in that order) using the factory's state. - newVersionChanger(boolean, boolean, boolean, boolean) - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Creates a composite
VersionChangerthat includes only the requested processors. - next() - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
- NULL_KEYWORD - Static variable in class org.codehaus.mojo.versions.filtering.NullAwareWildcardMatcher
-
Null keyword
- NullAwareWildcardMatcher - Class in org.codehaus.mojo.versions.filtering
-
An extended version of the
WildcardMatcherwhere an additional special keywordnullwill match tokens which are null. - NullAwareWildcardMatcher(String) - Constructor for class org.codehaus.mojo.versions.filtering.NullAwareWildcardMatcher
-
Creates a new instance of the given pattern
O
- of(int) - Static method in enum org.codehaus.mojo.versions.api.Segment
-
Creates a segment from its 0-based index
- org.codehaus.mojo.versions.api - package org.codehaus.mojo.versions.api
- org.codehaus.mojo.versions.api.internal - package org.codehaus.mojo.versions.api.internal
- org.codehaus.mojo.versions.change - package org.codehaus.mojo.versions.change
- org.codehaus.mojo.versions.filtering - package org.codehaus.mojo.versions.filtering
- org.codehaus.mojo.versions.model - package org.codehaus.mojo.versions.model
- org.codehaus.mojo.versions.model.io.stax - package org.codehaus.mojo.versions.model.io.stax
- org.codehaus.mojo.versions.ordering - package org.codehaus.mojo.versions.ordering
- org.codehaus.mojo.versions.recording - package org.codehaus.mojo.versions.recording
- org.codehaus.mojo.versions.rewriting - package org.codehaus.mojo.versions.rewriting
- org.codehaus.mojo.versions.rule - package org.codehaus.mojo.versions.rule
- org.codehaus.mojo.versions.utils - package org.codehaus.mojo.versions.utils
P
- ParentVersionChanger - Class in org.codehaus.mojo.versions.change
-
A
VersionChangerimplementation that changes dependency versions. - ParentVersionChanger(Model, MutableXMLStreamReader, Log) - Constructor for class org.codehaus.mojo.versions.change.ParentVersionChanger
-
Constructs a new instance
- parse(String) - Static method in class org.codehaus.mojo.versions.filtering.TokenizedMatcher
-
Parse a colon-separated pattern into a
TokenizedMatcher. - parse(String) - Static method in class org.codehaus.mojo.versions.filtering.WildcardMatcher
-
Creates a new matcher for the given pattern.
- parseFrom(List) - Static method in class org.codehaus.mojo.versions.filtering.DependencyFilter
-
Creates a new instance based on a list of
groupId[:artifactId[:version[:type[:classifier[:scope]]]]]expressions representing dependencies to be matched. - parseVersion(String) - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
-
Deprecated.do not use: this method would mutate the state and therefore is illegal to use
- PluginComparator - Enum in org.codehaus.mojo.versions.utils
-
A comparator used to sort plugins and report plugins by group id, artifact id and finally version.
- PluginUpdatesDetails - Class in org.codehaus.mojo.versions.api
-
Details of a plugin's updates.
- PluginUpdatesDetails(ArtifactVersions, Map, boolean) - Constructor for class org.codehaus.mojo.versions.api.PluginUpdatesDetails
-
Creates a new instance
- PluginVersionChanger - Class in org.codehaus.mojo.versions.change
-
A
VersionChangerimplementation that changes plugin versions. - PluginVersionChanger(Model, MutableXMLStreamReader, Log) - Constructor for class org.codehaus.mojo.versions.change.PluginVersionChanger
-
Constructs a new instance
- PomHelper - Class in org.codehaus.mojo.versions.api
-
A utility class for parsing and performing operations on pom.xml files
- PomHelper(ArtifactFactory, ExpressionEvaluator) - Constructor for class org.codehaus.mojo.versions.api.PomHelper
-
Creates a new instance
- ProjectVersionChanger - Class in org.codehaus.mojo.versions.change
-
A
VersionChangerimplementation that changes dependency versions. - ProjectVersionChanger(Model, MutableXMLStreamReader, Log) - Constructor for class org.codehaus.mojo.versions.change.ProjectVersionChanger
-
Constructs a new instance
- PropertiesVersionsFileReader - Class in org.codehaus.mojo.versions.utils
-
Reader class for reading property files
- PropertiesVersionsFileReader(String) - Constructor for class org.codehaus.mojo.versions.utils.PropertiesVersionsFileReader
-
Creates an instance of the object with the given path to the property file
- Property - Class in org.codehaus.mojo.versions.api
-
Represents an association between properties and dependencies.
- Property() - Constructor for class org.codehaus.mojo.versions.api.Property
-
Creates a new instance without any set name
- Property(String) - Constructor for class org.codehaus.mojo.versions.api.Property
-
Creates a new
Propertywith the given name - PropertyComparator - Enum in org.codehaus.mojo.versions.utils
-
A comparator used to sort
Propertyinstances. - PropertyVersions - Class in org.codehaus.mojo.versions.api
-
Manages a property that is associated with one or more artifacts.
- PropertyVersionsBuilder - Class in org.codehaus.mojo.versions.api
-
Builds
PropertyVersionsinstances.
Q
- quote(String) - Static method in class org.codehaus.mojo.versions.utils.RegexUtils
-
Takes a string and returns the regex that will match that string exactly.
R
- ReactorDepthComparator - Class in org.codehaus.mojo.versions.ordering
-
Compares project paths relative to the base directory based on their depth in a reactor.
- ReactorDepthComparator(Map) - Constructor for class org.codehaus.mojo.versions.ordering.ReactorDepthComparator
-
Creates a new comparator using the given reactor map.
- read() - Method in class org.codehaus.mojo.versions.utils.PropertiesVersionsFileReader
-
Reads the property file
- read(InputStream) - Method in class org.codehaus.mojo.versions.model.io.stax.CoreExtensionsStaxReader
-
Method read.
- read(InputStream, boolean) - Method in class org.codehaus.mojo.versions.model.io.stax.CoreExtensionsStaxReader
-
Method read.
- read(Reader) - Method in class org.codehaus.mojo.versions.model.io.stax.CoreExtensionsStaxReader
-
Method read.
- read(Reader, boolean) - Method in class org.codehaus.mojo.versions.model.io.stax.CoreExtensionsStaxReader
-
Method read.
- read(String) - Method in class org.codehaus.mojo.versions.model.io.stax.CoreExtensionsStaxReader
-
Method read.
- read(String, boolean) - Method in class org.codehaus.mojo.versions.model.io.stax.CoreExtensionsStaxReader
-
Method read.
- readXml(File) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Reads an XML from a file.
- readXml(InputStream) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Reads an XML from the given InputStream.
- recordChange(DependencyChangeRecord) - Method in class org.codehaus.mojo.versions.recording.ChangeRecorderNull
- recordChange(DependencyChangeRecord) - Method in class org.codehaus.mojo.versions.recording.ChangeRecorderXML
- recordChange(PropertyChangeRecord) - Method in class org.codehaus.mojo.versions.recording.ChangeRecorderNull
- recordChange(PropertyChangeRecord) - Method in class org.codehaus.mojo.versions.recording.ChangeRecorderXML
- REGEX_QUOTE_END - Static variable in class org.codehaus.mojo.versions.utils.RegexUtils
-
The end of a regex literal sequence.
- REGEX_QUOTE_END_ESCAPED - Static variable in class org.codehaus.mojo.versions.utils.RegexUtils
-
Escape the escapes.
- REGEX_QUOTE_START - Static variable in class org.codehaus.mojo.versions.utils.RegexUtils
-
The start of a regex literal sequence.
- RegexUtils - Class in org.codehaus.mojo.versions.utils
-
Utility methods to help with regex manipulation.
- removeExtension(CoreExtension) - Method in class org.codehaus.mojo.versions.model.CoreExtensions
-
Method removeExtension.
- removingFrom(Collection) - Method in class org.codehaus.mojo.versions.filtering.DependencyFilter
-
Filters the provided collection of dependencies, providing only the dependencies which do not match the set of expressions provided to the
DependencyFilterinstance - replace(String) - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Replaces the current element with the replacement text
- replaceBetween(Object, Object, String) - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Replaces the document between two marks with the given replacement.
- replaceMark(Object, String) - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Replaces the document between the starting and ending character offset of the given mark
- resolveArtifact(Artifact, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- resolveArtifact(Artifact, boolean) - Method in class org.codehaus.mojo.versions.api.internal.DefaultResolverAdapter
- resolveArtifact(Artifact, boolean) - Method in interface org.codehaus.mojo.versions.api.ResolverAdapter
-
Attempts to resolve the artifact.
- resolveArtifact(Artifact, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionsHelper
-
Attempts to resolve the artifact.
- resolveArtifactVersions(Artifact, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- resolveArtifactVersions(Artifact, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.internal.DefaultResolverAdapter
- resolveArtifactVersions(Artifact, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.ResolverAdapter
-
Returns all available versions of the specified artifact that are available in either the local repository, or the appropriate remote repositories.
- resolveDependencyVersions(Collection, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- resolveDependencyVersions(Collection, boolean, boolean) - Method in class org.codehaus.mojo.versions.api.internal.DefaultResolverAdapter
- resolveDependencyVersions(Collection, boolean, boolean) - Method in interface org.codehaus.mojo.versions.api.ResolverAdapter
-
Returns a sorted map of all possible updates per dependency.
- resolvePluginVersions(Collection) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- resolvePluginVersions(Collection) - Method in class org.codehaus.mojo.versions.api.internal.DefaultResolverAdapter
- resolvePluginVersions(Collection) - Method in interface org.codehaus.mojo.versions.api.ResolverAdapter
-
Looks up the updates for a set of plugins.
- resolvePluginVersions(Plugin) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper
- resolvePluginVersions(Plugin) - Method in class org.codehaus.mojo.versions.api.internal.DefaultResolverAdapter
- resolvePluginVersions(Plugin) - Method in interface org.codehaus.mojo.versions.api.ResolverAdapter
-
Looks up the updates for a plugin.
- ResolverAdapter - Interface in org.codehaus.mojo.versions.api
-
A thin adapter over
RepositorySystemto help discover available versions for provided artifacts. - restrictionForIgnoreScope(ArtifactVersion, Optional) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- restrictionForIgnoreScope(ArtifactVersion, Optional) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns the
Restrictionobjects for a segemnt scope which is to be ignored. - restrictionForSelectedSegment(ArtifactVersion, Optional) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- restrictionForSelectedSegment(ArtifactVersion, Optional) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns a Restriction object for computing version upgrades within the given segment allowing updates, with all more major segments locked in place, but also ignoring all version updates from lesser scopes.
- restrictionForUnchangedSegment(ArtifactVersion, Optional, boolean) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- restrictionForUnchangedSegment(ArtifactVersion, Optional, boolean) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Returns a Restriction object for computing version upgrades within the all segments minor/lesser to the provided
unchangedSegment. - retainingIn(Collection) - Method in class org.codehaus.mojo.versions.filtering.DependencyFilter
-
Filters the provided collection of dependencies, providing only the dependencies matching the set of expressions provided to the
DependencyFilterinstance - rewind() - Method in class org.codehaus.mojo.versions.rewriting.MutableXMLStreamReader
-
Recreates the underlying delegate
XMLStreamReader2based on the current state of the document - RuleService - Class in org.codehaus.mojo.versions.rule
-
Service providing access to rules and ignore-version handling.
- RuleService(Log, RuleSet) - Constructor for class org.codehaus.mojo.versions.rule.RuleService
-
Creates a new
RuleService. - RuleServiceUtils - Class in org.codehaus.mojo.versions.rule
-
Utility class for filtering artifact versions based on rules.
- RuleServiceUtils() - Constructor for class org.codehaus.mojo.versions.rule.RuleServiceUtils
- RulesServiceBuilder - Class in org.codehaus.mojo.versions.rule
-
Builder for creating a
RuleServiceinstance. - RulesServiceBuilder() - Constructor for class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Creates a new
RulesServiceBuilder.
S
- SCOPE - Enum constant in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Token representing the dependency scope.
- Segment - Enum in org.codehaus.mojo.versions.api
-
Indicates the segment along with its 0-based index
- SegmentCounter - Interface in org.codehaus.mojo.versions.ordering
-
Counts the number of segments
- SegmentUtils - Class in org.codehaus.mojo.versions.utils
-
Utility class for manipulating with
Segmentobjects - setArtifactId(String) - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Set the artifact ID of the extension.
- setAutoLinkDependencies(boolean) - Method in class org.codehaus.mojo.versions.api.Property
-
Specifies whether properties indicating dependency versions should be linked automatically
- setBanSnapshots(boolean) - Method in class org.codehaus.mojo.versions.api.Property
-
Specifies whether snapshots should not be considered
- setClassLoadingStrategy(String) - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Set the class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).
- setContext(String) - Method in interface org.codehaus.mojo.versions.utils.ContextualLog
-
Set the current context.
- setContext(String) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- setCurrentVersion(String) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- setCurrentVersion(String) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Sets the current version.
- setCurrentVersion(ArtifactVersion) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- setCurrentVersion(ArtifactVersion) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Sets the current version.
- setCurrentVersionRange(VersionRange) - Method in class org.codehaus.mojo.versions.api.AbstractVersionDetails
- setCurrentVersionRange(VersionRange) - Method in interface org.codehaus.mojo.versions.api.VersionDetails
-
Sets the current version range (may be
null) - setDependencies(Dependency[]) - Method in class org.codehaus.mojo.versions.api.Property
-
Dependencies that must be available for this property.
- setDependencyVersion(MutableXMLStreamReader, String, String, String, String, Model, Log) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Searches the pom re-defining the specified dependency to the specified version.
- setElementValue(MutableXMLStreamReader, String, String, String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Sets the value of the given element given its parent element path.
- setElementValue(MutableXMLStreamReader, String, String, String, boolean) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Sets the value of the given element given its parent element path.
- setExtensions(List) - Method in class org.codehaus.mojo.versions.model.CoreExtensions
-
Set a set of build extensions to use from this project.
- setGroupId(String) - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Set the group ID of the extension's artifact.
- setLog(Log) - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Sets the logger to be used by changers produced by this factory.
- setModel(Model) - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Sets the Maven model to be used by changers produced by this factory.
- setModelEncoding(String) - Method in class org.codehaus.mojo.versions.model.CoreExtensions
-
Set the modelEncoding field.
- setName(String) - Method in class org.codehaus.mojo.versions.api.Property
-
Sets the name of the property
- setPluginVersion(MutableXMLStreamReader, String, String, String, String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Searches the pom re-defining the specified plugin to the specified version.
- setPom(MutableXMLStreamReader) - Method in class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Sets the mutable POM XML reader to be used by changers produced by this factory.
- setPreferReactor(boolean) - Method in class org.codehaus.mojo.versions.api.Property
-
Specifies whether, when
Property.searchReactoristrueand a property version can be entirely satisfied from the reactor and this setting istruethen the reactor version will be specified irrespective of any other settings (includingProperty.isBanSnapshots()). - setProjectParentVersion(MutableXMLStreamReader, String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Searches the pom re-defining the project version to the specified version.
- setProjectVersion(MutableXMLStreamReader, String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Searches the pom re-defining the project version to the specified version.
- setPropertyVersion(MutableXMLStreamReader, String, String, String) - Static method in class org.codehaus.mojo.versions.api.PomHelper
-
Searches the pom re-defining the specified property to the specified version.
- setSearchReactor(boolean) - Method in class org.codehaus.mojo.versions.api.Property
-
Specifies whether reactor should be searched for the artifact version
- setValue(String) - Method in class org.codehaus.mojo.versions.api.Property
-
Sets the value of the property
- setVersion(String) - Method in class org.codehaus.mojo.versions.api.Property
-
Sets the property version
- setVersion(String) - Method in class org.codehaus.mojo.versions.model.CoreExtension
-
Set the version of the extension.
- STRICT - Enum constant in enum org.codehaus.mojo.versions.utils.VersionStringComparator
-
Strict comparator: throws IllegalArgumentException if a version string cannot be parsed.
- SUBINCREMENTAL - Enum constant in enum org.codehaus.mojo.versions.api.Segment
-
Sub-incremental segment (0-based index 3)
T
- test(String) - Method in class org.codehaus.mojo.versions.filtering.NullAwareWildcardMatcher
- test(String) - Method in class org.codehaus.mojo.versions.filtering.WildcardMatcher
- test(Dependency) - Method in class org.codehaus.mojo.versions.filtering.TokenizedMatcher
- TokenizedMatcher - Class in org.codehaus.mojo.versions.filtering
-
Predicate that matches a
Dependencyagainst a colon-separated pattern. - TokenizedMatcher.Tokens - Enum in org.codehaus.mojo.versions.filtering
-
The tokens that may be used in a pattern.
- toString() - Method in class org.codehaus.mojo.versions.api.ArtifactVersions
- toString() - Method in class org.codehaus.mojo.versions.api.PropertyVersions
- toString() - Method in enum org.codehaus.mojo.versions.api.Segment
- toString() - Method in class org.codehaus.mojo.versions.change.DefaultDependencyVersionChange
- toString() - Method in class org.codehaus.mojo.versions.change.DefaultPropertyVersionChange
- toString() - Method in class org.codehaus.mojo.versions.filtering.DependencyFilter
- toString() - Method in class org.codehaus.mojo.versions.filtering.TokenizedMatcher
- toString() - Method in class org.codehaus.mojo.versions.filtering.WildcardMatcher
- toString() - Method in class org.codehaus.mojo.versions.ordering.BoundArtifactVersion
- toString() - Method in enum org.codehaus.mojo.versions.utils.DependencyBuilder.Location
- TYPE - Enum constant in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Token representing the dependency type.
- TYPE_EXACT - Enum constant in enum org.codehaus.mojo.versions.api.IgnoreVersionHelper.IgnoreVersionType
- TYPE_RANGE - Enum constant in enum org.codehaus.mojo.versions.api.IgnoreVersionHelper.IgnoreVersionType
- TYPE_REGEX - Enum constant in enum org.codehaus.mojo.versions.api.IgnoreVersionHelper.IgnoreVersionType
V
- VALID_TYPES - Static variable in class org.codehaus.mojo.versions.api.IgnoreVersionHelper
-
Provides an instance of a list of valid types of
IgnoreVersion - value() - Method in enum org.codehaus.mojo.versions.api.Segment
-
Returns the 0-based sendex index
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.api.IgnoreVersionHelper.IgnoreVersionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.api.Segment
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.ordering.DefaultSegmentCounter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.utils.DependencyBuilder.Location
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.utils.DependencyComparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.utils.PluginComparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.utils.PropertyComparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.utils.VersionStringComparator
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.codehaus.mojo.versions.api.IgnoreVersionHelper.IgnoreVersionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.versions.api.Segment
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.versions.ordering.DefaultSegmentCounter
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.versions.utils.DependencyBuilder.Location
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.versions.utils.DependencyComparator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.versions.utils.PluginComparator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.versions.utils.PropertyComparator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.versions.utils.VersionStringComparator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verboseDetail - Variable in class org.codehaus.mojo.versions.api.AbstractVersionDetails
-
displays more verbose information about discovered updates
- VERSION - Enum constant in enum org.codehaus.mojo.versions.filtering.TokenizedMatcher.Tokens
-
Token representing the dependency version.
- VERSION - Enum constant in enum org.codehaus.mojo.versions.utils.DependencyBuilder.Location
-
version location
- VersionChanger - Interface in org.codehaus.mojo.versions.change
-
Describes an operation that can change the version of a dependency in a POM.
- VersionChangerFactory - Class in org.codehaus.mojo.versions.change
-
Factory for creating
VersionChangerinstances. - VersionChangerFactory() - Constructor for class org.codehaus.mojo.versions.change.VersionChangerFactory
-
Public no-arg constructor to provide an explicit constructor comment for Javadoc.
- VersionDetails - Interface in org.codehaus.mojo.versions.api
-
Describes the details of available versions for an artifact.
- VersionPropertiesMapRequest() - Constructor for class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest
-
Deprecated.
- VersionRetrievalException - Exception Class in org.codehaus.mojo.versions.api
-
Exception thrown if version information cannot be retrieved.
- VersionRetrievalException(String, Artifact) - Constructor for exception class org.codehaus.mojo.versions.api.VersionRetrievalException
-
Constructs a new exception with the specified detail message.
- VersionRetrievalException(String, Artifact, Throwable) - Constructor for exception class org.codehaus.mojo.versions.api.VersionRetrievalException
-
Constructs a new exception with the specified detail message and cause.
- VersionRetrievalException(Artifact) - Constructor for exception class org.codehaus.mojo.versions.api.VersionRetrievalException
-
Constructs a new exception with
nullas its detail message. - VersionRetrievalException(Artifact, Throwable) - Constructor for exception class org.codehaus.mojo.versions.api.VersionRetrievalException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). - VersionsExpressionEvaluator - Class in org.codehaus.mojo.versions.utils
-
An expression evaluator that can resolve plugin parameters as well as standard expressions.
- VersionsExpressionEvaluator(MavenSession, MojoExecution) - Constructor for class org.codehaus.mojo.versions.utils.VersionsExpressionEvaluator
-
Creates a new
VersionsExpressionEvaluatorinstance. - VersionsHelper - Interface in org.codehaus.mojo.versions.api
-
Helper class that provides common functionality required by both the mojos and the reports.
- VersionsHelper.VersionPropertiesMapRequest - Class in org.codehaus.mojo.versions.api
-
Argument builder class for
VersionsHelper.getVersionPropertiesMap(VersionPropertiesMapRequest). - VersionsHelper.VersionPropertiesMapRequest.Builder - Class in org.codehaus.mojo.versions.api
-
Builder class for
VersionsHelper.VersionPropertiesMapRequest - VersionStringComparator - Enum in org.codehaus.mojo.versions.utils
-
A comparator for version strings.
W
- warn(CharSequence) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- warn(CharSequence, Throwable) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- warn(Throwable) - Method in class org.codehaus.mojo.versions.utils.DelegatingContextualLog
- WILDCARD - Static variable in class org.codehaus.mojo.versions.filtering.WildcardMatcher
-
The wildcard character.
- WildcardMatcher - Class in org.codehaus.mojo.versions.filtering
-
A simple "matcher" object providing a utility whether the given string matches a pattern consisting of strings containing the wildcard (
*) character. - WildcardMatcher(String) - Constructor for class org.codehaus.mojo.versions.filtering.WildcardMatcher
-
Creates a new matcher for the given pattern.
- withArtifact(Artifact) - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord.Builder
-
Supplies the artifact
- withArtifactFactory(ArtifactFactory) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
-
Provides the
ArtifactFactoryinstance - withArtifactId(String) - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord.Builder
-
Supplies the artifactId
- withArtifactId(String) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes artifactId to the builder
- withArtifactId(String) - Method in class org.codehaus.mojo.versions.utils.ExtensionBuilder
-
Passes artifactId to the builder
- withAssociation(Artifact, boolean) - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Provides the associated artifact
- withAutoLinkItems(boolean) - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest.Builder
-
Supplies the information whether to automatically infer associations
- withClassifier(String) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes classifier to the builder
- withCurrentVersion(ArtifactVersion) - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Provides the current version of the linked artifact
- withCurrentVersionRange(VersionRange) - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Provides the current version range of the linked artifact
- withDependency(Dependency) - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord.Builder
-
Supplies the dependency
- withExcludeProperties(String) - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest.Builder
-
Supplies the properties to exclude
- withGroupId(String) - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord.Builder
-
Supplies the groupId
- withGroupId(String) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes groupId to the builder
- withGroupId(String) - Method in class org.codehaus.mojo.versions.utils.ExtensionBuilder
-
Passes groupId to the builder
- withIgnoredVersions(Collection) - Method in class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Configure an additional collection of ignored versions to be merged into the resulting rules.
- withIncludeFilter(Predicate) - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest.Builder
-
Supplies the include artifact filter
- withIncludeParent(boolean) - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest.Builder
-
Supplies the includeParent parameter (whether parent POMs should be included)
- withIncludeProperties(String) - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest.Builder
-
Supplies the properties to include
- withKind(DependencyChangeRecord.ChangeKind) - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord.Builder
-
Supplies the kind
- withLocation(Object, InputLocation) - Method in class org.codehaus.mojo.versions.utils.ExtensionBuilder
-
Passes type to the builder
- withLocation(String, InputLocation) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes location of the element in the POM to the builder
- withLog(Log) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
-
Provides the
Loginstance - withLog(Log) - Method in class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Configure the Maven
Logto be used by the builtRuleService. - withLowerBound(String, boolean) - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Provides the lower bound of the property version and whether the lower bound should be included
- withMavenProject(MavenProject) - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest.Builder
-
Supplies the
MavenProjectinstance - withMavenSession(MavenSession) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
-
Provides the
MavenSessioninstance - withMavenSession(MavenSession) - Method in class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Configure the current
MavenSessionused to resolve authentication and proxy information. - withNewValue(String) - Method in class org.codehaus.mojo.versions.recording.DefaultPropertyChangeRecord.Builder
-
Provides the new value of the property
- withNewVersion(String) - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord.Builder
-
Supplies the version from after the change
- withOldValue(String) - Method in class org.codehaus.mojo.versions.recording.DefaultPropertyChangeRecord.Builder
-
Provides the old value of the property
- withOldVersion(String) - Method in class org.codehaus.mojo.versions.recording.DefaultDependencyChangeRecord.Builder
-
Supplies the version from before the change
- withOptional(boolean) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes optional to the builder as boolean
- withOptional(String) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes optional to the builder as String
- withPomHelper(PomHelper) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
-
Provides the
PomHelperinstance - withProperty(String) - Method in class org.codehaus.mojo.versions.recording.DefaultPropertyChangeRecord.Builder
-
Provides a property name
- withPropertyDefinitions(List) - Method in class org.codehaus.mojo.versions.api.VersionsHelper.VersionPropertiesMapRequest.Builder
-
Supplies the
MavenProjectinstance - withRepositorySystem(RepositorySystem) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
-
Provides the
RepositorySysteminstance - withRuleService(RuleService) - Method in class org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
-
Provides the
RuleServiceinstance - withRuleSet(RuleSet) - Method in class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Configure a
RuleSetto be used directly (takes precedence overrulesUri). - withRulesUri(String) - Method in class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Configure a URI that points to an external rules XML document.
- withScope(String) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes scope to the builder
- withServerId(String) - Method in class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Configure the server id to use when creating remote repository access.
- withType(String) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes type to the builder
- withUpperBound(String, boolean) - Method in class org.codehaus.mojo.versions.api.PropertyVersionsBuilder
-
Provides the upper bound of the property version and whether the upper bound should be included
- withVersion(String) - Method in class org.codehaus.mojo.versions.utils.DependencyBuilder
-
Passes version to the builder
- withVersion(String) - Method in class org.codehaus.mojo.versions.utils.ExtensionBuilder
-
Passes version to the builder
- withWagonMap(Map) - Method in class org.codehaus.mojo.versions.rule.RulesServiceBuilder
-
Configure a map of Wagon implementations keyed by protocol.
- writeReport(Path) - Method in class org.codehaus.mojo.versions.recording.ChangeRecorderNull
- writeReport(Path) - Method in class org.codehaus.mojo.versions.recording.ChangeRecorderXML
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form