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
mvn build failure #15
Comments
Pushed new branch try it out |
@satishbhor build is success but still there are 13 test fails and warning
still continues |
@anmolsurmountsoft Thanks I have removed duplicate dependencies, but I believe all test cases are passing. |
@satishbhor now getting this error `
` |
@anmolsurmountsoft hope u r pulling |
@satishbhor thanks a lot :) |
If anyone encounters issue with correct branch mentioned here and right command. Make sure you are using openjdk 8.
|
I haven jmeter version 3.1 and kafka verson 0.11.0
when i try to build project using
mvn clean install -Djmeter.version=3.1 -Dkafka.version=0.11.0.0
there is build failure
[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for pepper-box:pepper-box:jar:1.0 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.kafka:kafka_2.11:jar -> duplicate declaration of version ${kafka.version} @ line 54, column 17 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building pepper-box 1.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pepper-box --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pepper-box --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] [INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ pepper-box --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 26 source files to /home/anmol/pepper-box/target/classes [INFO] /home/anmol/pepper-box/src/main/java/com/gslab/pepper/loadgen/impl/PlaintTextLoadGenerator.java: Some input files use unchecked or unsafe operations. [INFO] /home/anmol/pepper-box/src/main/java/com/gslab/pepper/loadgen/impl/PlaintTextLoadGenerator.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ pepper-box --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/anmol/pepper-box/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ pepper-box --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to /home/anmol/pepper-box/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/anmol/pepper-box/src/test/java/com/gslab/pepper/test/PepperBoxSamplerTest.java:[65,9] cannot find symbol symbol: class Time location: class com.gslab.pepper.test.PepperBoxSamplerTest [ERROR] /home/anmol/pepper-box/src/test/java/com/gslab/pepper/test/PepperBoxLoadGenTest.java:[59,9] cannot find symbol symbol: class Time location: class com.gslab.pepper.test.PepperBoxLoadGenTest [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.103 s [INFO] Finished at: 2018-03-01T13:00:57+05:30 [INFO] Final Memory: 36M/347M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project pepper-box: Compilation failure: Compilation failure: [ERROR] /home/anmol/pepper-box/src/test/java/com/gslab/pepper/test/PepperBoxSamplerTest.java:[65,9] cannot find symbol [ERROR] symbol: class Time [ERROR] location: class com.gslab.pepper.test.PepperBoxSamplerTest [ERROR] /home/anmol/pepper-box/src/test/java/com/gslab/pepper/test/PepperBoxLoadGenTest.java:[59,9] cannot find symbol [ERROR] symbol: class Time [ERROR] location: class com.gslab.pepper.test.PepperBoxLoadGenTest [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
can you help me with this
The text was updated successfully, but these errors were encountered: