given it is the compile plugin failing it is possible maven is unable to
find javac.   make sure the jdk is installed and javac is on path.

thanks

On Fri, Sep 6, 2019 at 6:03 AM Mike Thomsen <[email protected]> wrote:

> What version of the source code are you trying to compile?
>
> On Thu, Sep 5, 2019 at 7:46 PM Sunny Zhang
> <[email protected]> wrote:
>
> > Found that the attached image may be broken. So here is more about error
> > msg.
> >
> > [INFO] nifi-stateless-assembly ............................ SKIPPED
> > [INFO] nifi-docker ........................................ SUCCESS [
> > 0.301 s]
> > [INFO] dockermaven ........................................ SKIPPED
> > [INFO] dockermaven-stateless .............................. SKIPPED
> > [INFO] dockerhub .......................................... SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time:  9.977 s (Wall Clock)
> > [INFO] Finished at: 2019-09-05T16:31:00-07:00
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile
> > (default-compile) on project nifi-api: Compilation failure -> [Help1]
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile
> > (default-compile) on project nifi-schema-utils: Compilation failure->
> [Help
> > 1]
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile
> > (default-compile) on project nifi-properties: Compilation failure ->
> [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/MojoFailureException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :nifi-api
> > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
> > MaxPermSize=256m; support was removed in 8.0
> >
> >
> > From: Sunny Zhang <[email protected]>
> > Sent: Thursday, September 5, 2019 4:43 PM
> > To: [email protected]
> > Subject: Build ERROR: Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.6.0
> >
> > Hey could anyone help me on this?
> >
> > I keep getting ERROR when build on "Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile
> > (default-compile) on project nifi-api: Compilation failure"
> >
> > [cid:[email protected]]
> >
> > I have java version of 1.8.0_221 and maven version of 3.6.1.
> > I executed these code to build:
> > git config --global core.longpaths true
> > git config --global core.autocrlf false
> > mvn -T C2.0 clean install -Pinclude-grpc
> >
> > Been pretty blocked on this. Appreciate your help!!
> >
> > Best,
> > Sunny
> >
>

Reply via email to