java Main方法 获取 maven 的resource 下的xml文件
Properties properties = new Properties();
File file = new File("src/main/resources/generator.xml");
InputStream in = new FileInputStream(file);
properties.loadFromXML(in);
Properties properties = new Properties();
File file = new File("src/main/resources/generator.xml");
InputStream in = new FileInputStream(file);
properties.loadFromXML(in);