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

Maven build Errors. #67

Open
caspell opened this issue Mar 26, 2018 · 3 comments
Open

Maven build Errors. #67

caspell opened this issue Mar 26, 2018 · 3 comments

Comments

@caspell
Copy link

caspell commented Mar 26, 2018

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

  1. git clone or eclipse git clone
  2. maven build
  3. 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

Additional Information

@thibaultfalque
Copy link
Collaborator

Hi,
What is your version of Java ?
Have you clone the maintenance branch?
I have clone the project and run mvn clean install. I haven't problem.

@thibaultfalque
Copy link
Collaborator

@caspell could you close this issue if the problem is resolved ?

1 similar comment
@thibaultfalque
Copy link
Collaborator

@caspell could you close this issue if the problem is resolved ?

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

2 participants