Thanks Bernhard, I placed the jar files as per your suggestion.I then added the dependency in the Project.xml file. Now I executed maven, which attempts to download the dependent file and build fails, as it is looking to download from the ibiblio central repository. Can u help me solving this please. Thanks in advance, Jayaram
-----Original Message----- From: Bernhard Slominski [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 3:42 PM To: 'Maven Users List' Subject: AW: how to add classpath in MAVEN Hi Jayaram, I has a similar question yesterday, Hamza posted the following answer, which solved my problem: when you are asking maven to load the dependencies locally, you have to place the jars in the {user.home}\.maven\repository\ location ... under the appropriate subfolder for eg: {user.home}\.maven\repository\servletapi\jar\servletapi-2.4-20040521.jar store all your dependencies this way in the repository folder. cheers ! -----Ursprüngliche Nachricht----- Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 18. März 2005 10:46 An: Maven Users List Betreff: how to add classpath in MAVEN Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it picks up my ejb files and compile. Also I may want to add other library files to the classpath. Can anybody help me in this regard please? Thanks in advance Jayaram Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]