-
Notifications
You must be signed in to change notification settings - Fork 34
Maven build Errors. #67
Description
Description
Hi,
I get to source and build to maven from eclipse and command.
When i run mvn build or anything. it is return build failre.
i guess problems is "new HashMap<>();" in testExecution and testIgnoreFileStream of CoverageSensorTest class.
or maybe something my fault?
Thank you.
Steps to Reproduce
- git clone or eclipse git clone
- maven build
- failure
Content of your sonar-project.properties
It will help us to check how you configured the plugin.
Log of sonar-scanner related to the plugin
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - in fr.univartois.sonargo.highlighter.ColorizerTest
Results :
Tests in error:
fr.univartois.sonargo.coverage.CoverageSensorTest.testExecution(fr.univartois.sonargo.coverage.CoverageSensorTest)
Run 1: CoverageSensorTest.testExecution:114 ? InvalidPath Illegal char <> at index 7...
Run 2: CoverageSensorTest.testExecution:114 ? InvalidPath Illegal char <> at index 7...
fr.univartois.sonargo.coverage.CoverageSensorTest.testIgnoreFileStream(fr.univartois.sonargo.coverage.CoverageSensorTest)
Run 1: CoverageSensorTest.testIgnoreFileStream:67 ? InvalidPath Illegal char <> at i...
Run 2: CoverageSensorTest.testIgnoreFileStream:67 ? InvalidPath Illegal char <> at i...
Tests run: 386, Failures: 0, Errors: 2, Skipped: 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.549 s
[INFO] Finished at: 2018-03-26T16:33:27+09:00
[INFO] Final Memory: 26M/409M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project sonar-golang-plugin: There are test failures.
Versions
windows 7 or linux
jdk 1.8.0_151
maven 3.5.3