Thanks Ramesh I did delete and then it was created later on when I ran mvn -Pall -DskipTests=false clean compile package install
Newer timestamp ls -ltr ~/.m2/repository/org | grep jetbrain drwxrwxr-x 4 ranger ranger 4096 Aug 29 18:59 jetbrains Still same issue after deleting and running mvn -Pall -DskipTests=false clean compile package install [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:16 min [INFO] Finished at: 2024-08-29T18:59:33Z [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: Could not find artifact org.jetbrains.pty4j:pty4j:jar:0.11.4 in apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots) -> [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 On Thu, Aug 29, 2024 at 11:42 AM Ramesh Mani <rm...@apache.org> wrote: > 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 . >> >