Thanks Matt, This moves me.. On Fri, Dec 19, 2008 at 6:55 PM, Matt Raible <[email protected]> wrote:
> You should search mvnrepository.com (or http://repository.sonatype.org) to > see if your JARs already exist. If they don't you can manually install them > in your local repository. The easiest way to do this is to put the > dependency in your pom.xml (guess at what you'd want the groupId/artifactId > to be) and run the build. Maven will spit out a command to run to install > the JAR. If you're developing with other folks, you'll need to install this > in a company repository so everyone can use it (or provide instructions for > them to install it locally). I recommend Nexus for a company repository. > > http://nexus.sonatype.org/ > > Matt > > > On Fri, Dec 19, 2008 at 1:35 PM, Raghu <[email protected]> wrote: > >> Thanks Mike for reply. I am still not clear about adding of dependencies >> in pom.xml.. >> >> Like I want to use kaptcha jar from below link into my project and it >> hosted on code.google.com... >> How should I add dependency for this jar in my pom? What should I add in >> repository and what should I add in dependency? >> >> http://code.google.com/p/kaptcha/downloads/list >> >> Similarly some dependencies for me comes from sourceforge.net... >> >> Thanks >> Raghu >> >> >> On Fri, Dec 19, 2008 at 2:48 PM, Michael Horwitz >> <[email protected]>wrote: >> >>> Hi Raghu, >>> >>> The appfuse static repository is just one of many that Maven connects to. >>> The default Maven repository is http://repo1.maven.org and Maven will >>> always look in this repository for any missing dependencies. It is worth >>> noting that unless your dependencies are SNAPSHOT, they are only downloaded >>> once to your local repository. To update the version of any dependency or to >>> add new dependencies you simply edit the project pom.xml file and make the >>> necessary changes. For more on Maven dependency management see >>> http://tinyurl.com/2y33b8 >>> >>> Mike >>> >>> 2008/12/19 Raghu <[email protected]> >>> >>> Hi, I am new to appfuse and using Maven for the first time.. >>>> I am using Eclipse and deployed war and everything works perfectly for >>>> me... >>>> >>>> I have question related with pluginRepositories...I see url as >>>> http://static.appfuse.org/repository... >>>> >>>> Is it that all the project dependencies are stored in appfuse repository >>>> and everything i run mvn package then dependencies will be fetched from >>>> appfuse repository? >>>> >>>> What should I do if I want to upgrade some of the dependencies to higher >>>> version? >>>> >>>> What should I do if I have to do add few more dependencies as per my >>>> requirement? >>>> >>>> Thanks >>>> Raghu >>>> >>>> >>>> >>> >> >
