Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mvn clean install
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:allergyui-omod:jar:1.8.5-SNAPSHOT
- [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ l
- ine 226, column 12
- [WARNING] 'build.plugins.plugin.version' for de.saumya.mojo:gem-maven-plugin is missing. @ line 251, column 12
- [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] Allergy UI Module [pom]
- [INFO] Allergy UI Module API [jar]
- [INFO] allergyui Module web 1.9 [jar]
- [INFO] allergyui Module web 2.0 [jar]
- [INFO] Allergy UI Module OMOD [jar]
- [INFO]
- [INFO] --------------------< org.openmrs.module:allergyui >--------------------
- [INFO] Building Allergy UI Module 1.8.5-SNAPSHOT [1/5]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ allergyui ---
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ allergyui ---
- [INFO] Installing E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\pom.xml to C:\Users\Skilinski\.m2\repository\org\openmrs\module\allergyui\1.8.5-
- SNAPSHOT\allergyui-1.8.5-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------< org.openmrs.module:allergyui-api >------------------
- [INFO] Building Allergy UI Module API 1.8.5-SNAPSHOT [2/5]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ allergyui-api ---
- [INFO] Deleting E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ allergyui-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 24 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ allergyui-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 7 source files to E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ allergyui-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ allergyui-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 1 source file to E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ allergyui-api ---
- [INFO] Surefire report directory: E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.allergyui.api.AllergyUIServiceTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.415 sec
- Results :
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ allergyui-api ---
- [INFO] Building jar: E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\allergyui-api-1.8.5-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ allergyui-api ---
- [INFO] Installing E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\target\allergyui-api-1.8.5-SNAPSHOT.jar to C:\Users\Skilinski\.m2\repository
- \org\openmrs\module\allergyui-api\1.8.5-SNAPSHOT\allergyui-api-1.8.5-SNAPSHOT.jar
- [INFO] Installing E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\api\pom.xml to C:\Users\Skilinski\.m2\repository\org\openmrs\module\allergyui-ap
- i\1.8.5-SNAPSHOT\allergyui-api-1.8.5-SNAPSHOT.pom
- [INFO]
- [INFO] ----------------< org.openmrs.module:allergyui-web-1.9 >----------------
- [INFO] Building allergyui Module web 1.9 1.8.5-SNAPSHOT [3/5]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ allergyui-web-1.9 ---
- [INFO] Deleting E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\web-1.9\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ allergyui-web-1.9 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\web-1.9\src\main\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ allergyui-web-1.9 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 4 source files to E:\Finished Java Project\Openmrs\Ticket\openmrs-module-allergyui\web-1.9\target\classes
- [INFO] -------------------------------------------------------------
- [WARNING] COMPILATION WARNING :
- [INFO] -------------------------------------------------------------
- [WARNING] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergyPageControlle
- r.java: Some input files use unchecked or unsafe operations.
- [WARNING] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergyPageControlle
- r.java: Recompile with -Xlint:unchecked for details.
- [INFO] 2 warnings
- [INFO] -------------------------------------------------------------
- [INFO] -------------------------------------------------------------
- [ERROR] COMPILATION ERROR :
- [INFO] -------------------------------------------------------------
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[36,66] incompatible types: java.util.List<org.openmrs.activelist.Allergy> cannot be converted to org.openmrs.module.allergyapi.Allergies
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[44,99] incompatible types: java.util.List<org.openmrs.module.appframework.domain.Extension> cannot be converted to java.util.List<org.openmrs.module.Extens
- ion>
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[45,28] no suitable method found for sort(java.util.List<org.openmrs.module.Extension>)
- method java.util.Collections.<T>sort(java.util.List<T>) is not applicable
- (inferred type does not conform to upper bound(s)
- inferred: org.openmrs.module.Extension
- upper bound(s): java.lang.Comparable<? super org.openmrs.module.Extension>)
- method java.util.Collections.<T>sort(java.util.List<T>,java.util.Comparator<? super T>) is not applicable
- (cannot infer type-variable(s) T
- (actual and formal argument lists differ in length))
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[72,80] incompatible types: java.util.List<org.openmrs.activelist.Allergy> cannot be converted to org.openmrs.module.allergyapi.Allergies
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[76,47] cannot find symbol
- symbol: method setAllergies(org.openmrs.Patient,org.openmrs.module.allergyapi.Allergies)
- location: variable patientService of type org.openmrs.api.PatientService
- [INFO] 5 errors
- [INFO] -------------------------------------------------------------
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Allergy UI Module 1.8.5-SNAPSHOT:
- [INFO]
- [INFO] Allergy UI Module .................................. SUCCESS [ 0.492 s]
- [INFO] Allergy UI Module API .............................. SUCCESS [ 20.764 s]
- [INFO] allergyui Module web 1.9 ........................... FAILURE [ 2.046 s]
- [INFO] allergyui Module web 2.0 ........................... SKIPPED
- [INFO] Allergy UI Module OMOD ............................. SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 25.208 s
- [INFO] Finished at: 2021-08-10T11:22:40+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project allergyui-web-1.9: Compilation failure: Comp
- ilation failure:
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[36,66] incompatible types: java.util.List<org.openmrs.activelist.Allergy> cannot be converted to org.openmrs.module.allergyapi.Allergies
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[44,99] incompatible types: java.util.List<org.openmrs.module.appframework.domain.Extension> cannot be converted to java.util.List<org.openmrs.module.Extens
- ion>
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[45,28] no suitable method found for sort(java.util.List<org.openmrs.module.Extension>)
- [ERROR] method java.util.Collections.<T>sort(java.util.List<T>) is not applicable
- [ERROR] (inferred type does not conform to upper bound(s)
- [ERROR] inferred: org.openmrs.module.Extension
- [ERROR] upper bound(s): java.lang.Comparable<? super org.openmrs.module.Extension>)
- [ERROR] method java.util.Collections.<T>sort(java.util.List<T>,java.util.Comparator<? super T>) is not applicable
- [ERROR] (cannot infer type-variable(s) T
- [ERROR] (actual and formal argument lists differ in length))
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[72,80] incompatible types: java.util.List<org.openmrs.activelist.Allergy> cannot be converted to org.openmrs.module.allergyapi.Allergies
- [ERROR] /E:/Finished Java Project/Openmrs/Ticket/openmrs-module-allergyui/web-1.9/src/main/java/org/openmrs/module/allergyui/page/controller/AllergiesPageControlle
- r.java:[76,47] cannot find symbol
- [ERROR] symbol: method setAllergies(org.openmrs.Patient,org.openmrs.module.allergyapi.Allergies)
- [ERROR] location: variable patientService of type org.openmrs.api.PatientService
- [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 :allergyui-web-1.9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement