Hi!

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.

The text may not mention it, but the JavaDocs show it. You have got to abstract a little from the example and the docs.

Just make your POM look like this:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <configuration>
    <archive>
      <index>true</index>
      <manifest>
        <addClasspath>true</addClasspath>
      </manifest>
      <manifestSections>
        <manifestSection>
          <name>S1</name>
          <manifestEntries>
            <N1>V1</N1>
          </manifestEntries>
        </manifestSection>
      </manifestSections>
    </archive>
  </configuration>
</plugin>

This will result in a manifest like this:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: hb
Build-Jdk: 1.5.0_06
Class-Path: commons-lang-2.1.jar

Name: S1
N1: V1

Enjoy!

--
Mit freundlichen Grüßen / Kind regards

Hendrik Busch - Stellv. Leiter der Softwareentwicklung

LexisNexis Deutschland GmbH
http://www.lexisnexis.de
Feldstiege 100
D-48161 Münster
phone +49 (0) 2533-9300-455
fax +49 (0) 02533-9300-50
[EMAIL PROTECTED]

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

Reply via email to