-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Don't use local Maven repository to detect out of date dependencies #136
Comments
@pmonks Thanks for your reporting!
Indeed. tools.deps requires local repos to create session for now, so I'm not sure yet if I can rule it out, but I'll look into it. |
Hopefully Maven stores metadata in the local repository that allows one to distinguish between "remotely sourced" and "locally sourced" |
FYI it looks like Maven does indeed track this. For one of my projects (which is deployed to Clojars, as well as via local installation), I see these two files in the GA directory:
The first one lists out the versions of the library that have been deployed to Clojars, while the second lists the ones I installed from a local build. I assume there are also files for other remotes (such as |
@pmonks Thanks for your information!
|
I have zero knowledge of the |
Looks good here! Thanks!! And if I'm calling |
@pmonks Thanks for your confirmation!
Yes, you can use |
Fantastic! Can't wait to see this released! Thanks again!! |
I'll cut a new release tomorrow at the latest :) |
It appears that antq uses the local Maven repository (e.g.
~/.m2/repository
) as part of determining whether an artifact (identified by GAV) is out of date, however this approach leads to false positives when a "temporary development" version of an artifact has been built and installed locally, but is not yet published to any remote repository (e.g. Maven Central or Clojars).This is a problem because if that dependency is "upgraded" to the local-only version, and then those changes pushed, all other consumers of that code will have dependency resolution errors as that "upgraded" version only exists on that one developer's local storage.
Some Possible Considerations
The text was updated successfully, but these errors were encountered: