Please try removing the org.jetbrains folder in your local .m2 and run again?
Thanks Ramesh On Thu, Aug 29, 2024 at 11:39 AM Sanjay Gupta <sanjay.gup...@nielsen.com> wrote: > > echo $JAVA_HOME > /usr/lib/jvm/java-8-openjdk-amd64 > > > mvn -Pall -DskipTests=false clean compile package install > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 05:21 min > [INFO] Finished at: 2024-08-29T18:22:24Z > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project ranger-knox-plugin: Could not > resolve dependencies for project > org.apache.ranger:ranger-knox-plugin:jar:2.5.0: The following artifacts > could not be resolved: org.jetbrains.pty4j:pty4j:jar:0.11.4, > org.jetbrains.pty4j:purejavacomm:jar:0.0.11.1: Failure to find > org.jetbrains.pty4j:pty4j:jar:0.11.4 in > https://repository.apache.org/content/repositories/snapshots was cached > in the local repository, resolution will not be reattempted until the > update interval of apache.snapshots.https has elapsed or updates are forced > -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <args> -rf :ranger-knox-plugin > > ------- > > Let me know what needs to be done to fix it . >