Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ openmrs-core git:(master) 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.6.0-SNAPSHOT [1/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
- [INFO] Deleting /Users/admin/git/openmrs-core/target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs ---
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: /bin/sh -c cd '/Users/admin/git/openmrs-core' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
- [INFO] Working directory: /Users/admin/git/openmrs-core
- [INFO] Storing buildNumber: c3a6ec at timestamp: 1662846201152
- [INFO] Storing buildScmBranch: master
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs ---
- [INFO]
- [INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ openmrs ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] Building jar: /Users/admin/git/openmrs-core/target/openmrs-2.6.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 /Users/admin/git/openmrs-core/pom.xml to /Users/admin/.m2/repository/org/openmrs/openmrs/2.6.0-SNAPSHOT/openmrs-2.6.0-SNAPSHOT.pom
- [INFO] Installing /Users/admin/git/openmrs-core/target/openmrs-2.6.0-SNAPSHOT-tests.jar to /Users/admin/.m2/repository/org/openmrs/openmrs/2.6.0-SNAPSHOT/openmrs-2.6.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.6.0-SNAPSHOT [2/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
- [INFO] Deleting /Users/admin/git/openmrs-core/tools/target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-tools ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-tools ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-tools ---
- [INFO] Copying 4 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-tools ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-tools ---
- [INFO] skip non existing resourceDirectory /Users/admin/git/openmrs-core/tools/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.10.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.2:jar (default-jar) @ openmrs-tools ---
- [INFO] Building jar: /Users/admin/git/openmrs-core/tools/target/openmrs-tools-2.6.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ openmrs-tools ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] Building jar: /Users/admin/git/openmrs-core/tools/target/openmrs-tools-2.6.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 /Users/admin/git/openmrs-core/tools/target/openmrs-tools-2.6.0-SNAPSHOT.jar to /Users/admin/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-SNAPSHOT/openmrs-tools-2.6.0-SNAPSHOT.jar
- [INFO] Installing /Users/admin/git/openmrs-core/tools/pom.xml to /Users/admin/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-SNAPSHOT/openmrs-tools-2.6.0-SNAPSHOT.pom
- [INFO] Installing /Users/admin/git/openmrs-core/tools/target/openmrs-tools-2.6.0-SNAPSHOT-tests.jar to /Users/admin/.m2/repository/org/openmrs/tools/openmrs-tools/2.6.0-SNAPSHOT/openmrs-tools-2.6.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] -------------------< org.openmrs.test:openmrs-test >--------------------
- [INFO] Building openmrs-test 2.6.0-SNAPSHOT [3/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-test ---
- [INFO] Deleting /Users/admin/git/openmrs-core/test/target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-test ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-test ---
- [INFO]
- [INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ openmrs-test ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] Building jar: /Users/admin/git/openmrs-core/test/target/openmrs-test-2.6.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 /Users/admin/git/openmrs-core/test/pom.xml to /Users/admin/.m2/repository/org/openmrs/test/openmrs-test/2.6.0-SNAPSHOT/openmrs-test-2.6.0-SNAPSHOT.pom
- [INFO] Installing /Users/admin/git/openmrs-core/test/target/openmrs-test-2.6.0-SNAPSHOT-tests.jar to /Users/admin/.m2/repository/org/openmrs/test/openmrs-test/2.6.0-SNAPSHOT/openmrs-test-2.6.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --------------------< org.openmrs.api:openmrs-api >---------------------
- [INFO] Building openmrs-api 2.6.0-SNAPSHOT [4/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-api ---
- [INFO] Deleting /Users/admin/git/openmrs-core/api/target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:3.0.0:create (default) @ openmrs-api ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-api ---
- [INFO]
- [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ openmrs-api ---
- [INFO] argLine set to -javaagent:/Users/admin/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/Users/admin/git/openmrs-core/api/target/jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -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: 1111
- [INFO] Successfully formatted: 0 file(s)
- [INFO] Fail to format : 0 file(s)
- [INFO] Skipped : 1111 file(s)
- [INFO] Approximate time taken: 1s
- [INFO]
- [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-api ---
- [INFO] Copying 1 resource
- [INFO] Copying 161 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.10.1:compile (default-compile) @ openmrs-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 746 source files to /Users/admin/git/openmrs-core/api/target/classes
- [INFO] /Users/admin/git/openmrs-core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
- [INFO] /Users/admin/git/openmrs-core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
- [INFO] -------------------------------------------------------------
- [ERROR] COMPILATION ERROR :
- [INFO] -------------------------------------------------------------
- [ERROR] /Users/admin/git/openmrs-core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist
- [INFO] 1 error
- [INFO] -------------------------------------------------------------
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for OpenMRS 2.6.0-SNAPSHOT:
- [INFO]
- [INFO] OpenMRS ............................................ SUCCESS [ 0.697 s]
- [INFO] openmrs-tools ...................................... SUCCESS [ 0.178 s]
- [INFO] openmrs-test ....................................... SUCCESS [ 0.042 s]
- [INFO] openmrs-api ........................................ FAILURE [ 3.454 s]
- [INFO] openmrs-web ........................................ SKIPPED
- [INFO] openmrs-webapp ..................................... SKIPPED
- [INFO] openmrs-liquibase .................................. SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 4.462 s
- [INFO] Finished at: 2022-09-10T14:43:25-07:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project openmrs-api: Compilation failure
- [ERROR] /Users/admin/git/openmrs-core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist
- [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/MojoFailureException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <args> -rf :openmrs-api
- ➜ openmrs-core git:(master)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement