[jira] [Created] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
Yugant H Shah created MCOMPILER-318: --- Summary: Groovy files not been compiled when used with java9 spring boot Key: MCOMPILER-318 URL: https://issues.apache.org/jira/browse/MCOMPILER-318 Project: Maven Compiler Plugin Issue Type: Bug Affects Versions: 3.7.0, 3.6.2 Reporter: Yugant H Shah Attachments: JigsawTest.zip Compiling java9+ groovy + maven code base does not compile groovy files. Attached is the sample project -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
[ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yugant H Shah updated MCOMPILER-318: Description: Compiling java9+ groovy + maven code base does not compile groovy files. Attached is the sample project [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project api: Compilation failure: Compilation failure: [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, or on patch path for module [ERROR] /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32] cannot find symbol [ERROR] symbol: class GroovyService [ERROR] location: package com.allstate.jigsaw [ERROR] -> [Help 1] [ERROR] was: Compiling java9+ groovy + maven code base does not compile groovy files. Attached is the sample project > Groovy files not been compiled when used with java9 spring boot > --- > > Key: MCOMPILER-318 > URL: https://issues.apache.org/jira/browse/MCOMPILER-318 > Project: Maven Compiler Plugin > Issue Type: Bug >Affects Versions: 3.6.2, 3.7.0 >Reporter: Yugant H Shah > Attachments: JigsawTest.zip > > > Compiling java9+ groovy + maven code base does not compile groovy files. > Attached is the sample project > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile > (default-compile) on project api: Compilation failure: Compilation failure: > [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, > or on patch path for module > [ERROR] > /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32] > cannot find symbol > [ERROR] symbol: class GroovyService > [ERROR] location: package com.allstate.jigsaw > [ERROR] -> [Help 1] > [ERROR] -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
[ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yugant H Shah updated MCOMPILER-318: Priority: Critical (was: Major) > Groovy files not been compiled when used with java9 spring boot > --- > > Key: MCOMPILER-318 > URL: https://issues.apache.org/jira/browse/MCOMPILER-318 > Project: Maven Compiler Plugin > Issue Type: Bug >Affects Versions: 3.6.2, 3.7.0 >Reporter: Yugant H Shah >Priority: Critical > Attachments: JigsawTest.zip > > > Compiling java9+ groovy + maven code base does not compile groovy files. > Attached is the sample project > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile > (default-compile) on project api: Compilation failure: Compilation failure: > [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, > or on patch path for module > [ERROR] > /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32] > cannot find symbol > [ERROR] symbol: class GroovyService > [ERROR] location: package com.allstate.jigsaw > [ERROR] -> [Help 1] > [ERROR] -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
[ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292276#comment-16292276 ] Yugant H Shah commented on MCOMPILER-318: - I updated maven to 3.5 and also getting same error > Groovy files not been compiled when used with java9 spring boot > --- > > Key: MCOMPILER-318 > URL: https://issues.apache.org/jira/browse/MCOMPILER-318 > Project: Maven Compiler Plugin > Issue Type: Bug >Affects Versions: 3.6.2, 3.7.0 >Reporter: Yugant H Shah >Priority: Critical > Attachments: JigsawTest.zip > > > Compiling java9+ groovy + maven code base does not compile groovy files. > Attached is the sample project > {noformat} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile > (default-compile) on project api: Compilation failure: Compilation failure: > [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, > or on patch path for module > [ERROR] > /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32] > cannot find symbol > [ERROR] symbol: class GroovyService > [ERROR] location: package com.allstate.jigsaw > [ERROR] -> [Help 1] > [ERROR] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
[ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292423#comment-16292423 ] Yugant H Shah commented on MCOMPILER-318: - I am getting : ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project demo9: Compilation failure -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project demo9: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1165) at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:168) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR] [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 3inmyushah1:demo9 yushah$ > Groovy files not been compiled when used with java9 spring boot > ---
[jira] [Commented] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
[ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293658#comment-16293658 ] Yugant H Shah commented on MCOMPILER-318: - 3inmyushah1:demo9 yushah$ mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30) Maven home: /Users/yushah/apache-maven-3.3.9 Java version: 9.0.1, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home Default locale: en_IN, platform encoding: US-ASCII OS name: "mac os x", version: "10.13.1", arch: "x86_64", family: "mac" 3inmyushah1:demo9 yushah$ And inmyushah1:demo9 yushah$ echo $M2_HOME /Users/yushah/apache-maven-3.3.9 3inmyushah1:demo9 yushah$ export M2_HOME=/Users/yushah/apache-maven-3.5.2 3inmyushah1:demo9 yushah$ 3inmyushah1:demo9 yushah$ 3inmyushah1:demo9 yushah$ mvn -version Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T13:28:13+05:30) Maven home: /Users/yushah/apache-maven-3.5.2 Java version: 9.0.1, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home Default locale: en_IN, platform encoding: US-ASCII OS name: "mac os x", version: "10.13.1", arch: "x86_64", family: "mac" 3inmyushah1:demo9 yushah$ > Groovy files not been compiled when used with java9 spring boot > --- > > Key: MCOMPILER-318 > URL: https://issues.apache.org/jira/browse/MCOMPILER-318 > Project: Maven Compiler Plugin > Issue Type: Bug >Affects Versions: 3.6.2, 3.7.0 >Reporter: Yugant H Shah >Priority: Critical > Attachments: JigsawTest.zip > > > Compiling java9+ groovy + maven code base does not compile groovy files. > Attached is the sample project > {noformat} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile > (default-compile) on project api: Compilation failure: Compilation failure: > [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, > or on patch path for module > [ERROR] > /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32] > cannot find symbol > [ERROR] symbol: class GroovyService > [ERROR] location: package com.allstate.jigsaw > [ERROR] -> [Help 1] > [ERROR] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
[ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yugant H Shah updated MCOMPILER-318: Attachment: a.txt Attached is the log of mvn clean install > Groovy files not been compiled when used with java9 spring boot > --- > > Key: MCOMPILER-318 > URL: https://issues.apache.org/jira/browse/MCOMPILER-318 > Project: Maven Compiler Plugin > Issue Type: Bug >Affects Versions: 3.6.2, 3.7.0 >Reporter: Yugant H Shah >Priority: Critical > Attachments: JigsawTest-cleanup.zip, JigsawTest.zip, a.txt > > > Compiling java9+ groovy + maven code base does not compile groovy files. > Attached is the sample project > {noformat} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile > (default-compile) on project api: Compilation failure: Compilation failure: > [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, > or on patch path for module > [ERROR] > /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32] > cannot find symbol > [ERROR] symbol: class GroovyService > [ERROR] location: package com.allstate.jigsaw > [ERROR] -> [Help 1] > [ERROR] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Comment Edited] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
[ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293923#comment-16293923 ] Yugant H Shah edited comment on MCOMPILER-318 at 12/16/17 7:46 PM: --- Attached is the log of mvn clean install. Now getting error : ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project services: Fatal error compiling: java.lang.NoSuchFieldError: pid -> [Help 1] was (Author: yushah): Attached is the log of mvn clean install > Groovy files not been compiled when used with java9 spring boot > --- > > Key: MCOMPILER-318 > URL: https://issues.apache.org/jira/browse/MCOMPILER-318 > Project: Maven Compiler Plugin > Issue Type: Bug >Affects Versions: 3.6.2, 3.7.0 >Reporter: Yugant H Shah >Priority: Critical > Attachments: JigsawTest-cleanup.zip, JigsawTest.zip, a.txt > > > Compiling java9+ groovy + maven code base does not compile groovy files. > Attached is the sample project > {noformat} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile > (default-compile) on project api: Compilation failure: Compilation failure: > [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, > or on patch path for module > [ERROR] > /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32] > cannot find symbol > [ERROR] symbol: class GroovyService > [ERROR] location: package com.allstate.jigsaw > [ERROR] -> [Help 1] > [ERROR] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
[ https://issues.apache.org/jira/browse/MCOMPILER-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16298152#comment-16298152 ] Yugant H Shah commented on MCOMPILER-318: - Getting below error : [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project j9: Compilation failure -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project j9: 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.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1165) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:168) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more [ERROR] [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 > Groovy files not been compiled when used with java9 spring boot > --- > > Key: MCOMPILER-318 > URL: https://issues.apache.org/jira/browse/MCOMPILER-318 > Project: Maven Compiler Plugin > Issue Type: Bug >Affects Versions: 3.6.2, 3.7.0 >Reporter: Yugant H Shah >Assignee: Robert Scholte >Priority: Critical > Attachments: JigsawTest-cleanup.zip, JigsawTest.zip, a.txt > > > Compiling java9+ groovy + maven code base does not compile groovy files. > Attached is the sample project > {noformat} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile > (default-compile) on project api: Compilation failure: Compilation failure: > [ERROR] lombok/dummy/ForceNewRound0.java:[1,1] file should be on source path, > or on patch path for module > [ERROR] > /Users/yushah/home/git/JigsawTest/com.allstate.jigsaw.api/src/main/java/com/allstate/jigsaw/ServiceA.java:[24,32] > cannot find symbol > [ERROR] symbol: class GroovyService > [ERROR] location: package com.allstate.jigsaw > [ERROR] -> [Help 1] > [ERROR] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)