gnodet commented on issue #694: URL: https://github.com/apache/maven-mvnd/issues/694#issuecomment-1262731453
I can't build the project. It always give me the following result: ``` ➜ svc git:(main) ✗ mvn verify [INFO] Scanning for projects... [INFO] [INFO] ---------< com.github.atamanroman:mvnd-jvm-options-subdir-bug >--------- [INFO] Building mvnd-jvm-options-subdir-bug 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mvnd-jvm-options-subdir-bug --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/gnodet/work/tmp/mvnd-dotmaven-subdirectory/svc/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ mvnd-jvm-options-subdir-bug --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /Users/gnodet/work/tmp/mvnd-dotmaven-subdirectory/svc/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/gnodet/work/tmp/mvnd-dotmaven-subdirectory/svc/src/main/java/Hello.java:[6,17] [ReturnValueIgnored] Return value of 'getBytes' must be used (see https://errorprone.info/bugpattern/ReturnValueIgnored) Did you mean to remove this line? [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.791 s [INFO] Finished at: 2022-09-29T21:39:10+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project mvnd-jvm-options-subdir-bug: Compilation failure [ERROR] /Users/gnodet/work/tmp/mvnd-dotmaven-subdirectory/svc/src/main/java/Hello.java:[6,17] [ReturnValueIgnored] Return value of 'getBytes' must be used [ERROR] (see https://errorprone.info/bugpattern/ReturnValueIgnored) [ERROR] Did you mean to remove this line? [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException ➜ svc git:(main) ✗ ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org