Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps>mvn clean install -Dmaven.test.skip=true
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:coreapps-omod:jar:1.23.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.openmrs.module:coreapps-omod:[unknown-version], C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\omod\pom.xml, line 450, column 21
- [WARNING] 'build.plugins.plugin.version' for de.saumya.mojo:gem-maven-plugin is missing. @ org.openmrs.module:coreapps-omod:[unknown-version], C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\omod\pom.xml, line 476, 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] Reactor Build Order:
- [INFO]
- [INFO] Core Apps Module [pom]
- [INFO] Core Apps Module API-pre2.2 [jar]
- [INFO] Core Apps Module API [jar]
- [INFO] coreapps Module web 1.9 [jar]
- [INFO] coreapps Module web 2.0 [jar]
- [INFO] Core Apps Module API 2.2 [jar]
- [INFO] Core Apps Module OMOD [jar]
- [INFO]
- [INFO] --------------------< org.openmrs.module:coreapps >---------------------
- [INFO] Building Core Apps Module 1.23.0-SNAPSHOT [1/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps ---
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps ---
- [INFO] Installing C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\pom.xml to C:\Users\hp\.m2\repository\org\openmrs\module\coreapps\1.23.0-SNAPSHOT\coreapps-1.23.0-SNAPSHOT.pom
- [INFO]
- [INFO] ---------------< org.openmrs.module:coreapps-api-pre2.2 >---------------
- [INFO] Building Core Apps Module API-pre2.2 1.23.0-SNAPSHOT [2/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api-pre2.2 ---
- [INFO] Deleting C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-api-pre2.2 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\src\main\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api-pre2.2 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 1 source file to C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\target\classes
- [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\src\main\java\org\openmrs\module\coreapps\htmlformentry\EncounterDiagnosesElement.java uses or overrides a deprecated API.
- [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: Recompile with -Xlint:deprecation for details.
- [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\src\main\java\org\openmrs\module\coreapps\htmlformentry\EncounterDiagnosesElement.java uses unchecked or unsafe operations.
- [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api-pre2.2/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesElement.java: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-api-pre2.2 ---
- [INFO] Not copying test resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-api-pre2.2 ---
- [INFO] Not compiling test sources
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ coreapps-api-pre2.2 ---
- [INFO] Tests are skipped.
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-api-pre2.2 ---
- [INFO] Building jar: C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\target\coreapps-api-pre2.2-1.23.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-api-pre2.2 ---
- [INFO] Installing C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\target\coreapps-api-pre2.2-1.23.0-SNAPSHOT.jar to C:\Users\hp\.m2\repository\org\openmrs\module\coreapps-api-pre2.2\1.23.0-SNAPSHOT\coreapps-api-pre2.2-1.23.0-SNAPSHOT.jar
- [INFO] Installing C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api-pre2.2\pom.xml to C:\Users\hp\.m2\repository\org\openmrs\module\coreapps-api-pre2.2\1.23.0-SNAPSHOT\coreapps-api-pre2.2-1.23.0-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------< org.openmrs.module:coreapps-api >-------------------
- [INFO] Building Core Apps Module API 1.23.0-SNAPSHOT [3/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api ---
- [INFO] Deleting C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 22 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 20 source files to C:\Users\hp\Desktop\GSoC\openmrs-module-coreapps\api\target\classes
- [INFO] -------------------------------------------------------------
- [WARNING] COMPILATION WARNING :
- [INFO] -------------------------------------------------------------
- [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/CoreAppsProperties.java: Some input files use or override a deprecated API.
- [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/CoreAppsProperties.java: Recompile with -Xlint:deprecation for details.
- [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesByObsElement.java: Some input files use unchecked or unsafe operations.
- [WARNING] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesByObsElement.java: Recompile with -Xlint:unchecked for details.
- [INFO] 4 warnings
- [INFO] -------------------------------------------------------------
- [INFO] -------------------------------------------------------------
- [ERROR] COMPILATION ERROR :
- [INFO] -------------------------------------------------------------
- [ERROR] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/utils/VisitTypeHelper.java:[258,34] method setProvider in class org.openmrs.Encounter cannot be applied to given types;
- required: org.openmrs.EncounterRole,org.openmrs.Provider
- found: org.openmrs.Person
- reason: actual and formal argument lists differ in length
- [INFO] 1 error
- [INFO] -------------------------------------------------------------
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Core Apps Module 1.23.0-SNAPSHOT:
- [INFO]
- [INFO] Core Apps Module ................................... SUCCESS [ 0.368 s]
- [INFO] Core Apps Module API-pre2.2 ........................ SUCCESS [ 10.448 s]
- [INFO] Core Apps Module API ............................... FAILURE [ 5.613 s]
- [INFO] coreapps Module web 1.9 ............................ SKIPPED
- [INFO] coreapps Module web 2.0 ............................ SKIPPED
- [INFO] Core Apps Module API 2.2 ........................... SKIPPED
- [INFO] Core Apps Module OMOD .............................. SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 18.947 s
- [INFO] Finished at: 2019-07-21T22:43:23+05:30
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project coreapps-api: Compilation failure
- [ERROR] /C:/Users/hp/Desktop/GSoC/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/utils/VisitTypeHelper.java:[258,34] method setProvider in class org.openmrs.Encounter cannot be applied to given types;
- [ERROR] required: org.openmrs.EncounterRole,org.openmrs.Provider
- [ERROR] found: org.openmrs.Person
- [ERROR] reason: actual and formal argument lists differ in length
- [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 <goals> -rf :coreapps-api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement