On 30 August 2010 17:01, Alexander Vaysberg <[email protected]> wrote:
> Am 30.08.2010 17:25, schrieb mdurrani: > > I would like to copy all jars from a lib folder into my war file. I can do >> it >> by listing a dependency tag for each of them but I don't want to put 20 >> dependency tags in my pom. Is there any way where I can just reference a >> lib >> folder and say to copy all these files to the war? >> >> Use ANT. The Maven way is to list the dependencies... if you don't want to list dependencies, then don't use Maven. -Stephen P.S. Sorry if this sounds blunt, but Maven is opinionated software and this is a core opinion > /lib/ >> 1.jar >> 2.jar >> 3.jar >> 4.jar >> .. >> 20.jar >> >> >> Thanks, >> >> The first you must read more info for Maven(Book for Sonotype). > Dependencies must be in the pom.xml. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
