Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?
Yeah. Agreed. I’ll try to get some time to do this.. On Thu, May 14, 2015 at 5:09 PM, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi Kevin, if you have really the assumption seeing a bug than it would be helpful to create a test project or offer the project where you can observe the problem so we can take a deeper look into it? Kind regards karl Heinz Marbaise On 5/14/15 11:22 PM, Kevin Burton wrote: Yes. IT seems I’m a weird type of dependency hell. The dependencySet is using test… and if I manually add exclusions to some of these, it overwrites the exclusion used in the original POM. But at least I know there’s a core bug causing all this insanity. (I hope) On Thu, May 14, 2015 at 1:51 PM, Kevin Burton bur...@spinn3r.com wrote: I think I figured it out… I think the dependencySet is ALWAYS using test. Even if I set it to runtime. I looked in the pom for the project that I’m including and the dependencies its pulling in are from it’s test scope. On Thu, May 14, 2015 at 1:43 PM, Kevin Burton bur...@spinn3r.com wrote: (sorry, hit send by accident on that other one) totally stumped here and was wondering if you guys had some feedback. I’m building all the dependency jars for my project by using the assembly plugin. dependencySets dependencySet outputDirectorylib/outputDirectory useProjectArtifacttrue/useProjectArtifact scoperuntime/scope /dependencySet /dependencySets which works. the problem is that I added a new dependency, and now it’s pulling in a LOT more than I had anticipated. FAR more than is listed in dependency:tree More importantly, I’m getting conflicting packages. Like Jetty 6 and Jetty 9, and conflicting servlet-api .jars and things I don’t want in the classpath. I can’t figure out how it’s magically doing this… I would assume these dependencies are going to show up in the dependency tree - but they’re not. -- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile https://plus.google.com/102718274791889610666/posts
Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?
I think I figured it out… I think the dependencySet is ALWAYS using test. Even if I set it to runtime. I looked in the pom for the project that I’m including and the dependencies its pulling in are from it’s test scope. On Thu, May 14, 2015 at 1:43 PM, Kevin Burton bur...@spinn3r.com wrote: (sorry, hit send by accident on that other one) totally stumped here and was wondering if you guys had some feedback. I’m building all the dependency jars for my project by using the assembly plugin. dependencySets dependencySet outputDirectorylib/outputDirectory useProjectArtifacttrue/useProjectArtifact scoperuntime/scope /dependencySet /dependencySets which works. the problem is that I added a new dependency, and now it’s pulling in a LOT more than I had anticipated. FAR more than is listed in dependency:tree More importantly, I’m getting conflicting packages. Like Jetty 6 and Jetty 9, and conflicting servlet-api .jars and things I don’t want in the classpath. I can’t figure out how it’s magically doing this… I would assume these dependencies are going to show up in the dependency tree - but they’re not. -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile https://plus.google.com/102718274791889610666/posts -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile https://plus.google.com/102718274791889610666/posts
Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?
Yes. IT seems I’m a weird type of dependency hell. The dependencySet is using test… and if I manually add exclusions to some of these, it overwrites the exclusion used in the original POM. But at least I know there’s a core bug causing all this insanity. (I hope) On Thu, May 14, 2015 at 1:51 PM, Kevin Burton bur...@spinn3r.com wrote: I think I figured it out… I think the dependencySet is ALWAYS using test. Even if I set it to runtime. I looked in the pom for the project that I’m including and the dependencies its pulling in are from it’s test scope. On Thu, May 14, 2015 at 1:43 PM, Kevin Burton bur...@spinn3r.com wrote: (sorry, hit send by accident on that other one) totally stumped here and was wondering if you guys had some feedback. I’m building all the dependency jars for my project by using the assembly plugin. dependencySets dependencySet outputDirectorylib/outputDirectory useProjectArtifacttrue/useProjectArtifact scoperuntime/scope /dependencySet /dependencySets which works. the problem is that I added a new dependency, and now it’s pulling in a LOT more than I had anticipated. FAR more than is listed in dependency:tree More importantly, I’m getting conflicting packages. Like Jetty 6 and Jetty 9, and conflicting servlet-api .jars and things I don’t want in the classpath. I can’t figure out how it’s magically doing this… I would assume these dependencies are going to show up in the dependency tree - but they’re not. -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile https://plus.google.com/102718274791889610666/posts -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile https://plus.google.com/102718274791889610666/posts -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile https://plus.google.com/102718274791889610666/posts
Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?
Hi Kevin, if you have really the assumption seeing a bug than it would be helpful to create a test project or offer the project where you can observe the problem so we can take a deeper look into it? Kind regards karl Heinz Marbaise On 5/14/15 11:22 PM, Kevin Burton wrote: Yes. IT seems I’m a weird type of dependency hell. The dependencySet is using test… and if I manually add exclusions to some of these, it overwrites the exclusion used in the original POM. But at least I know there’s a core bug causing all this insanity. (I hope) On Thu, May 14, 2015 at 1:51 PM, Kevin Burton bur...@spinn3r.com wrote: I think I figured it out… I think the dependencySet is ALWAYS using test. Even if I set it to runtime. I looked in the pom for the project that I’m including and the dependencies its pulling in are from it’s test scope. On Thu, May 14, 2015 at 1:43 PM, Kevin Burton bur...@spinn3r.com wrote: (sorry, hit send by accident on that other one) totally stumped here and was wondering if you guys had some feedback. I’m building all the dependency jars for my project by using the assembly plugin. dependencySets dependencySet outputDirectorylib/outputDirectory useProjectArtifacttrue/useProjectArtifact scoperuntime/scope /dependencySet /dependencySets which works. the problem is that I added a new dependency, and now it’s pulling in a LOT more than I had anticipated. FAR more than is listed in dependency:tree More importantly, I’m getting conflicting packages. Like Jetty 6 and Jetty 9, and conflicting servlet-api .jars and things I don’t want in the classpath. I can’t figure out how it’s magically doing this… I would assume these dependencies are going to show up in the dependency tree - but they’re not. -- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org