leiningen

jherrlin 2021-10-12T18:33:07.047700Z

Hey! I have n number of Java projects that contains pom.xml files. Some of the dependencies in theses projects cant be resolved as the artifacts have been removed from our private Nexus. I would like to find out which dependencies in which projects that cant be resolved. Would love to piggyback on existing code for reading pom.xml files and the process of resolving the dependencies from our Nexus. Anyone that could help me in a direction? Had a quick look at tools.deps.alphas source code but could not find anything related. Is there anything in Leiningen that I can piggyback on? 🐦🦜

⚡ 1
2021-10-12T21:50:25.047800Z

my first hunch would be to use pomegranate to try and resolve each item

2021-10-12T21:54:35.048300Z

for obvious reasons the docs center mostly on adding deps to a process (it's the lib leiningen uses to do that after all, and that's the main interesting use case), but I would be surpised if there weren't functions for examining pom files and attempting to resolve their contents

jherrlin 2021-10-13T06:07:17.048600Z

@noisesmith thank you! Will take a look at this later today.