Unable to call offline() on MavenImporter, e.g.
ShrinkWrap.create(MavenImporter.class).offline().loadPomFromFile(AG_PUSH_POM_XML_LOCATION).importBuildOutput() .as(WebArchive.class);
It is possible only if you pass settings.xml first