You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Rick Mann (Jira)" <ji...@apache.org> on 2020/05/19 04:00:12 UTC
[jira] [Created] (LOG4J2-2845) Can't install 2.13.3 with Ivy
Rick Mann created LOG4J2-2845:
---------------------------------
Summary: Can't install 2.13.3 with Ivy
Key: LOG4J2-2845
URL: https://issues.apache.org/jira/browse/LOG4J2-2845
Project: Log4j 2
Issue Type: Bug
Affects Versions: 2.13.2
Environment: macOS 10.15.4, Java 11 (openjdk-14.0.1.jdk)
Reporter: Rick Mann
This affects 2.13.3, but there's no Jira version for that.
I'm trying to use Ant & Ivy to build against log4j. I've set up the dependencies as indicated on the website ([https://logging.apache.org/log4j/2.x/maven-artifacts.html):]
<dependencies>
<dependency org="org.apache.logging.log4j" name="log4j-api" rev="2.13.3" />
<dependency org="org.apache.logging.log4j" name="log4j-core" rev="2.13.3" />
</dependencies>
However, those poms (e.g.: [https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.pom)] eventually specify
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api-java9</artifactId>
<scope>provided</scope>
<type>zip</type>
</dependency>
(and log4j-core-java9), and Ivy tries to download the, but they don't exist in the repos. I'm not sure why Ivy is trying to download a "provided" artifact, but I'm not super clear on how these work.
Googling, I find very little, seems like no one else has run into this problem, but I'm not sure how they couldn't, unless no one uses log4j and Ivy together.
Something is wrong somewhere. Could be my installation, could be the Log4j Ivy instructions, I'm not sure. I couldn't find a mailing list for log4j, so here I am.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)