You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so the problem is that somehow it gets a filename like this: C:\Users\user\.m2\repository\nomnomnom\nomnomnom\0.5.0-SNAPSHOT\maven-metadata-file:\C:\Users\user\AppData\Local\Temp\lein-custom-repo.xml
C:\Users\user.m2\repository\nomnomnom\nomnomnom\0.5.0-SNAPSHOT\maven-metadata-file:\C:\Users\user\AppData\Local\Temp\lein-custom-repo.xml
am I doing something wrong here? I know it works fine with unix paths but windows ...?!
EDIT: to note that I've also tried these params to aether/deploy:
ok I've tracked this to being a wrongly formated repo name passed to aether/deploy: ie. repo name file://C:/Users/user/AppData/Local/Temp//lein-custom-repo instead of lein-custom-repo. So since aether tries to form a file name using this repo name which is repo id which in turn is repo key, like from maven-metadata.xml into maven-metadata-repoKeyHERE.xml where repoKeyHERE ends up being the repo name... then it will fail to access it, unless something tries to sanitize/check if the repo name is valid ie. pomegranate could do that inside deploy
the related leiningen issue which led me to this (in windows,the leiningen tests would fail) is this technomancy/leiningen#1179
So, it's not pomegranate or aether fault per se, but they are allowing/assuming that the repo name is valid (ie. containing non-path-delimiters) and aether uses this name to form filenames
if I call that, I get approximately this:
so the problem is that somehow it gets a filename like this:
C:\Users\user\.m2\repository\nomnomnom\nomnomnom\0.5.0-SNAPSHOT\maven-metadata-file:\C:\Users\user\AppData\Local\Temp\lein-custom-repo.xml
C:\Users\user.m2\repository\nomnomnom\nomnomnom\0.5.0-SNAPSHOT\maven-metadata-file:\C:\Users\user\AppData\Local\Temp\lein-custom-repo.xml
am I doing something wrong here? I know it works fine with unix paths but windows ...?!
EDIT: to note that I've also tried these params to
aether/deploy
:notice the "" became "/" in the
:repository
partand also with all the "" as "/" such as: (trying now)
Any ideas on this? is it expecting only unix paths? so like no drive letter? and maybe delimiters to be "/" also ?
The text was updated successfully, but these errors were encountered: