What does this have to do with the assembly plugin? Isn't this a feature of
archiver - jar/war/ear plugins? The documentation at
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.htmlsays
the syntax is:

<archiver>
 <manifest_entry>value</manifest_entry>
</archiver>

And sure enough, it works in maven-war-plugin 2.0, but unexpectedly silently
breaks in 2.0.2. However, in 2.0.2 the syntax you used:

<archive>
 <manifestEntries>
   <manifest_entry>value</manifest_entry>
 </manifestEntries>
</archive>

works, and the old syntax silently breaks. This is just another one of those
not so well document behaviors... I'd check the version of the plugin you
are using.

Kalle

On 1/23/07, berndq <[EMAIL PROTECTED]> wrote:

Hi Roberto,

this is a bug in the assembly plugin

http://jira.codehaus.org/browse/MASSEMBLY-121

The bug is fixed now but the fix does not work for me.

Let me know if it works for you.

Bernd

> Hi all! I'm trying to include artifact's version (variable versao.sis)
into
> manifest.mf file in a jar, war and ear, but I didn't manager to do this.
> I tried to include the lines below, but it didn't work:
>   <plugin>
>    <groupId>org.apache.maven.plugins</groupId>
>    <artifactId>maven-jar-plugin</artifactId>
>    <configuration>
>     <archive>
>      <manifestEntries>
>       *<Implementation-Version>${versao.sis}</Implementation-Version>*
>      </manifestEntries>
>     </archive>
>    </configuration>
>   </plugin>
> How can I do this kind of thing?
> Thanks a lot in advance.
> Regards,
> Roberto.
>


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


Reply via email to