java.lang.Object
fr.paris.lutece.plugins.releaser.util.pom.PomParser

public class PomParser extends Object
PomParser.
  • Constructor Details

    • PomParser

      public PomParser()
  • Method Details

    • getDependencies

      public List<Dependency> getDependencies()
      Gets the dependencies.
      Returns:
      the dependencies
    • parse

      public void parse(Site site, String strPOM)
      Parses the.
      Parameters:
      site - the site
      strPOM - the str POM
    • parsePomPath

      public void parsePomPath(Component component, String pomPath)
      Parses the pom path.
      Parameters:
      component - the component
      pomPath - the pom path
    • parse

      public void parse(Component component, String strPOM)
      Parses the.
      Parameters:
      component - the component
      strPOM - the str POM
    • parse

      public void parse(Component component, InputStream inputStream)
      Parses the.
      Parameters:
      component - the component
      inputStream - the input stream
    • unmarshal

      public static <T> T unmarshal(Class<T> docClass, InputSource inputSource) throws javax.xml.bind.JAXBException
      Unmarshal.
      Type Parameters:
      T - the generic type
      Parameters:
      docClass - the doc class
      inputSource - the input source
      Returns:
      the t
      Throws:
      javax.xml.bind.JAXBException - the JAXB exception