Thanks for you quick reply. In many cases, one library may have multiple jar files. A good example is the FOP project:
http://xml.apache.org/fop/ It has the following jar files: <dependency> <id>fop</id> <version>0.20.4</version> <jar>xalan-2.3.1.jar</jar> <jar>xercesImpl-2.0.1.jar</jar> <jar>xml-apis.jar</jar> <jar>avalon-framework-cvs-20020315.jar</jar> <jar>batik.jar</jar> </dependency> But, when I look at the online repository, there is only one jar file: http://www.ibiblio.org/maven/fop/jars/ So, my question is how did they make one jar file out of five? -----Original Message----- From: __matthewHawthorne [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 1:43 PM To: Maven Users List Subject: Re: Dependencies Each jar needs its own dependency tag. Try pom:validate to make sure your project file is valid. Askren, Jay wrote: >I'm trying to set up Maven on a project of mine and am having some >troubles with the dependencies. We have a company library that I am >including in the project, and I added the following to the project.xml >file: > > > > <dependency> > <id>Eden</id> > <version>1.1</version> > <jar>EdenCommon.jar</jar> > <jar>EdenShared.jar</jar> > <jar>SudsServiceEjb.jar</jar> > </dependency> > > > >I then added the jar files to my local repository. The code doesn't >compile, and I'm guessing it is because there are three jar files. Am I >not allowed to have more than one jar file per dependency or did I just >write it in correctly in my project file? I see in the repository on >ibiblio, the dependencies seem to have one jar file each. I'm sure I >can unjar all three and then jar them back up again, or can I just jar >the three jar files into one jar file without first unjaring them? >Thanks for your help. > > > > > > > > > > > >Jay. > > > > > > >--------------------------------------------------------------------- >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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
