-
Notifications
You must be signed in to change notification settings - Fork 494
Description
Describe the bug
When building the OWASP Security Shepherd Project (Reskinned) by following the Wiki Instructions, I encounter an error with the surefire-plugin:
BUILD FAILURE
Total time: 25.698 s
Finished at: 2022-05-17T15:18:12-04:00
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project owaspSecurityShepherd: There are test failures.[ERROR] Please refer to /Users/jackbutler/Documents/Other/OWASP/GuardsquareSecShepCTF-dev/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[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] 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
To Reproduce
Steps to reproduce the behavior:
- Fork OWASP Security Shepherd from GitHub
- Clone your own repo
- Open it, modify the CSS as you wish
- run 'mvn clean install' to install the pom.xml file
- See the error (above) related to surefire-plugin.
Expected behavior
I would expect it to build, as per the How to Reskin Shepherd Wiki instructions
I would expect the instructions to work as explained.
Also, the [Help1] link to this website:
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Is useless. So I would suggest adding a more relevant error in this case.
**Desktop **
- MacBook Air (Retina, 13-inch, 2019)
- 1.6 GHz Dual-Core Intel Core i5
- 16 GB 2133 MHz LPDDR3
- Browser [chrome]
Further Information:
mvnversion [Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)]javaversion:
openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
I tried the following
- Updating the surefire plugin to latest versions 3.0.0-M1 and 3.0.0-M6 in the pom.xml and it did nothing.
Additional context
The instructions to re-skin, when followed, should work. As they stand, they don't. If there is something I am missing (seasoned solutions engineer) then please add that context to the instructions. This is a great OSP. We should improve the docs.
