Package org.openrewrite.maven.trait
Class MavenDependency
java.lang.Object
org.openrewrite.maven.trait.MavenDependency
- All Implemented Interfaces:
org.openrewrite.trait.Trait<org.openrewrite.xml.tree.Xml.Tag>
public class MavenDependency
extends Object
implements org.openrewrite.trait.Trait<org.openrewrite.xml.tree.Xml.Tag>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable String
findNewerVersion
(String groupId, String artifactId, @Nullable String currentVersion, MavenResolutionResult mrr, MavenMetadataFailures metadataFailures, org.openrewrite.semver.VersionComparator versionComparator, org.openrewrite.ExecutionContext ctx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openrewrite.trait.Trait
getCursor, getTree
-
Constructor Details
-
MavenDependency
public MavenDependency()
-
-
Method Details
-
findNewerVersion
public static @Nullable String findNewerVersion(String groupId, String artifactId, @Nullable String currentVersion, MavenResolutionResult mrr, MavenMetadataFailures metadataFailures, org.openrewrite.semver.VersionComparator versionComparator, org.openrewrite.ExecutionContext ctx) throws MavenDownloadingException - Throws:
MavenDownloadingException
-