dilyanpalauzov opened a new issue, #2192:
URL: https://github.com/apache/karaf/issues/2192

   It is unclear from https://karaf.apache.org/manual/latest/kar if a `.kar` 
file needs `META-INF/MANIFEST.MF`.
   
   On the one side the `spring-4.0.0.kar` example contains 
`META-INF/MANIFEST.MF`. On the other side the next paragraps says
   ```
   As a KAR file is a simple zip file, you can create the KAR file by hand.
   
   For instance, the following Unix commands create a very simple KAR file:
   
   ~$ mkdir repository
   ~$ cp /path/to/features.xml repository/features.xml
   ~$ cp /path/to/my.jar repository/my/project/my/1.0.0/my-1.0.0.jar
   ~$ zip -r my.kar repository
   updating: repository/ (stored 0%)
     adding: repository/my/project/my/1.0.0/my-1.0.0.jar (deflated 0%)
   ```
   
   * `my.kar` does not contain `META-INF/MANIFEST.MF`
   * In a test I created locally, `mvn install karaf:kar` creates a `.kar` file 
and it contains under `META-INF/MANIFEST.MF`:
   ```
   Manifest-Version: 1.0
   Created-By: Kar Maven Plugin 4.4.8
   Build-Jdk-Spec: 21
   ```
   
   So does a `.kar` file need a `META-INF/MANIFEST.MF`?  If yes, then what 
purpose does it serve and what shall be included there?  If no, why does Kar 
Maven Plugin 4.4.8 include it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to