Make a parent project with hibernate dependency so you can use inheritance...
Steve Molloy On Thu, 2005-01-13 at 10:29 -0800, Todd Huss wrote: > I have a mydata project which publishes mydata.jar to my maven repository > when I do "maven jar:install". mydata.jar also requires hibernate.jar to be > of any use to other projects. > > My myweb project creates myweb.war which includes mydata.jar through a > dependency. However, I'm currently specifying the dependency on > hibernate.jar in both myweb/project.xml and mydata/project.xml which isn't > very elegant. > > Is there a way in myweb/project.xml to have it include all of mydata.jar's > dependencies in the war without having duplicate dependency statements in > both projects? > > Thanks, > Todd > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
