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
-- 
View this message in context: 
http://www.nabble.com/%3Csection%3E-tf2271367.html#a6306101
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to