[ https://issues.apache.org/jira/browse/MCOMPILER-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425770#comment-15425770 ]
Trejkaz commented on MCOMPILER-274: ----------------------------------- Maybe this is even a bug. If I read the source: https://maven.apache.org/plugins/maven-compiler-plugin/xref/org/apache/maven/plugin/compiler/AbstractCompilerMojo.html#L976 Suspicious things: 1) It's creating an exception just because there were warnings. 2) I don't see any of these supposed warnings in the output either. 3) It's putting strings into the exception object, when it should be putting in a Throwable indicating the actual problem. > "Compilation failure" message should say what actually went wrong > ----------------------------------------------------------------- > > Key: MCOMPILER-274 > URL: https://issues.apache.org/jira/browse/MCOMPILER-274 > Project: Maven Compiler Plugin > Issue Type: Improvement > Affects Versions: 3.1, 3.5.1 > Reporter: Trejkaz > Attachments: out.txt > > > I tried to build jruby 9.0.5.0, which uses Maven to run the build. It fails > to compile, but gives me a useless error message: > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) > on project jruby-core: Compilation failure -> [Help 1] > When compilation fails, Maven should tell me what actually went wrong, so > that I can fix it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)