I need to add the following information to the MANIFEST.MF file of a JAR:

Name: S1
N1: V1

Name: S2
N2: V2

How can I do that?

I tried it this way but it doesn't work:

<build>
   <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-jar-plugin</artifactId>
       <configuration>
         <archive>
           <index>true</index>
           <manifest>
             <addClasspath>true</addClasspath>
           </manifest>
           <manifestEntries>
             <section name="S1"><N1>V1</N1></section>
             <section name="S2"><N2>V2</N2></section>
           </manifestEntries>
         </archive>
       </configuration>
     </plugin>
   </plugins>
 </build>

What is the correct way to configure the pom.xml that get the above sections and entries?

Thanks
Markus
begin:vcard
fn:Markus KARG
n:KARG;Markus
org:QUIPSY QUALITY GmbH;Entwicklung / R & D
adr:;;Stuttgarter Strasse 23;Pforzheim;Baden-Wuerttemberg;75179;Bundesrepublik Deutschland
email;internet:[EMAIL PROTECTED]
title:Staatl. gepr. Inf.
tel;work:+49-7231-9189-52
tel;fax:+49-7231-9189-59
note:QUIPSY(R) Entwicklung / R & D
x-mozilla-html:TRUE
url:http://www.quipsy.de
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to