[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    [jira] [Created] (LOG4J2-692) Maven 2 compilation issue due to maven-shade-plugin
From:       "P_W999 (JIRA)" <jira () apache ! org>
Date:       2014-06-26 17:39:26
Message-ID: JIRA.12723925.1403804310813.55529.1403804366094 () arcas
[Download RAW message or body]

P_W999 created LOG4J2-692:
-----------------------------

             Summary: Maven 2 compilation issue due to maven-shade-plugin
                 Key: LOG4J2-692
                 URL: https://issues.apache.org/jira/browse/LOG4J2-692
             Project: Log4j 2
          Issue Type: Question
    Affects Versions: 2.0-rc2
         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"
            Reporter: P_W999
            Priority: Trivial


As per the documentation, log4j2 should compile with Maven 2 and Maven 3
bq. 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:
{noformat}
[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] \
------------------------------------------------------------------------ {noformat}

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 ? 



--
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic