You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2019/04/28 12:31:00 UTC
[jira] [Closed] (MCOMPILER-379) Fatal error compiling: basedir ...
arget/generated-sources/annotations does not exist
[ https://issues.apache.org/jira/browse/MCOMPILER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise closed MCOMPILER-379.
-----------------------------------------
Resolution: Done
> Fatal error compiling: basedir ... arget/generated-sources/annotations does not exist
> --------------------------------------------------------------------------------------
>
> Key: MCOMPILER-379
> URL: https://issues.apache.org/jira/browse/MCOMPILER-379
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Affects Versions: 3.8.1
> Environment: /usr/local/Cellar/maven/3.6.0/bin/mvn --version
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T19:41:47+01:00)
> Maven home: /usr/local/Cellar/maven/3.6.0/libexec
> Java version: 11.0.2, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.2+9/Contents/Home
> Default locale: en_PT, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: "mac"
> Reporter: Karl Heinz Marbaise
> Priority: Blocker
> Fix For: 3.8.1
>
>
> Hi,
> I’m having this error with 3.8.1 that does not happen with 3.8.0
> {code}
> $ /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]
> {code}
> Sample project in https://github.com/natros/mcp <https://github.com/natros/mcp>
> {code}
> .
> ├── module1
> │ ├── pom.xml
> │ └── src
> │ └── main
> │ └── java
> ├── module2
> │ ├── pom.xml
> │ └── src
> │ └── main
> │ └── java
> │ └── com
> │ └── natros
> │ └── mcp
> │ └── Foo.java
> └── pom.xml
> {code}
> {code}
> $ git clone git@github.com:natros/mcp.git
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)