I haven't used this functionality, so I can't confirm this will work but try
using manifestSection as described here
http://maven.apache.org/shared/maven-archiver/index.html (the jar plugin
references this plugin for details about manifest generation).

On Jan 22, 2008 11:20 AM, Arthur Rodrigues Stilben <
[EMAIL PROTECTED]> wrote:

> I feel so sorry about my insistence. But I have a little problem that
> still can't resolve. I want to put a section at the menisfest using this
> code:
>
>
> <build>
>    <!--<defaultGoal>package</defaultGoal>-->
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-jar-plugin</artifactId>
>        <configuration>
>          <archive>
>            <manifestEntries>
>              <!--<mode>development</mode>
>              <url>${pom.url}</url>-->
>            <Java-Version>${java.version}</Java-Version>
>              <Build-Platform>${os.name} ${os.arch} ${os.version
> }</Build-Platform>
>              <Built-By>${user.name}</Built-By>
>              <Class-Path>${manifest.classpath} SaiphST-ejbClient.jar
> </Class-Path>
>              <section>
>                <Name>br/com/saiph/st/ejb</Name>
>                <Specification-Title>SaiphST-ejb API</Specification-Title>
>                <Specification-Version>${saiph.rel}_${saiph.ver
> }</Specification-Version>
>                <Specification-Vendor>Extend.NetLtda.</Specification-Vendor>
>                <Implementation-Title>br.com.saiph.st.ejb
> </Implementation-Title>
>                <Implementation-Version>${saiph.rel}_${saiph.ver}
> ${TODAY}</Implementation-Version>
>                <Implementation-Vendor>Extend.NetLtda.</Implementation-Vendor>
>              </section>
>            </manifestEntries>
>          </archive>
>        </configuration>
>      </plugin>
>    </plugins>
>  </build>
>
>
> Informations above <section> are shown, but inside not. I just want to put
> a section in the file. How can I do it?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to