In theory, yes, though I have not tried it myself

2008/12/11 CheapLisa <[email protected]>

>
> so I could make a module for it say logging/pom.xml and then put a
> <dependency> to it in a parent pom that all sub-modules have as a
> parent-pom
> and this would work?
>
> thanks
>
> L
>
>
>
> Stephen Connolly-2 wrote:
> >
> > put it in a jar file (make a module just for it) and add that module
> > as a dependency to all the projects that need it
> >
> > Sent from my iPod
> >
> > On 10 Dec 2008, at 20:35, CheapLisa <[email protected]> wrote:
> >
> >>
> >>
> >> I have a project with many modules (over 30) and some are nested 2-3
> >> deep.
> >>
> >> With Maven / Log4J I have to put two log4j.xml files in every module:
> >>    src/main/resources/log4j.xml
> >>    src/test/resources/log4j.xml
> >>
> >>    This is usually the same file over and over again.
> >>
> >>    1)
> >>    How can I have one single log4j.xml file for all tests
> >> (src/test/resources/) and one log4j.xml file for
> >>    all code (/src/main/resources/)
> >>
> >>    2)
> >>    How can I have one single log4j.xml file for all modules in the
> >> project?
> >>
> >>    thanks
> >>
> >>    L
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/How-to-have-a-single-log4j.xml-file-in-a-multi-module-project--tp20943438p20943438.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]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-have-a-single-log4j.xml-file-in-a-multi-module-project--tp20943438p20964994.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]
>
>

Reply via email to