Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-318

Groovy files not been compiled when used with java9 spring boot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 3.6.2, 3.7.0
    • None
    • None

    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] 
      

      Attachments

        1. JigsawTest.zip
          142 kB
          Yugant H Shah
        2. JigsawTest-cleanup.zip
          22 kB
          Robert Scholte
        3. a.txt
          4 kB
          Yugant H Shah

        Activity

          People

            rfscholte Robert Scholte
            yushah Yugant H Shah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: