Log4j 2
  1. Log4j 2
  2. LOG4J2-692

Maven 2 compilation issue due to maven-shade-plugin

    Details

    • Type: Question Question
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc2
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Apache Maven 2.2.1 (rdebian-8)
      Java version: 1.7.0_09
      Java home: /usr/lib/jvm/jdk1.7.0.09/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux" version: "3.5.0-17-generic" arch: "i386" Family: "unix"

      Description

      As per the documentation, log4j2 should compile with Maven 2 and Maven 3

      Log4j 2.x uses Maven 2 or 3 as its build tool. To build and install Log4j in your local Maven cache, from the root directory run:

      However, the Maven performance test uses a Maven 3 only plugin:

      [INFO] Building Apache Log4J Performance Tests
      [INFO]    task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error resolving version for 'org.apache.maven.plugins:maven-shade-plugin': Plugin requires Maven version 3.0
      [INFO] ------------------------------------------------------------------------
      

      Other than that, it compliles without any issues, though I'm not sure if it would be correct to still state that it can be built with Maven 2 ?

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Phillip
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development