shuguo zheng created NIFI-5439:
----------------------------------

             Summary: Compile faile use openjdk8
                 Key: NIFI-5439
                 URL: https://issues.apache.org/jira/browse/NIFI-5439
             Project: Apache NiFi
          Issue Type: Bug
          Components: Tools and Build
    Affects Versions: 1.3.0
         Environment: openjdk8(openjdk-8u40-b25-linux-x64-10_feb_2015)
            Reporter: shuguo zheng


Execute {{}} {{mvn -T 2.0C clean install -Dmaven.test.skip=true to complile the 
source,the following error occurred but when I change the forck value to false 
in the pom.xml it compile success:}}

{{[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on 
project nifi-ccda-processors: Compilation failure -> [Help 1]}}
{{org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile 
(default-compile) on project nifi-ccda-processors: Compilation failure}}
{{        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)}}
{{        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)}}
{{        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)}}
{{        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)}}
{{        at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)}}
{{        at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)}}
{{        at java.util.concurrent.FutureTask.run(FutureTask.java:266)}}
{{        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)}}
{{        at java.util.concurrent.FutureTask.run(FutureTask.java:266)}}
{{        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)}}
{{        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)}}
{{        at java.lang.Thread.run(Thread.java:745)}}
{{Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: 
Compilation failure}}
{{        at 
org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:913)}}
{{        at 
org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)}}
{{        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)}}
{{        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)}}

 

{{following is the pom.xml config:}}

<{color:#000080}plugin{color}>
 
<{color:#000080}groupId{color}>org.apache.maven.plugins</{color:#000080}groupId{color}>
 
<{color:#000080}artifactId{color}>maven-compiler-plugin</{color:#000080}artifactId{color}>
 <{color:#000080}version{color}>3.2</{color:#000080}version{color}>
 <{color:#000080}configuration{color}>
 <{color:#000080}fork{color}>false</{color:#000080}fork{color}>
 <{color:#000080}optimize{color}>true</{color:#000080}optimize{color}>
 
<{color:#000080}showDeprecation{color}>true</{color:#000080}showDeprecation{color}>
 <{color:#000080}showWarnings{color}>true</{color:#000080}showWarnings{color}>
 </{color:#000080}configuration{color}>
</{color:#000080}plugin{color}>

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to