mvn dependency:tree is your friend -Igor
On 3/13/09, Stephen Swinsburg <s.swinsb...@lancaster.ac.uk> wrote: > Spot on, it's been a while since I've done Maven1 work and this has > caught me out previously I just didn't think of it this time! I'll > double check the jars that are in my Maven2 webapp and presume I will > find that jar missing from the Maven1 build. > > Thanks Linda and Adriano! > > > On 13/03/2009, at 8:05 AM, Linda van der Pal wrote: > >> Maven2 handles transitive dependencies, meaning that if a project >> you are dependent on is dependent on other projects, Maven will add >> them to the classpath. So that's why you didn't have to add that jar >> manually, Maven did it for you. I don't think Maven1 had this >> functionality. >> >> Linda >> >> Stephen Swinsburg wrote: >>> Thanks Adriano. I don't seem to need that for my Maven2 build >>> though, is there a reason for that? I'll try that though. >>> >>> >>> cheers, >>> Steve >>> >>> >>> >>> On 12/03/2009, at 8:02 PM, Adriano dos Santos Fernandes wrote: >>> >>>> Steve Swinsburg escreveu: >>>>> Hi all, >>>>> >>>>> I have a need to backport my wicket app that builds perfectly in >>>>> Maven2 to Maven1. I think I've adjusted all the pom.xml to >>>>> project.xml correctly as all the classes and dependent jars looks >>>>> like they are where they need to be, but on startup I get this: >>>>> >>>>> java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory >>>>> >>>>> Although in my WEB-INF/lib I have (amongst the others) the >>>>> required jars: >>>>> >>>>> slf4j-log4j12-1.4.2.jar >>>>> log4j-1.2.14.jar >>>>> >>>>> >>>>> Any idea what's missing? Does anyone else build under Maven1? >>>> You also need slf4j-api-*.jar. >>>> >>>> >>>> Adriano >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> ------------------------------------------------------------------------ >>> >>> >>> No virus found in this incoming message. >>> Checked by AVG - www.avg.com Version: 8.5.278 / Virus Database: >>> 270.11.10/1996 - Release Date: 03/11/09 20:42:00 >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org