src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java
private Document readManifest( File manifestFile ) throws IOException, ParserConfigurationException, SAXException
    {
        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
        DocumentBuilder db = dbf.newDocumentBuilder();
        Document doc = db.parse( manifestFile );
        return doc;
    }
private Document readManifest( File manifestFile ) throws IOException, ParserConfigurationException, SAXException
    {
        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
        DocumentBuilder db = dbf.newDocumentBuilder();
        Document doc = db.parse( manifestFile );
        return doc;
    }
Read manifest using JAXP