maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yugant H Shah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCOMPILER-318) Groovy files not been compiled when used with java9 spring boot
Date Sat, 16 Dec 2017 05:19:00 GMT

    [ 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)

Mime
View raw message