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

Fatal error compiling: basedir ... arget/generated-sources/annotations does not exist

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Done
    • 3.8.1
    • 3.8.1
    • None

    Description

      Hi,

      I’m having this error with 3.8.1 that does not happen with 3.8.0

      $ /usr/local/Cellar/maven/3.6.0/bin/mvn clean compile
      
      [INFO] Reactor Summary for mcp 1.0-SNAPSHOT:
      [INFO]
      [INFO] mcp ................................................ SUCCESS [  0.173 s]
      [INFO] module2 ............................................ SUCCESS [  0.935 s]
      [INFO] module1 ............................................ FAILURE [  0.018 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  1.306 s
      [INFO] Finished at: 2019-03-29T15:15:23Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project module1: Fatal error compiling: basedir /Users/fsousa/Projects/temp/mcp/module1/target/generated-sources/annotations does not exist -> [Help 1]
      

      Sample project in https://github.com/natros/mcp <https://github.com/natros/mcp>

      .
      ├── module1
      │   ├── pom.xml
      │   └── src
      │       └── main
      │           └── java
      ├── module2
      │   ├── pom.xml
      │   └── src
      │       └── main
      │           └── java
      │               └── com
      │                   └── natros
      │                       └── mcp
      │                           └── Foo.java
      └── pom.xml
      
      $ git clone git@github.com:natros/mcp.git
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            khmarbaise Karl Heinz Marbaise
            khmarbaise Karl Heinz Marbaise
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment