public class MavenConventionsUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
artifactFileName(org.eclipse.aether.artifact.Artifact artifact)
The file name of this artifact when stored
|
static java.lang.String |
artifactParentPath(org.eclipse.aether.artifact.Artifact artifact)
Relative path to the directories where the files will be stored
|
static java.lang.String |
artifactParentPath(java.lang.String artifactBasePath,
org.eclipse.aether.artifact.Artifact artifact)
Absolute path to the directories where the files will be stored
|
static java.lang.String |
artifactPath(java.lang.String artifactBasePath,
org.eclipse.aether.artifact.Artifact artifact)
Absolute path to the file
|
static java.lang.String |
artifactsAsDependencyPom(org.eclipse.aether.artifact.Artifact pomArtifact,
java.util.Set<org.eclipse.aether.artifact.Artifact> artifacts,
org.eclipse.aether.artifact.Artifact parent) |
static java.io.File |
artifactToFile(org.eclipse.aether.artifact.Artifact artifact)
Path to the file identified by this artifact without using Maven
APIs (convention based).
|
static java.io.File |
artifactToFile(java.lang.String repositoryPath,
org.eclipse.aether.artifact.Artifact artifact)
Path to the file identified by this artifact without using Maven
APIs (convention based).
|
static java.lang.String |
artifactUrl(java.lang.String repoUrl,
org.eclipse.aether.artifact.Artifact artifact)
Absolute path to the file
|
static java.lang.String |
groupPath(java.lang.String artifactBasePath,
java.lang.String groupId)
Absolute path to the directory of this group
|
public static java.io.File artifactToFile(org.eclipse.aether.artifact.Artifact artifact)
artifactToFile(String, Artifact)
public static java.io.File artifactToFile(java.lang.String repositoryPath, org.eclipse.aether.artifact.Artifact artifact)
repositoryPath
- path to the related local repository locationartifact
- the artifactpublic static java.lang.String artifactFileName(org.eclipse.aether.artifact.Artifact artifact)
public static java.lang.String artifactPath(java.lang.String artifactBasePath, org.eclipse.aether.artifact.Artifact artifact)
public static java.lang.String artifactUrl(java.lang.String repoUrl, org.eclipse.aether.artifact.Artifact artifact)
public static java.lang.String artifactParentPath(java.lang.String artifactBasePath, org.eclipse.aether.artifact.Artifact artifact)
public static java.lang.String groupPath(java.lang.String artifactBasePath, java.lang.String groupId)
public static java.lang.String artifactParentPath(org.eclipse.aether.artifact.Artifact artifact)
public static java.lang.String artifactsAsDependencyPom(org.eclipse.aether.artifact.Artifact pomArtifact, java.util.Set<org.eclipse.aether.artifact.Artifact> artifacts, org.eclipse.aether.artifact.Artifact parent)
Copyright © 2007–2020. All rights reserved.