Hello there,
A short while ago I published my first Maven package using GitHub Actions. After struggling with the pom.xml settings for the package I managed to get a published package that could be used in another project.
Because the Release and Publishing was to test the system and not in a state to use it properly, I deleted the Release and the Maven package and tried a new release under another version a bit later.
The following problem occured: I can still use the old, deleted package (here: v0.1.0) but I can't use the newer version (v0.1.1).
The maven install only produces the following exception:
Could not find artifact dev.edgetom:interaction-api:jar:0.1.1 in central (https://repo1.maven.org/maven2)
Why is it, that the old version is still available? Is this because I have it downloaded locally?
And why can't I download the new version as a dependency?
I appreciate every help!
Thank you!
This is my repository I want to publish: https://github.com/tgross03/Interaction-API
The current package version: https://github.com/tgross03/Interaction-API/packages/2289096
The pom.xml of the project to publish contains the following:
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub tgross03 Apache Maven Packages</name>
<url>https://maven.pkg.github.com/tgross03/Interaction-API</url>
</repository>
</distributionManagement>