Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The current jar plugin requires manual manifest configuration to seal all packages in a jar. There should be an option for the jar plugin to create a list of all packages in the jar, and seal them in the manifest.
To seal all the packages in a jar file, the "Sealed: true" attribute just has to be in the main section of the manifest. It's not necessary to mark each individual package as sealed. More information is available in the jar file specification (http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Per-Entry%20Attributes).