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

Maven Repository Issue #21

Closed
saminitz opened this issue Oct 10, 2024 · 2 comments · Fixed by #22
Closed

Maven Repository Issue #21

saminitz opened this issue Oct 10, 2024 · 2 comments · Fixed by #22
Labels
bug Something isn't working

Comments

@saminitz
Copy link

Hi there,

I tried to add you library to my project but I get the following error:

[ERROR] dependency: io.github.drednote:spring-boot-starter-telegram:jar:0.3.0 (compile)
[ERROR]         io.github.drednote:spring-boot-starter-telegram:jar:0.3.0 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced

I looked into the repository at https://repo.maven.apache.org/maven2/io/github/drednote/spring-boot-starter-telegram/0.3.0/ and noticed that the version does not match with the jar file listed there.
The version I took a look at was 0.3.0 but there was no file
spring-boot-starter-telegram-0.3.0.jar only
spring-boot-starter-telegram-0.3.0-plain.jar
I don't know if that is the issue but looking at other repositories, they all have a file matching the exact version.

@saminitz
Copy link
Author

I just fiddled around and found out, that it is working when I add <classifier>plain</classifier> to the dependency so it looks like this now:

<dependency>
    <groupId>io.github.drednote</groupId>
    <artifactId>spring-boot-starter-telegram</artifactId>
    <version>0.3.0</version>
    <classifier>plain</classifier>
</dependency>

@Drednote Drednote added the bug Something isn't working label Oct 10, 2024
@Drednote Drednote linked a pull request Oct 10, 2024 that will close this issue
@Drednote
Copy link
Owner

Hello!

Thanks for notifying me about the error connecting the library.

I have already fixed this issue and made the necessary changes to the code. All fixes are in the following pull request. Today I will post a new version 0.3.1 in maven.

If you have further problems, be sure to write about them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants