Hi Enrique,

Well.. Do you add a BuildVersion attribute to the manifest someplace else?

Cheers
Jo

On 2/26/07, Enrique Gaona <[EMAIL PROTECTED]> wrote:


Hi,
I'm running into problems building my war file.  Inside my parent pom, I
am
adding entry to my manifest file, but when it creates the war file, it
complains about an Embedded error.   Anyone seen this before?


                        <plugin>
                                <artifactId>maven-war-plugin</artifactId>
                                <configuration>
                                        <archive>
                                            <manifestEntries>

<BuildVersion>${buildNumber}</BuildVersion>
                                            </manifestEntries>
                                        </archive>
                                </configuration>
                        </plugin>

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error assembling WAR

Embedded error: The attribute "BuildVersion" may not occur more than once
in the same section
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 52 seconds
[INFO] Finished at: Mon Feb 26 12:28:34 CST 2007
[INFO] Final Memory: 40M/110M
[INFO]
------------------------------------------------------------------------

Thanks

Enrique

Reply via email to