-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
Documentation (Ref Guide, User Guide, etc.)
-
-
-
-
-
There was an already closed similar jira JBEAP-3191, I created this new one because examples changed a bit since then.
There are several examples of MANIFEST.MF files in Development guide for web services taken from upstream documentation.
My proposal is to keep them as simple as possible:
- remove Created-By line or at least update it with some version of supported Java 8+ (Created-By: 1.8.0_73 (Oracle Corporation))
- remove Ant-Version
one of current examples:
Manifest-Version:1.0 Ant-Version: Apache Ant1.8.2 Created-By:1.7.0_25-b15 (Oracle Corporation) Dependencies: org.jboss.ws.cxf.jbossws-cxf-client,org.jboss.ws.cxf.sts
sufficient MANIFEST file:
Manifest-Version: 1.0 Dependencies: org.jboss.ws.cxf.jbossws-cxf-client, org.jboss.ws.cxf.sts
And also, if I understand correctly the specification, there must be a SPACE after colon attribute-name: value, some of the examples don't have them.
reference https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html