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

Could not find artifact app.tozzi:jpa-search-helper:jar:2.1.0 in central (https://repo.maven.apache.org/maven2) #1

Open
HoussemNasri opened this issue Jul 5, 2024 · 0 comments

Comments

@HoussemNasri
Copy link

Description

Adding the following to pom.xml resulted in the error message in the title being thrown:

<dependency>
            <groupId>app.tozzi</groupId>
            <artifactId>jpa-search-helper</artifactId>
            <version>2.1.0</version>
</dependency>

Fix

  1. Add repo1.maven.org as a repository in pom.xml under the <project> tag:
    <repositories>
        <repository>
            <id>central</id>
            <url>https://repo1.maven.org/maven2</url>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
    </repositories>
  1. Run mvn clean install -U to refresh.
  2. Add dependency in pom.xml like this:
```xml
<dependency>
            <groupId>app.tozzi</groupId>
            <artifactId>jpa-search-helper</artifactId>
            <version>2.1.0</version>
            <classifier>plain</classifier>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant