Open cstamas opened 1 year ago
FWIW local repository is just a dir with JARs with or without POMs. We need this option to resolve JARs when network is not available. There may not be POMs nor maven-metadata.xml and that's fine.
Hm, it seems GH env gets detected and as those things are at "standard places" MIMA tries (and fails) to decrypt them?
Failed to decrypt password for server github: org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException: java.io.FileNotFoundException: /home/runner/.m2/settings-security.xml (No such file or directory) @ server: github
My assumption (unverified):
github
credentials encryptedsettings-security.xml
present, hence MIMA fails@aalmiray can you confirm?
Solves #217
A rough draft how could it look like, but I see a big influence of shrinkwrap, hence, IMHO this could be radically simplified.
Also, unsure is "LocalRepository" layrri specific (I guess it is), but just FYI: new feature of resolver is "chained local repository", so it is able to use multiple maven local repositories as well, might be worth to factor it in.