How to Specify Attributes For Single Packages (Per-Entry Attributes)
Some attributes of the manifest can be set for individual files or packages using using per-entry attributes. They will then override the default set in the main attributes.
Per-entry attributes are separated by an empty line from the main attributes. Each section must start with a Name attribute, followed by the section's attributes. The sections are separated by newlines from each other as well.
These are the most common per-entry attributes:
| Name | Description | Example |
|---|---|---|
| Name | Relative path of the file the section applies to | resources/image.png |
| Sealed | "true" to seal package, otherwise "false" | true |
| Implementation-Title | Implementation name of the package | My Super Lib |
| Implementation-Version | Version of the implementation | 1.0d |
| Implementation-Vendor | Vendor of the implementation | Super Soft Inc. |
| Specification-Title | Name of the specification implemented | Super API |
| Specification-Version | Version of the specification | 1.0 |
| Specification-Vendor | Vendor of the specification | Super Group |
| Content-Type | MIME type of the file | image/png |
Example with Per-Entry Attributes
Manifest-Version: 1.0 Implementation-Vendor: jarfiller.org Sealed: false Name: com/jarfiller/xml/impl Sealed: true Implementation-Title: XML Api Implementation Implementation-Version: 1.2 Specification-Title: Jarfiller XML API Specification-Version: 1.0 Name: com/jarfiller/xml/backend Sealed: true Implementation-Title: XML Api Implementation Backend Implementation-Version: 1.2 Name: com/jarfiller/helper Implementation-Title: Common Jarfiller Helper Implementation-Version: 2.2

