Open bobvanderlinden opened 6 years ago
It seems I was mistaken, as ~/.m2/repositories/org/slf4j/slf4j-api/[1.7.1,1.7.99)
actually exists on my filesystem 😕 . buildMaven is not escaping the variables correctly, so this plugin is not at fault here.
Actually, the plugin is at fault! If you check that path, you will find no metadata inside because Maven treats that string as a version number which (of course) does not exist upstream.
It seems version ranges are not working correctly. I have the following in pom.xml:
When I run mvn2nix, the following pops up in project-info.json:
Eventually, buildMaven will generate a shell script that includes:
This will result in an error.
I have gone through the code to see how to force it to resolve all versions, but I'm a bit at a loss. I also do not seem to have a good way to debug the code. All suggestions are welcome.