I’m trying to compile a Maven project in Gradle to be included in my Gradle project. I am using the Gradle plugin on Netbeans. With the help of this post, I was able to create tasks that will do just that.
/usr/local/netbeans-8.2/java/maven/bin path to the system environment path (permanently by editing the
~/.bashrc file), from which a symbolic link of the
mvn file was created in the
Unfortunately, I am unable to compile the project.
Error message on console:
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileMavenProject'. > A problem occurred starting process 'command '/usr/bin/mvn''
Does anyone have any idea why this isn’t compiling?
I gather that I should also try changing the Netbeans and/or Gradle path environment, but I don’t know how to go about doing that.
Any tips or guidance will be greatly appreciated! Thank you in advance for your time.