Um, isn't this the job of http://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#createDependencyReducedPom? Shouldn't the shaded artifact's pom (as classified or as replacing the main artifact) not call out all the transitive deps?
On Tue, Jul 26, 2011 at 7:41 PM, Kalle Korhonen <[email protected]> wrote: > Since you are including the dependencies in project A, you should > declare them with scope "provided". > > Kalle > > > On Tue, Jul 26, 2011 at 11:23 AM, marcelo <[email protected]> wrote: >> Hi, >> >> I have project A which dependens on 15 jars , when I build project A, I >> include all dependenices in the jar.. (shade) >> >> I have project B which dependes on project A >> >> when I build project B, it downloads all dependencies of project A >> >> I would like to build project B and have maven just download project A >> artifact and not all dependencies of project A. >> >> thanks, >> >> >> -- >> View this message in context: >> http://maven.40175.n5.nabble.com/Maven-dependencies-tp4635814p4635814.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
