You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2021/12/15 22:29:00 UTC

[jira] [Created] (LOG4J2-3241) log4j-api-java9.pom and log4j-core-java9.pom sometimes cause maven enforcer to fail

Ralph Goers created LOG4J2-3241:
-----------------------------------

             Summary: log4j-api-java9.pom and log4j-core-java9.pom sometimes cause maven enforcer to fail
                 Key: LOG4J2-3241
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3241
             Project: Log4j 2
          Issue Type: Story
          Components: Build
    Affects Versions: 2.16.0
            Reporter: Ralph Goers


Log4j API and Log4j Core have to build the Java 9 classes in one Maven module and then copy them into the "normal" module. The Java 9 projects are not deployed during a release. The pom.xml files were specifying both as provided dependencies. When the enforcer plugin sees this it is trying to resolve them - sometimes - and fails. It seems these don't need to be declared as dependencies because they are configured into the dependency plugin. So the dependencies should be removed from the pom files.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)