Hello ! Does anyone knows how to work with dependencies not managed by maven ? Is it possible to add a jar to the class path with its absolute path on disk, instead of having maven fetch it automagically in the maven repo ?
Before you call me crazy, let's me explain why : I'm working in a large organization, thinking of moving to maven. We have lots of projects, having lots of dependencies between them. For the moment, those projects are deployed in a central, proprietary repository. We have ant scripts taking care of downloading the jars needed by a project. We need to be able to transition to maven one project after another (we cant just stop working for one month ;-). So we need to be able to still refer to our "old" proprietary repository if we move a project to maven but not all its dependencies are managed by maven. Ideas I had sofar : * Adding some ant script that will copy the needed dependencies to a local repository. Problem : we also need to create a pom in the local repo (and I cant see how to easily generate it automagically). * Pull the dependencies out of the maven dependency management, and add them "manually" to the maven classpath. Problem : I dont even know if it is possible. * No other serious idea sofar ... Any comment, any experience of moving large multiprojects environments (think many dozens, if not hundreds of related projects) with lots of different teams are welcomed. Thanks, Guillaume -- Jabber : [EMAIL PROTECTED] Skype : Guillaume.Lederrey Projects : * http://rwanda.wordpress.com/ * http://rwandatech.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]