Closed clrh closed 9 months ago
J'ai également les tests unitaires qui ne semblent pas passer, j'ai ainsi dû les bypasser avec -DskipTests
New tests with the upgrade: tag:2.1.0
$ mvn clean package spring-boot:run -Pprod -Drun.jvmArguments="-Dspring.profiles.active=prod"
...
[INFO] BUILD FAILURE
...
[ERROR] Failed to execute goal net.revelc.code.formatter:formatter-maven-plugin:2.22.0:validate (default) on project numahop: File '/home/claire/dev/numahop/numahop/src/test/java/fr/progilone/pgcn/util/TestUtil.java' has not been previously formatted. Please format file (for example by invoking `mvn net.revelc.code.formatter:formatter-maven-plugin:2.22.0:format`) and commit before running validation! -> [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
$ mvn formatter:format
#...then...
$ mvn package spring-boot:run -Pprod -Drun.jvmArguments="-Dspring.profiles.active=prod"
#...
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:npm (check format) on project numahop: Failed to run task: 'npm run prettier:check' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [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
I'll verify the dependencies and reread the manual in README but if you have any tips to fix my errors, I would be glad for sharing.
Bonjour,
J'ai plusieurs questions:
Bien cordialement, Claire Hernandez.