I reported this, with expectation that e.h.h.a.p.JavacParser was supposed to catch it. My assumption could be wrong, or for any other reason it could be not feasible to add it to JavacParser. Unfortunately, with two tools configured (Java, Maven) or Maven alone - in Maven Warnings report, some other warnings are correctly collected, but not this one - it is not present at all. For example, from console
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ integration-tests ---
[INFO] ShortRevision tag detected. The value is '8'.
[INFO] Executing: /bin/sh -c cd '.../integration-tests' && 'git' 'rev-parse' '--verify' '--short=8' 'HEAD'
[INFO] Working directory: .../integration-tests
[INFO] Storing buildNumber: 20190201.183514-r369adafc at timestamp: 1549042514164
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[INFO] ShortRevision tag detected. The value is '8'.
[INFO] Executing: /bin/sh -c cd '.../integration-tests' && 'git' 'rev-parse' '--verify' '--short=8' 'HEAD'
[INFO] Working directory: .../integration-tests
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ integration-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory .../integration-tests/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ integration-tests ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to .../target/classes
[WARNING] Supported source version 'RELEASE_7' from annotation processor 'org.netbeans.modules.schema2beansdev.Schema2BeansProcessor' less than -source '1.8'
[INFO] ------------------------------------------------------------------------
the 1st warn (Cannot get the branch...) is present, and the 2nd (Supported source...) is not. |