Home > Back-end >  Maven packaging, the MANIFEST. MF file without Main - Class information
Maven packaging, the MANIFEST. MF file without Main - Class information

Time:03-12

Using maven plugin maven - assembly - the plugin package, the following configuration

Org, apache maven. Plugins
Maven - assembly - plugin
3.1.0 & lt;/version>



IO. Itit. Itf. Okhttp. Gm test. MainTest




The jar - with - dependencies




The make - assembly
Package

Assembly





Packaging orders: MVN assembly: the assembly - Dmaven. Test. Skip=true - Ddescriptor=SRC/main/resources \ assembly XML
But out of package, the MANIFEST. MF file is not the Main - Class information, only the following information
The Manifest - Version: 1.0
Archiver - Version: breadth Archiver
Created By: - 25.121 - bl3 (Oracle Corporation),
Excuse me what should I do?

CodePudding user response:

Ask, and the original poster appeared the same problem, is solved
  • Related