public final class JkPom
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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.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()
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. |
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 getArtifactId()
public java.lang.String getVersion()
public JkQualifiedDependencySet getDependencies()
public JkVersionProvider getVersionProvider()
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()