This is an automated email from the ASF dual-hosted git repository.

jlahoda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git


The following commit(s) were added to refs/heads/master by this push:
     new 13e22c1  Fixing tests.
13e22c1 is described below

commit 13e22c19c583f2ca687f951c64aab9f3f271c0fc
Author: Jan Lahoda <jlah...@netbeans.org>
AuthorDate: Sat Jun 18 07:27:24 2022 +0200

    Fixing tests.
---
 cmdline/maven/tests/fail-on-warnings2/golden  | 9 +--------
 cmdline/maven/tests/fail-on-warnings2/pom.xml | 1 +
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/cmdline/maven/tests/fail-on-warnings2/golden 
b/cmdline/maven/tests/fail-on-warnings2/golden
index bea3cf1..91c448d 100644
--- a/cmdline/maven/tests/fail-on-warnings2/golden
+++ b/cmdline/maven/tests/fail-on-warnings2/golden
@@ -1,12 +1,5 @@
 ${basedir}/src/main/java/test/App.java:24: warning: 
[Convert_to_Lambda_or_Member_Reference] This anonymous inner class creation can 
be turned into a lambda expression.
         Runnable r = new Runnable() { public void run() { } };
                          ^
-[ERROR] Failed to execute goal 
org.apache.netbeans.modules.jackpot30:jackpot30-maven-plugin:13.0:analyze 
(default-cli) on project maven-test: jackpo30 failed. -> [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/MojoExecutionException
 
-result: 1
\ No newline at end of file
+result: 0
\ No newline at end of file
diff --git a/cmdline/maven/tests/fail-on-warnings2/pom.xml 
b/cmdline/maven/tests/fail-on-warnings2/pom.xml
index 0dadded..19c02d8 100644
--- a/cmdline/maven/tests/fail-on-warnings2/pom.xml
+++ b/cmdline/maven/tests/fail-on-warnings2/pom.xml
@@ -47,6 +47,7 @@
         <version>${jackpot.plugin.version}</version>
         <configuration>
              <configurationFile>jackpot-settings.xml</configurationFile>
+             <failOnWarnings>false</failOnWarnings>
         </configuration>
       </plugin>
       <plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to