unit testing - Use the same log4j.properties for tests in a multi module Maven project -


i have multi-module, lot of modules, maven project. each module has it's own set of unit-tests. want use same log4j.properties file tests. have copy , paste same file in each module's /src/test/resources or there smartest way? i'm looking smartest way no luck now.

i think there couple of possible ways:

  • add directory log4j.properties classpath used when running unit tests
  • add directory log4j.properties additional resources directory, files directory copied target/classes directory every module

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -