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
caffeine-3.1.1.jar pushed to MavenCentral announces itself as SNAPSHOT #728
Comments
Oh, good catch. That is for OSGi and is generated by the bnd plugin. What do you think would cause this? It looks as though 3.1.0 did not have this problem, but the version wasn't updated in between so I am unsure what the root cause actually is. |
From the diff, this is the first release that has Gradle Enterprise enabled. When I disable that locally and create a release jar, then the @clayburn do you have any suggestions here? |
Short answer: I think you can get the behavior you are looking for by adding the version as an input to the Longer answer: I think this is the result of an action that the bnd plugin is adding to the Jar task here. It looks like that action is effectively adding inputs to the task but not actually declaring them as inputs. So the above is a workaround for you for now, but I want to file a ticket over on bnd to address this. |
Thanks @clayburn! I took your advice and the custom task input appears to solve it elegantly. @veita My OSGi tests (via pax-exam) seems to work fine with this goof, so I am inclined to wait until the next release (no target date yet). If this is causing OSGi issues that my tests don't catch, please let me know and we can decide on if a release makes sense. Since most dependency checking tools look at other metadata, like version updates and license compliance, it seems like this has low impact. I might simply be ignorant though, so do feel welcome to advocate. |
@ben-manes: From bndtools/bnd#5279: bnd has a fix for this issue that should show up in 6.4. |
The JAR announces itself as a SNAPSHOT version instead of a release version. This causes trouble in automated dependency checks.
The text was updated successfully, but these errors were encountered: