Hi, I have some questions with the dependencies resolution and custon jar generation. I have noticed that maven only find dependencies if they were generated by Maven. Why ? (So he only find the packages that were generated by the default lifeCycle Mapping jar, ejb, war, ...)
For example : I have module A & B A is dependent from B Both modules produce Jars (their packaging type are jar). Maven can resolves the dependency without looking in the local respository. So it work's fine ! Now, what i want, is to produce a package by myself. For example, i bound the goal test-jar to the package phase. Or i simply generate a Jar with antrun Plugin. If a module is dependent of this cutom jars, maven can resolve that dependency. He can't find the jars (in the cache ?). The only solution is to use the systemPath in the <dependency> or to install the jars in the local repository! Is there a way to do maven find the jars locally ? When i mean locally, i mean in the target directory. Is it also possible to add ClassPath entries to the classpath of Maven ? Thanks for any help, GreJ. -- View this message in context: http://www.nabble.com/Custom-jar-generation---Dependencies-resolution-tf3471519s177.html#a9687803 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
