AW: dependency scope with parent module?
Hi James I think it would be easier if you include the POMs (at least the relevant parts). Best regards, Eric > -Ursprüngliche Nachricht- > Von: James Russo [mailto:j...@halo3.net] > Gesendet: Montag, 31. August 2009 13:29 > An: Maven Users List > Betreff: Re: dependency scope with parent module? > > Can anyone help me out this this? > > -jr > > James Russo wrote: > > Hello, > > > >I have a parent module, and 3 "sub?" modules. > > > >project-common > >project-server > >project-weblogic > > > >I have parent setup in all of them, but for some reason when I > > can't get project-weblogic to compile if I scope set to test, and I > > can't get it to test if I set scope to compile? I had thought that > > setting it to test, would require it for both test and compile. > > > > The only solution I could come up with is to put dependency > in there > > twice, once with scope test and once with scope compile? Am > I missing > > something? > > > > > > -jr > > > > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: dependency scope with parent module?
Can anyone help me out this this? -jr James Russo wrote: Hello, I have a parent module, and 3 "sub?" modules. project-common project-server project-weblogic I have parent setup in all of them, but for some reason when I can't get project-weblogic to compile if I scope set to test, and I can't get it to test if I set scope to compile? I had thought that setting it to test, would require it for both test and compile. The only solution I could come up with is to put dependency in there twice, once with scope test and once with scope compile? Am I missing something? -jr - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
dependency scope with parent module?
Hello, I have a parent module, and 3 "sub?" modules. project-common project-server project-weblogic I have parent setup in all of them, but for some reason when I can't get project-weblogic to compile if I scope set to test, and I can't get it to test if I set scope to compile? I had thought that setting it to test, would require it for both test and compile. The only solution I could come up with is to put dependency in there twice, once with scope test and once with scope compile? Am I missing something? -jr - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org