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]



Reply via email to