Still getting the same result, but adding the -U didn't update the WAR plugin 
(the only thing in the output that was listed as downloaded was a new version 
of the Surefire plugin). I know using --version gives the Maven version, but 
how can I check what version of a particular plugin I'm using?

Also, out of curiosity, do you have any idea why an old dependency would leave 
to a NoSuchMethodException? That seems peculiar.

~DVA

-----Original Message-----
From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 27, 2008 2:45 PM
To: Maven Users List
Subject: Re: Started getting exception when packaging war

Hi Daniel,

Just try to update your repository :
mvn package -U

or indicate the last version (2.1-alpha-1) of maven war plugin in you pom.

We also had this error and it seems that it comes from an old version of a
transitive dependency of the maven-war-plugin.

HTH,

Rémy

-- 
This message may contain confidential, proprietary, or legally privileged 
information. No confidentiality or privilege is waived by any transmission to 
an unintended recipient. If you are not an intended recipient, please notify 
the sender and delete this message immediately. Any views expressed in this 
message are those of the sender, not those of any entity within the KBC 
Financial Products group of companies (together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise, on the 
part of KBC FP. It is not an offer (or solicitation of an offer) of, or a 
recommendation to buy or sell, any financial product. Any prices or other 
values included in this message are indicative only, and do not necessarily 
represent current market prices, prices at which KBC FP would enter into a 
transaction, or prices at which similar transactions may be carried on KBC FP's 
own books. The information contained in this message is provided "as is", 
without representations or warranties, express or implied, of any kind. Past 
performance is not indicative of future returns.


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

Reply via email to