Incorrect generated manifest files
已回答
Hi,
I'm having a problem with Intellij IDEA 2017.3 generating incorrect manifest files.
When I generate my ear with maven I have no MANIFEST.MF in my META-INF, while the wars inside have correct manifest files with class-path entries to the ear lib folder.
However when Intellij IDEA generates the ear archive (or exploded) it does create an incorrect MANIFEST.MF in META-INF, and the wars contain incorrect manifest files.
The files contain class-path entries such as 'javaee-api-8.0.jar' and 'javax.mail-1.6.0.jar'.
I don't understand why Intellij IDEA puts these on the classpath. Since they are not actually contained in my ear, glassfish complains about missing files.
请先登录再写评论。
Please file at https://youtrack.jetbrains.com/issues/IDEA with the sample project to reproduce attached.
If the scope of these dependencies is Provided in your pom.xml, IntelliJ IDEA should not add them to the artifact.
I have created a small maven project to reproduce this and created an issue.
https://youtrack.jetbrains.com/issue/IDEA-183998