You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by amit kumar <am...@gmail.com> on 2008/01/09 06:56:46 UTC

commons-logging-1.0.4

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.

But It directly appears as

*[DEBUG] adding entry WEB-INF/lib/commons-logging-1.0.4.jar*

in the output after using -X command.

Could someone please guide on this?

Regards,
Amit Kumar

Re: commons-logging-1.0.4

Posted by amit kumar <am...@gmail.com>.
Thanks Olivier/wayne, you are right. 1.0.4 was the left over.

Regards,
Amit

On Jan 10, 2008 8:02 AM, Wayne Fay <wa...@gmail.com> 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 <od...@gmail.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: commons-logging-1.0.4

Posted by Wayne Fay <wa...@gmail.com>.
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 <od...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: commons-logging-1.0.4

Posted by Olivier Dehon <od...@gmail.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: commons-logging-1.0.4

Posted by amit kumar <am...@gmail.com>.
I just tried mvn site. It did not appear in dependency report as well :(
On Jan 9, 2008 11:38 AM, Dan Tran <da...@gmail.com> wrote:

> do
>
>  mvn site
>
> and trace it thru dependency report
>
> -D
>
> On Jan 8, 2008 9:56 PM, amit kumar <am...@gmail.com> 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.
> >
> > But It directly appears as
> >
> > *[DEBUG] adding entry WEB-INF/lib/commons-logging-1.0.4.jar*
> >
> > in the output after using -X command.
> >
> > Could someone please guide on this?
> >
> > Regards,
> > Amit Kumar
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: commons-logging-1.0.4

Posted by Dan Tran <da...@gmail.com>.
do

  mvn site

and trace it thru dependency report

-D

On Jan 8, 2008 9:56 PM, amit kumar <am...@gmail.com> 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.
>
> But It directly appears as
>
> *[DEBUG] adding entry WEB-INF/lib/commons-logging-1.0.4.jar*
>
> in the output after using -X command.
>
> Could someone please guide on this?
>
> Regards,
> Amit Kumar
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org