I see the war plugin was just updated to 2.0.1.

It no longer automatically produces certain entries in the manifest that it did previously:

    Extension-Name:
    Specification-Title:
    Specification-Vendor:
    Implementation-Vendor:
    Implementation-Title:
    Implementation-Version:

I read MWAR-34 and MWAR-35 but it is not clear to me what the intended behavior is as a result of fixing those bugs. Is it no longer supposed to add any of these by default?

I tried to add these manually like this, for example:

    <plugin>
      <artifactId>maven-war-plugin</artifactId>
      <configuration>
         <archive>
           <manifestEntries>
             <Implementation-Version>abc</Implementation-Version>
           </manifestEntries>
         </archive>
       </configuration>
     </plugin>

Previously adding manual entries to a WAR did not seem to work (worked fine for JARs). Now it produces an exception no matter what entry I try to add, for example:

    org.codehaus.plexus.archiver.jar.ManifestException:
    The attribute "Implementation-Version" may not occur more than
    once in the same section
    at org.codehaus.plexus.archiver.jar.Manifest$Section.
    addAttributeAndCheck(Manifest.java:727)

I can write up a bug, if appropriate, but I'm not clear on what the intended behavior is now.

-- Mark R


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

Reply via email to