Closed ykzj closed 7 years ago
Before you can compile performance tests you'll need to do 3 things:
Most probably if you'll build project today you'll need to update to
BUILD FAILURE when i execurte" mvn clean install -DskipTests" ; Thingsboard Server UI .............................. FAILURE
root@perfclnt:~/performance-tests# mvn clean install gatling:execute [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.thingsboard:performance-tests:jar:0.0.1-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ line 110, column 21 [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 Thingsboard Performance Tests 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.thingsboard.common:data:jar:1.1.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.thingsboard:tools:jar:1.1.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for com.github.mnogu:gatling-mqtt:jar:1.0.0 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.203 s [INFO] Finished at: 2017-04-18T05:16:16+00:00 [INFO] Final Memory: 13M/221M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project performance-tests: Could not resolve dependencies for project org.thingsboard:performance-tests:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.thingsboard.common:data:jar:1.1.0-SNAPSHOT, org.thingsboard:tools:jar:1.1.0-SNAPSHOT, com.github.mnogu:gatling-mqtt:jar:1.0.0: Could not find artifact org.thingsboard.common:data:jar:1.1.0-SNAPSHOT -> [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/DependencyResolutionException