Franz, are you joking?
Do you see any <section> tags on the URLs you posted?
Maybe I am blind, but I don't see any, actually.

Have Fun
Markus

franz see schrieb:


Markus Karg wrote:
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




Good day to you, Markus,

Not exactly sure how, but you want to take a look at [1] and [2] ^_^ This
documentation is still under review though, so feel free to post any
comments that you may have so that we can update it ^_^

Thanks,
Franz

[1]
http://people.apache.org/~dennisl/maven-jar-plugin/examples/manifest-customization.html
[2]
http://people.apache.org/~dennisl/maven-jar-plugin/examples/manifest-file.html

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