jebeaudet commented on pull request #68: URL: https://github.com/apache/maven-resolver/pull/68#issuecomment-875022361
@michael-o I'm not sure where to report this but I'm struggling to make this work, my use case is to properly support concurrent build on jenkins for many projects, we often run into some concurrency problems with sharing the m2 repo across multiple jobs. I'm using [this dockerfile to generate a maven docker image for jenkins](https://gist.github.com/jebeaudet/e3a6a2fdd3dca770afe51d6c071219dc) based of [these instructions](https://maven.apache.org/resolver/maven-resolver-named-locks-redisson/index.html). Running a build with this and `-Dsisu.debug` will produce exceptions `Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.named.support.NamedLockFactorySupport`. This is solved by adding the proper jar in the docker file `RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/apache/maven/resolver/maven-resolver-named-locks/1.7.1/maven-resolver-named-locks-1.7.1.jar`, this is a documentation issue I guess? After, running the build with the debug flag will produce [this output](https://gist.github.com/jebeaudet/c4cbd4638167614ecbc2a7d2afb10e0a#file-gistfile1-txt-L16). Nothing related to connecting to redis. [Output of tree $MAVEN_HOME](https://gist.github.com/jebeaudet/545306ccb51a99fe225cc9b471b4edb9) [Output of cat m2.conf](https://gist.github.com/jebeaudet/0f9a4ce31a155e6cfb50681205d2a9b2) I'm not sure what's wrong here, any ideas? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
