Class PomParser

  • All Implemented Interfaces:
    Constants, Registry, aQute.service.reporter.Report, aQute.service.reporter.Reporter, java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<java.lang.String>

    public class PomParser
    extends Processor
    Provides a way to parse a maven pom as properties. This provides most of the maven elements as properties. It also provides pom.scope.[compile|test|runtime|provided|system] properties that can be appended to the build and run path. That is, they are in the correct format for this.
    • Constructor Detail

      • PomParser

        public PomParser()
    • Method Detail

      • getProperties

        public java.util.Properties getProperties​(java.io.File pom)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception