Thanks Olivier/wayne, you are right. 1.0.4 was the left over. Regards, Amit
On Jan 10, 2008 8:02 AM, Wayne Fay <[EMAIL PROTECTED]> wrote: > Have you run mvn clean lately? It might be leftover from a previous > build, as suggested by Olivier. > > Wayne > > On 1/9/08, Olivier Dehon <[EMAIL PROTECTED]> wrote: > > > > On Wed, 2008-01-09 at 11:26 +0530, amit kumar wrote: > > > Hi, > > > I am building a WAR package, and every time I see > > > commons-logging-1.0.4being put in the WEB-INF\lib folder. Although > > > this is not described in my > > > pom.xml(I have commons-logging-1.1 as my dependency in the pom.xml) > Still I > > > am getting it. I tried and used mvn package -X to see to which > dependency > > > this is a transitive dependency to. > > > > Do you get both versions in WEB-INF/lib? If yes, it might be because you > > have version 1.1 of the jar in the war source dir, hence maven copies it > > in the final war. (maybe you ran mvn war:inplace some time ago?) > > > > HTH -Olivier > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
