On 9/28/07, Steve Z <[EMAIL PROTECTED]> wrote: > I want to know how to embed own jars in project. such as one directory > named "lib" in project directory.and add them to POM,and could compile > them successfully anywhere. so others don't need install all the own > jars by hand.
Maven is repository based and expects to find things in its local or remote repositories, and you're at the point where you need an internal/corporate "remote" repository. Is that going to be possible in your environment? If so, take a look at the various repository managers/proxies like Archiva, Artifactory, and Proximity. If the jars _must_ be in svn, I've seen a project or two check the repository structure into svn and then use it with a file:// url. The "collection of jars in a lib directory" approach is not something Maven really supports. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
