Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- G:\openmrs\openmrs-core>mvn clean install
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] OpenMRS [pom]
- [INFO] openmrs-tools [jar]
- [INFO] openmrs-test [pom]
- [INFO] openmrs-api [jar]
- [INFO] openmrs-web [jar]
- [INFO] openmrs-webapp [war]
- [INFO] openmrs-liquibase [jar]
- [INFO]
- [INFO] ------------------------< org.openmrs:openmrs >-------------------------
- [INFO] Building OpenMRS 2.5.0-SNAPSHOT [1/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
- [INFO] Deleting G:\openmrs\openmrs-core\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs ---
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: G:\openmrs\openmrs-core
- [INFO] Storing buildNumber: 542ec2 at timestamp: 1620198645871
- [INFO] Storing buildScmBranch: master
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs ---
- [INFO]
- [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] Building jar: G:\openmrs\openmrs-core\target\openmrs-2.5.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
- [INFO] Checking licenses...
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
- [INFO] Installing G:\openmrs\openmrs-core\pom.xml to C:\Users\ODEL\.m2\repository\org\openmrs\openmrs\2.5.0-SNAPSHOT\openmrs-2.5.0-SNAPSHOT.pom
- [INFO] Installing G:\openmrs\openmrs-core\target\openmrs-2.5.0-SNAPSHOT-tests.jar to C:\Users\ODEL\.m2\repository\org\openmrs\openmrs\2.5.0-SNAPSHOT\openmrs-2.5.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.5.0-SNAPSHOT [2/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
- [INFO] Deleting G:\openmrs\openmrs-core\tools\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-tools ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-tools ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-tools ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Using 'UTF-8' encoding to copy filtered properties files.
- [INFO] Copying 4 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-tools ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-tools ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Using 'UTF-8' encoding to copy filtered properties files.
- [INFO] skip non existing resourceDirectory G:\openmrs\openmrs-core\tools\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-tools ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-tools ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ openmrs-tools ---
- [INFO] Building jar: G:\openmrs\openmrs-core\tools\target\openmrs-tools-2.5.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-tools ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] Building jar: G:\openmrs\openmrs-core\tools\target\openmrs-tools-2.5.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-tools ---
- [INFO] Checking licenses...
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-tools ---
- [INFO] Installing G:\openmrs\openmrs-core\tools\target\openmrs-tools-2.5.0-SNAPSHOT.jar to C:\Users\ODEL\.m2\repository\org\openmrs\tools\openmrs-tools\2.5.0-SNAPSHOT\openmrs-tools-2.5.0-SNAPSHOT.jar
- [INFO] Installing G:\openmrs\openmrs-core\tools\pom.xml to C:\Users\ODEL\.m2\repository\org\openmrs\tools\openmrs-tools\2.5.0-SNAPSHOT\openmrs-tools-2.5.0-SNAPSHOT.pom
- [INFO] Installing G:\openmrs\openmrs-core\tools\target\openmrs-tools-2.5.0-SNAPSHOT-tests.jar to C:\Users\ODEL\.m2\repository\org\openmrs\tools\openmrs-tools\2.5.0-SNAPSHOT\openmrs-tools-2.5.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
- [INFO] Building openmrs-test 2.5.0-SNAPSHOT [3/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-test ---
- [INFO] Deleting G:\openmrs\openmrs-core\test\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-test ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-test ---
- [INFO]
- [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-test ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] Building jar: G:\openmrs\openmrs-core\test\target\openmrs-test-2.5.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-test ---
- [INFO] Checking licenses...
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-test ---
- [INFO] Installing G:\openmrs\openmrs-core\test\pom.xml to C:\Users\ODEL\.m2\repository\org\openmrs\test\openmrs-test\2.5.0-SNAPSHOT\openmrs-test-2.5.0-SNAPSHOT.pom
- [INFO] Installing G:\openmrs\openmrs-core\test\target\openmrs-test-2.5.0-SNAPSHOT-tests.jar to C:\Users\ODEL\.m2\repository\org\openmrs\test\openmrs-test\2.5.0-SNAPSHOT\openmrs-test-2.5.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
- [INFO] Building openmrs-api 2.5.0-SNAPSHOT [4/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
- [INFO] Deleting G:\openmrs\openmrs-core\api\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ openmrs-api ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.2.0:parse-version (parse-version) @ openmrs-api ---
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (prepare-agent) @ openmrs-api ---
- [INFO] argLine set to -javaagent:C:\\Users\\ODEL\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.6\\org.jacoco.agent-0.8.6-runtime.jar=destfile=G:\\openmrs\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g -Djava.locale.providers=COMPAT
- [INFO]
- [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 1084
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 1084 file(s)
- [INFO] Approximate time taken: 8s
- [INFO]
- [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ openmrs-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Using 'UTF-8' encoding to copy filtered properties files.
- [INFO] Copying 1 resource
- [INFO] Copying 153 resources
- [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 725 source files to G:\openmrs\openmrs-core\api\target\classes
- [INFO] /G:/openmrs/openmrs-core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
- [INFO] /G:/openmrs/openmrs-core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
- [INFO] /G:/openmrs/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java: Some input files use unchecked or unsafe operations.
- [INFO] /G:/openmrs/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateVisitDAO.java: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ openmrs-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Using 'UTF-8' encoding to copy filtered properties files.
- [INFO] Copying 147 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 359 source files to G:\openmrs\openmrs-core\api\target\test-classes
- [INFO] /G:/openmrs/openmrs-core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Some input files use or override a deprecated API.
- [INFO] /G:/openmrs/openmrs-core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Recompile with -Xlint:deprecation for details.
- [INFO] /G:/openmrs/openmrs-core/api/src/test/java/org/openmrs/api/ConceptServiceTest.java: Some input files use unchecked or unsafe operations.
- [INFO] /G:/openmrs/openmrs-core/api/src/test/java/org/openmrs/api/ConceptServiceTest.java: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-api ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO]
- [INFO] Results:
- [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file G:\openmrs\openmrs-core\api\target\surefire-reports\2021-05-05T10-11-07_388-jvmRun1.dumpstream
- [INFO]
- [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for OpenMRS 2.5.0-SNAPSHOT:
- [INFO]
- [INFO] OpenMRS ............................................ SUCCESS [ 22.857 s]
- [INFO] openmrs-tools ...................................... SUCCESS [ 3.487 s]
- [INFO] openmrs-test ....................................... SUCCESS [ 1.690 s]
- [INFO] openmrs-api ........................................ FAILURE [01:58 min]
- [INFO] openmrs-web ........................................ SKIPPED
- [INFO] openmrs-webapp ..................................... SKIPPED
- [INFO] openmrs-liquibase .................................. SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 02:26 min
- [INFO] Finished at: 2021-05-05T10:13:08+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project openmrs-api: There are test failures.
- [ERROR]
- [ERROR] Please refer to G:\openmrs\openmrs-core\api\target\surefire-reports for the individual test results.
- [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
- [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
- [ERROR] Command was cmd.exe /X /C ""C:\Program Files\java\jre\bin\java" -javaagent:C:\\Users\\ODEL\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.6\\org.jacoco.agent-0.8.6-runtime.jar=destfile=G:\\openmrs\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g -Djava.locale.providers=COMPAT org.apache.maven.surefire.booter.ForkedBooter C:\Users\ODEL\AppData\Local\Temp\surefire2550268528428197852 2021-05-05T10-11-07_388-jvmRun1 surefire6378928104745329219tmp surefire_07570008454548219909tmp"
- [ERROR] Error occurred in starting fork, check output in log
- [ERROR] Process Exit Code: 1
- [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
- [ERROR] Command was cmd.exe /X /C ""C:\Program Files\java\jre\bin\java" -javaagent:C:\\Users\\ODEL\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.6\\org.jacoco.agent-0.8.6-runtime.jar=destfile=G:\\openmrs\\openmrs-core\\api\\target\\jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx2g -Djava.locale.providers=COMPAT org.apache.maven.surefire.booter.ForkedBooter C:\Users\ODEL\AppData\Local\Temp\surefire2550268528428197852 2021-05-05T10-11-07_388-jvmRun1 surefire6378928104745329219tmp surefire_07570008454548219909tmp"
- [ERROR] Error occurred in starting fork, check output in log
- [ERROR] Process Exit Code: 1
- [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
- [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
- [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
- [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
- [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
- [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
- [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
- [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
- [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
- [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
- [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
- [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
- [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
- [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
- [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
- [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
- [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
- [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
- [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
- [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
- [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
- [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
- [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
- [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
- [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
- [ERROR]
- [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/MojoExecutionException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <args> -rf :openmrs-api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement