public final class JkPom
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
computeGroupId() |
java.lang.String |
computeProjectVersion() |
java.lang.String |
getArtifactId()
The artifactId for this POM.
|
JkQualifiedDependencySet |
getDependencies()
The dependencies declared in this POM.
|
dev.jeka.core.api.tooling.maven.DependencyExclusions |
getDependencyExclusion()
The
DependencyExclusions instance provided by the dependencyManagement
section of this POM. |
java.lang.String |
getGroupId()
The groupId for this POM.
|
java.lang.String |
getParentGroupId() |
java.lang.String |
getParentVersion() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns properties declared in this POM.
|
JkRepoSet |
getRepos()
Repositories declared in this POM.
|
java.lang.String |
getVersion()
The version for this POM.
|
JkVersionProvider |
getVersionProvider(JkRepoSet repos)
The map groupId:ArtifactId -> version provided by the
dependencyManagement
section of this POM. |
static JkPom |
of(java.nio.file.Path file)
Creates a
JkPom jump a POM file, ideally an effective POM file. |
JkPom |
withResolvedProperties() |
public static JkPom of(java.nio.file.Path file)
JkPom
jump a POM file, ideally an effective POM file.public java.lang.String getGroupId()
public java.lang.String getParentGroupId()
public java.lang.String computeGroupId()
public java.lang.String computeProjectVersion()
public java.lang.String getArtifactId()
public java.lang.String getVersion()
public java.lang.String getParentVersion()
public JkQualifiedDependencySet getDependencies()
public JkVersionProvider getVersionProvider(JkRepoSet repos)
dependencyManagement
section of this POM.public java.util.Map<java.lang.String,java.lang.String> getProperties()
public dev.jeka.core.api.tooling.maven.DependencyExclusions getDependencyExclusion()
DependencyExclusions
instance provided by the dependencyManagement
section of this POM.public JkRepoSet getRepos()
public JkPom withResolvedProperties()