Interface Pom


  • @Namespaces("xmlns:pom=http://maven.apache.org/POM/4.0.0")
    @XPath("/pom:project")
    public interface Pom
    • Method Detail

      • getModelVersion

        @XPath("pom:modelVersion")
        java.lang.String getModelVersion()
      • getGroupId

        @Nullable
        @XPath("pom:groupId")
        java.lang.String getGroupId()
      • getArtifactId

        @XPath("pom:artifactId")
        java.lang.String getArtifactId()
      • getVersion

        @Nullable
        @XPath("pom:version")
        java.lang.String getVersion()
      • getPackaging

        @Nullable
        @XPath("pom:packaging")
        java.lang.String getPackaging()
      • getParent

        @Nullable
        @XPath("pom:parent")
        Pom.Parent getParent()
      • getName

        @XPath("pom:name")
        @Nullable
        java.lang.String getName()
      • getUrl

        @XPath("pom:url")
        @Nullable
        java.lang.String getUrl()
      • getScm

        @XPath("pom:scm")
        @Nullable
        Pom.Scm getScm()
      • getCiManagement

        @XPath("pom:ciManagement")
        @Nullable
        Pom.CiManagement getCiManagement()
      • getModules

        @Nullable
        @XPath("pom:modules/pom:module")
        java.lang.String[] getModules()
      • getDependencies

        @XPath("pom:dependencies/pom:dependency")
        Pom.Dependency[] getDependencies()
      • getRepositories

        @XPath("pom:repositories/pom:repository")
        Pom.Repository[] getRepositories()
      • getRepository

        @XPath("pom:repositories/pom:repository[pom:id = $arg0]")
        Pom.Repository getRepository​(java.lang.String id)
      • getReportingPlugins

        @XPath("pom:reporting/pom:plugins/pom:plugin")
        Pom.Plugin[] getReportingPlugins()
      • getPlugin

        @XPath("pom:reporting/pom:plugins/pom:plugin[pom:artifactId = $arg0]")
        @Nullable
        Pom.Plugin getPlugin​(java.lang.String artifactId)
      • isNullPlugin

        @XPath("pom:reporting/pom:plugins/pom:plugin[pom:artifactId = $arg0]")
        boolean isNullPlugin​(java.lang.String artifactId)
      • getLicenses

        @Nullable
        @XPath("pom:licenses/pom:license")
        Pom.License[] getLicenses()