1、MavenProject对象能够获取当前项目的信息,如果该对象是在MAVEN插件中,那么获取的是集成该插件项目的信息,如getBasedir可以获取项目的根路径
2、MavenProject获取本项目的依赖
3、Manifest对象
Manifest manifest = new Manifest();
Attributes mainAttribs = manifest.getMainAttributes();
mainAttribs.put(Attributes.Name.MANIFEST_VERSION, "1.0");
mainAttribs.put(Attributes.Name.MAIN_CLASS, "com.w3cschool.Main");
mainAttribs.put(Attributes.Name.SEALED, "true");
4、构造Manifest对象传入Jaroutputstream
5、Maven项目结构,Maven项目根目录就是项目名
6、Manifest文件规范
https://www.cnblogs.com/hejing-swust/p/8514251.html
MANIFEST.MF写法.txt_shangpusp的博客-CSDN博客
7、Maven插件开发
8、Jar文件操作
https://www.cnblogs.com/gnuhpc/archive/2012/12/17/2822265.html