public class MavenUtils extends Object
| 构造器和说明 |
|---|
MavenUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Optional<String> |
get(Project project,
Dependency dependency) |
private static String |
getLocation(String localRepository,
Dependency dependency,
SnapshotVersion version) |
static Optional<String> |
getSnapshot(Project project,
Dependency dependency) |
private static SnapshotVersion |
getSnapshotVersion(File xml) |
private static SnapshotVersion getSnapshotVersion(File xml)
public static Optional<String> get(Project project, Dependency dependency)
private static String getLocation(String localRepository, Dependency dependency, SnapshotVersion version)
public static Optional<String> getSnapshot(Project project, Dependency dependency)
Copyright © 2021. All rights reserved.