Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Search Not Working - E.g., Search for apache log4j and it can't be found using Maven Central as the repo #184

Open
donrwilliams opened this issue Jun 15, 2024 · 0 comments
Assignees

Comments

@donrwilliams
Copy link

On MacOS, simple Java project with Maven:
IntelliJ IDEA 2024.1.3 (Ultimate Edition)
Build #IU-241.17890.1, built on June 3, 2024

Package Search Plugin:
241.0.11

Maven pom.xml repository:

    <repository>
        <id>maven_central</id>
        <name>Maven Central</name>
        <url>https://repo.maven.apache.org/maven2/</url>
    </repository>

Trying to add dependency for org.apache.logging.log4j-api using the Package Search tool window in the IDE.

Searching for log4j does not show the Apache Log4J, but shows other results that I am not interested in.

The only workaround for me was to manually add the following dependency to pom.xml, then Apache Log4J shows up in Package Search as an existing dependency:

    <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-api</artifactId>
        <version>2.23.1</version>
    </dependency>
    <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-core</artifactId>
        <version>2.23.1</version>
    </dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants