Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-690

log4j-web pom.xml - test artifacts should be in test scope

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc2
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              phax Philip Helger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified