maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus KARG <markus.k...@quipsy.de>
Subject <section>
Date Thu, 14 Sep 2006 12:36:30 GMT
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

Mime
View raw message