Wolf Geldmacher created MTOOLCHAINS-19: ------------------------------------------
Summary: Use of toolchains plugin mangles compiler error output Key: MTOOLCHAINS-19 URL: https://issues.apache.org/jira/browse/MTOOLCHAINS-19 Project: Maven Toolchains Plugin Issue Type: Bug Affects Versions: 1.1, 3.0.0 Environment: Ubuntu 16.04, Maven 3.2.3 Reporter: Wolf Geldmacher Attachments: p.zip The attached project results in different (and wrong) error messages when compiled with toolchains support. If compiled without toolchains support the error message is: ??[ERROR] .../src/main/java/ch/pecunifex/x/Cls1.java:[12,5] cannot access ch.pecunifex.x.Cls2 bad source file: .../src/main/java/ch/pecunifex/x/Cls2.java file does not contain class ch.pecunifex.x.Cls2 Please remove or make sure it appears in the correct subdirectory of the sourcepath.?? If compiled with toolchains support (-Ptoolchains option to Maven call) the error is: ??[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project p1: Compilation failure [ERROR] .../src/main/java/ch/pecunifex/x/Cls1.java:[3,15] FontDesignMetrics is internal proprietary API and may be removed in a future release ?? -- This message was sent by Atlassian JIRA (v6.4.14#64029)