On Wed, 4 Jan 2006, Pagadala Baskar, Kiran Kumar (Cognizant) wrote: My guess is that there's no .pom next to the jar.. You need to create a small pom listing the groupId, artifactId and version (same filename as the jar except ending in .pom, not .jar).
Is that it? -- Kenney > > Hi, > > I am still stuck with this issue. Could someone please let me know what > could possibly be wrong? > > Regards, > Kiran > > -----Original Message----- > From: Pagadala Baskar, Kiran Kumar (Cognizant) > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 5:40 PM > To: Maven Users List > Subject: How to specify external jars > > > Hi, > > I have a couple of external jars that I need for my Project compilation. > > I have uploaded them to the local repository using: > > mvn install:install-file -Dfile=<File Path>\JAR_NAME.jar > -DgroupId=groupId > > -DartifactId=JAR_NAME -Dversion=1.0 -Dpackaging=jar > > I tried adding the jar as a dependency to my POM.xml. > > When I try to compile the project using mvn compile, it is still not > detected. I even tried to add the jars to my CLASSPATH manually. Even > that doesn't help. > > Could someone please let me know where I am going wrong? > > Thanks and Regards, > Kiran > > > This e-mail and any files transmitted with it are for the sole use of > the intended recipient(s) and may contain confidential and privileged > information. > If you are not the intended recipient, please contact the sender by > reply e-mail and destroy all copies of the original message. > > Any unauthorised review, use, disclosure, dissemination, forwarding, > printing or copying of this email or any action taken in reliance on > this e-mail is strictly > > prohibited and may be unlawful. > > Visit us at http://www.cognizant.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > This e-mail and any files transmitted with it are for the sole use of the > intended recipient(s) and may contain confidential and privileged information. > If you are not the intended recipient, please contact the sender by reply > e-mail and destroy all copies of the original message. > Any unauthorised review, use, disclosure, dissemination, forwarding, printing > or copying of this email or any action taken in reliance on this e-mail is > strictly > prohibited and may be unlawful. > > Visit us at http://www.cognizant.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]