catkin_make error
I'm in the process of running catkin_make, but right before make is successful, I am receiving the following error with a gradle plugin:
:gradle_plugins:generatePomFileForMavenJavaPublication
:gradle_plugins:compileJava UP-TO-DATE
:gradle_plugins:compileGroovy UP-TO-DATE
:gradle_plugins:processResources UP-TO-DATE
:gradle_plugins:classes UP-TO-DATE
:gradle_plugins:jar UP-TO-DATE
:gradle_plugins:publishMavenJavaPublicationToMavenRepository
Uploading: org/ros/rosjava_bootstrap/gradle_plugins/0.1.18/gradle_plugins-0.1.18.jar to repository remote at file:/opt /ros/hydro/share/maven/
Transferring 91K from remote
/opt/ros/hydro/share/maven/org/ros/rosjava_bootstrap/gradle_plugins/0.1.18/gradle_plugins-0.1.18.jar (Permission denied)
:gradle_plugins:publishMavenJavaPublicationToMavenRepository FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':gradle_plugins:publishMavenJavaPublicationToMavenRepository'.Failed to publish publication 'mavenJava' to repository 'maven'
Error deploying artifact 'org.ros.rosjava_bootstrap:gradle_plugins:jar': Error deploying artifact: PUT request to: org/ros /rosjava_bootstrap/gradle_plugins/0.1.18/gradle_plugins-0.1.18.jar in remote failedTry: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.368 secs
make[2]: * [rosjava_bootstrap/CMakeFiles/gradle-rosjava_bootstrap] Error 1
make[1]: [rosjava_bootstrap/CMakeFiles/gradle-rosjava_bootstrap.dir/all] Error 2
make: ** [all] Error 2
Invoking "make" failed
Since the error mentioned permission being denied to the folder, I tried changing the permissions. I even used "chmod -R 777 filename(s)" but when I used catkin_make, I still received the same error.
Are there any possible workarounds or fixes for this issue? Any guidance would be greatly appreciated.