@Test
public void testFetchVfs() throws Exception {

    final String URL = "http://xmlns.com/foaf/spec/index.rdf";
    try {
        URL val = new URL(URL);
        System.out.println(IOUtils.toString(val.openStream()));
        // Process then
        OrmGenerationMojo mojo = new OrmGenerationMojo();
        Ontology ont = new Ontology();
        set("ontologyFile", val.toString(), ont);
        set("outputPackage", "org.foaf", ont);
        set("outputLocation", "target/generated-test-sources", mojo);
        set("generates", Collections.singletonList(ont), mojo);
        mojo.execute();
        mojo.execute();
    } catch (IOException e) {
        System.err.println("Can't seem to find rdf syntax ontology...");
    }
}