Is there an easy way to get the name of the path that the jar will be put under when running "lein deploy" ? Before running it, I mean.
e.g. if I run lein deploy our-artifactory-identifier, I get output something like
... WARNINGs ...
Created /Users/me/projects/my-project/target/my-project-0.8.0-SNAPSHOT.jar
... writing pom ...
... sending pom ...
Sending my-project/my-project/0.8.0-SNAPSHOT/my-project-0.8.0-2412312.12312.jar
to our-artifactory-path
Supposing I want to check if my-project/my-project/0.8.0-SNAPSHOT/my-project-0.8.0-2412312.12312.jar is already at the artifactory - how would I generate that path name?snapshot dependencies are guaranteed unique version strings, they promise they won't clash with any previous version string
it's sometimes considered bad practice to publish snapshot versions, if you leave the string SNAPSHOT out of your version string, you can check for the exact match of that version. the usual implication is that a SNAPSHOT is for usage developing a library as part of a larger project when a feature crosses between artifacts, and once you have a version meant for long term use you would use a non snapshot version string.
Generically. This is not just for 1 project, so I can't hardcode it 🙂