You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Philip Helger (JIRA)" <ji...@apache.org> on 2014/06/26 10:47:24 UTC

[jira] [Created] (LOG4J2-690) log4j-web pom.xml - test artifacts should be in test scope

Philip Helger created LOG4J2-690:
------------------------------------

             Summary: log4j-web pom.xml - test artifacts should be in test scope
                 Key: LOG4J2-690
                 URL: https://issues.apache.org/jira/browse/LOG4J2-690
             Project: Log4j 2
          Issue Type: Bug
    Affects Versions: 2.0-rc2
            Reporter: Philip Helger
             Fix For: 2.0


Currently, log4j-web includes junit, spring-test and easymock are present as test dependencies. Unfortunately these dependencies are propagated to the outside. So please add <scope>test</scope> to all test dependencies like this:

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <scope>test</scope>
    </dependency>

Thanks, Philip



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org