Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test #1

Open
montmor opened this issue Jan 9, 2021 · 0 comments

Comments

@montmor
Copy link

montmor commented Jan 9, 2021

Olá, tudo blz? Estou precisando de uma ajudinha (rs). Ao executar o comando abaixo, o projeto exibe a mensagem uma mensagem de erro. Você poderia me enviar as instruções para que eu possa executar o projeto?
Te agradeço, abs, AMM.

mvn clean test -Dtest="MovieRunner"

> C:\Users\andre.aquino\.jdks\openjdk-15\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Users\andre.aquino\IdeaProjects\rcm-automacao\karate-gatling-example "-Dmaven.home=C:\Users\andre.aquino\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2020.2.2\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Users\andre.aquino\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2020.2.2\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=C:\Users\andre.aquino\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2020.2.2\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Users\andre.aquino\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2020.2.2\lib\idea_rt.jar=56601:C:\Users\andre.aquino\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2020.2.2\bin" -Dfile.encoding=UTF-8 -classpath "C:\Users\andre.aquino\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2020.2.2\plugins\maven\lib\maven3\boot\plexus-classworlds-2.6.0.jar;C:\Users\andre.aquino\AppData\Local\JetBrains\IntelliJ IDEA Community Edition 2020.2.2\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2020.2.3 clean test -Dtest=\"MovieRunner\"
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] -------------------------< movies:fastmovies >--------------------------
> [INFO] Building fastmovies 1.0-SNAPSHOT
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fastmovies ---
> [INFO] Deleting C:\Users\andre.aquino\IdeaProjects\rcm-automacao\karate-gatling-example\target
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fastmovies ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory C:\Users\andre.aquino\IdeaProjects\rcm-automacao\karate-gatling-example\src\main\resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ fastmovies ---
> [INFO] No sources to compile
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fastmovies ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 13 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ fastmovies ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to C:\Users\andre.aquino\IdeaProjects\rcm-automacao\karate-gatling-example\target\test-classes
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ fastmovies ---
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  4.314 s
> [INFO] Finished at: 2021-01-09T18:15:28-03:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project fastmovies: No tests were executed!  (Set -DfailIfNoTests=false to ignore this 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
> 

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant