mojohaus / exec-maven-plugin

Exec Maven Plugin
https://www.mojohaus.org/exec-maven-plugin/
Apache License 2.0
168 stars 97 forks source link

WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 #453

Open PadmaBhuma opened 1 week ago

PadmaBhuma commented 1 week ago

Java Version : 17 Exec Maven Plugin : 3.1.0 Apache maven : 3.6.3

I have created a simple maven project with selenium with internal framework and trying to run in the jenkins agents, at that time i am getting this type of logs, But in my local system i am not getting any logs strangely.

13:18:26 2024-10-09 03:48.26 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 13:18:26 2024-10-09 03:48.26 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 13:18:27 2024-10-09 03:48.27 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 13:18:45 2024-10-09 03:48.45 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 13:18:58 2024-10-09 03:48.58 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 13:18:58 2024-10-09 03:48.58 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 13:18:59 2024-10-09 03:48.59 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 13:18:59 2024-10-09 03:48.59 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1 13:18:59 2024-10-09 03:48.59 [com.ge.capital.rainbow.testng.run.Runner.main()] WARN healenium - Failed to check class: org.codehaus.mojo.exec.ExecJavaMojo$1

Versions using in POM.xml

Selenium : 4.24.0 Xerces : 2.11.0 Healenium : 3.5.3 allure-testng : 2.13.8

maven-clean-plugin 3.1.0 clean-allure-results clean clean allure-results **/* org.codehaus.mojo exec-maven-plugin 3.1.1 selenium-test test java ${maven.exec.skip} com.ge.capital.rainbow.testng.run.Runner test build=3 waitTime=${waitTime} browser=${browser} applicationURL=${applicationURL} application2URL=${application2URL} MainURL=${mainURL} username=${username} suite-template=${suite-template} print=true suite-name-parameter=browser suite-name-parameter=applicationURL suite-name-parameter=username suite-strategy=Sequential runner_single=true org.apache.maven.plugins maven-surefire-plugin 2.12.4 true

slawekjaranowski commented 19 hours ago

We need a simple project to reproduce it ... without external dependencies if possible.

But looks like external tool com.ge.capital.rainbow.testng.run.Runner has a problem with ExecJavaMojo$1 ananymous class ... so should be reported to rainbow project.