GNU bug report logs - #20556
[PATCH] compilation mode highlights Maven compilation warnings as errors

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Tue, 12 May 2015 14:06:02 UTC

Severity: minor

Tags: patch

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 20556 <at> debbugs.gnu.org
Subject: bug#20556: [PATCH] compilation mode highlights Maven compilation warnings as errors
Date: Mon, 18 May 2015 09:25:56 +0200
[Message part 1 (text/plain, inline)]
This is an excerpt of Maven 3.1 output on a project, where I artificially
added some errors to the source code:

[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ test ---
[INFO] Compiling 2 source files to /home/test/test/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /home/test/test/src/main/java/foo/bar/Test.java:[27,43] unchecked
conversion
  required: java.util.Collection<java.lang.Object>
  found:    java.util.ArrayList
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/test/test/src/main/java/foo/bar/Test.java:[28,9] cannot find
symbol
  symbol:   method test()
  location: class foo.bar.Test
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.