Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd C:\Users\Administrator\Documents\NetBeansProjects\openmrs-module-locationbasedaccess\api; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_181" cmd /c "\"\"C:\\Program Files (x86)\\NetBeans 8.2\\java\\maven\\bin\\mvn.bat\" -Dtest=org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest -Dmaven.ext.class.path=\"C:\\Program Files (x86)\\NetBeans 8.2\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 surefire:test\""
- Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts.
- Scanning for projects...
- Some problems were encountered while building the effective model for org.openmrs.module:locationbasedaccess-api:jar:0.2.0-SNAPSHOT
- 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 5, column 12
- It is highly recommended to fix these problems because they threaten the stability of your build.
- For this reason, future Maven versions might no longer support building such malformed projects.
- ------------------------------------------------------------------------
- Building Location Based Access Control API 0.2.0-SNAPSHOT
- ------------------------------------------------------------------------
- --- maven-surefire-plugin:2.10:test (default-cli) @ locationbasedaccess-api ---
- Surefire report directory: C:\Users\Administrator\Documents\NetBeansProjects\openmrs-module-locationbasedaccess\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest
- Tests run: 21, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 79.397 sec <<< FAILURE!
- Results :
- Failed tests: getUserByPerson_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected:<0> but was:<1>
- getUsers_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected:<0> but was:<1>
- getUserByUuid_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected null, but was:<username1>
- getUser_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected null, but was:<username1>
- getAllUsers_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected:<0> but was:<1>
- getUserByName_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected:<0> but was:<1>
- getUserByUsername_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected null, but was:<username1>
- Tests run: 21, Failures: 7, Errors: 0, Skipped: 0
- ------------------------------------------------------------------------
- BUILD FAILURE
- ------------------------------------------------------------------------
- Total time: 1:37.691s
- Finished at: Mon Nov 26 23:34:10 IST 2018
- Final Memory: 11M/177M
- ------------------------------------------------------------------------
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-cli) on project locationbasedaccess-api: There are test failures.
- Please refer to C:\Users\Administrator\Documents\NetBeansProjects\openmrs-module-locationbasedaccess\api\target\surefire-reports for the individual test results.
- -> [Help 1]
- To see the full stack trace of the errors, re-run Maven with the -e switch.
- Re-run Maven using the -X switch to enable full debug logging.
- For more information about the errors and possible solutions, please read the following articles:
- [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Add Comment
Please, Sign In to add comment