Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-module-attachments (master)
- $ git pull --rebase upstream master
- From https://github.com/openmrs/openmrs-module-attachments
- * branch master -> FETCH_HEAD
- Already up to date.
- Current branch master is up to date.
- Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-module-attachments (master)
- $ mvn clean install
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:attachments-api-2.0:jar:2.3.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.openmrs.module:attachments-api-2.0:[unknown-version], C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\pom.xml, line 126, column 21
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:attachments-omod-2.0:jar:2.3.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.openmrs.module:attachments-omod-2.0:[unknown-version], C:\Users\Cliff\Desktop\project\openmrs-module-attachments\omod-2.0\pom.xml, line 229, column 15
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:attachments-omod:jar:2.3.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:attachments-omod:[unknown-version], C:\Users\Cliff\Desktop\project\openmrs-module-attachments\omod\pom.xml, line 333, 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] Attachments [pom]
- [INFO] Attachments API [jar]
- [INFO] Attachments API 1.11 [jar]
- [INFO] Attachments API 2.0 [jar]
- [INFO] Attachments OMOD 1.10 [jar]
- [INFO] Attachments OMOD 2.0 [jar]
- [INFO] Attachments OMOD [jar]
- [INFO]
- [INFO] -------------------< org.openmrs.module:attachments >-------------------
- [INFO] Building Attachments 2.3.0-SNAPSHOT [1/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments ---
- [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-module-attachments\target
- [INFO]
- [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 118
- [INFO] Successfully formatted: 49 file(s)
- [INFO] Fail to format: 0 file(s)
- [INFO] Skipped: 69 file(s)
- [INFO] Read only skipped: 0 file(s)
- [INFO] Approximate time taken: 5s
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments ---
- [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-module-attachments\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\module\attachments\2.3.0-SNAPSHOT\attachments-2.3.0-SNAPSHOT.pom
- [INFO]
- [INFO] -----------------< org.openmrs.module:attachments-api >-----------------
- [INFO] Building Attachments API 2.3.0-SNAPSHOT [2/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments-api ---
- [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ attachments-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 6 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ attachments-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 20 source files to C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\target\classes
- [INFO]
- [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments-api ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 25
- [INFO] Successfully formatted: 25 file(s)
- [INFO] Fail to format: 0 file(s)
- [INFO] Skipped: 0 file(s)
- [INFO] Read only skipped: 0 file(s)
- [INFO] Approximate time taken: 0s
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ attachments-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 6 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ attachments-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 5 source files to C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\target\test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ attachments-api ---
- [INFO] Surefire report directory: C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.attachments.AttachmentsContextTest
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.135 sec
- Running org.openmrs.module.attachments.obs.ImageAttachmentHandlerContextSensitiveTest
- ERROR - Context.getServiceContext(252) |2020-05-05 11:32:59,428| serviceContext is null. Creating new ServiceContext()
- Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.501 sec
- Running org.openmrs.module.attachments.obs.ImageAttachmentHandlerTest
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Found binding in [jar:file:/C:/Users/Cliff/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: Found binding in [jar:file:/C:/Users/Cliff/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
- log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable.
- log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
- log4j:ERROR [org.powermock.core.classloader.MockClassLoader@618dbfd4] whereas object of type
- log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [sun.misc.Launcher$AppClassLoader@42a57993].
- log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
- log4j:WARN No appenders could be found for logger (org.openmrs.obs.handler.AbstractHandler).
- log4j:WARN Please initialize the log4j system properly.
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
- Running org.openmrs.module.attachments.obs.ValueComplexTest
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
- Results :
- Tests run: 11, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ attachments-api ---
- [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\target\attachments-api-2.3.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-jar-plugin:2.2:test-jar (default) @ attachments-api ---
- [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\target\attachments-api-2.3.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments-api ---
- [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\target\attachments-api-2.3.0-SNAPSHOT.jar to C:\Users\Cliff\.m2\repository\org\openmrs\module\attachments-api\2.3.0-SNAPSHOT\attachments-api-2.3.0-SNAPSHOT.jar
- [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\module\attachments-api\2.3.0-SNAPSHOT\attachments-api-2.3.0-SNAPSHOT.pom
- [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api\target\attachments-api-2.3.0-SNAPSHOT-tests.jar to C:\Users\Cliff\.m2\repository\org\openmrs\module\attachments-api\2.3.0-SNAPSHOT\attachments-api-2.3.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --------------< org.openmrs.module:attachments-api-1.11 >---------------
- [INFO] Building Attachments API 1.11 2.3.0-SNAPSHOT [3/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments-api-1.11 ---
- [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-1.11\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ attachments-api-1.11 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-1.11\src\main\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ attachments-api-1.11 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 1 source file to C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-1.11\target\classes
- [INFO]
- [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments-api-1.11 ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 1
- [INFO] Successfully formatted: 1 file(s)
- [INFO] Fail to format: 0 file(s)
- [INFO] Skipped: 0 file(s)
- [INFO] Read only skipped: 0 file(s)
- [INFO] Approximate time taken: 0s
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ attachments-api-1.11 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-1.11\src\test\resources
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-1.11\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ attachments-api-1.11 ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ attachments-api-1.11 ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ attachments-api-1.11 ---
- [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-1.11\target\attachments-api-1.11-2.3.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments-api-1.11 ---
- [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-1.11\target\attachments-api-1.11-2.3.0-SNAPSHOT.jar to C:\Users\Cliff\.m2\repository\org\openmrs\module\attachments-api-1.11\2.3.0-SNAPSHOT\attachments-api-1.11-2.3.0-SNAPSHOT.jar
- [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-1.11\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\module\attachments-api-1.11\2.3.0-SNAPSHOT\attachments-api-1.11-2.3.0-SNAPSHOT.pom
- [INFO]
- [INFO] ---------------< org.openmrs.module:attachments-api-2.0 >---------------
- [INFO] Building Attachments API 2.0 2.3.0-SNAPSHOT [4/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [WARNING] The POM for org.openmrs.module:emrapi-api:jar:1.16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
- [WARNING] The POM for org.openmrs.module:emrapi-api-1.12:jar:1.16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments-api-2.0 ---
- [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ attachments-api-2.0 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\src\main\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ attachments-api-2.0 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\target\classes
- [INFO]
- [INFO] --- formatter-maven-plugin:2.7.1:format (default) @ attachments-api-2.0 ---
- [INFO] Using 'UTF-8' encoding to format source files.
- [INFO] Number of files to be formatted: 4
- [INFO] Successfully formatted: 4 file(s)
- [INFO] Fail to format: 0 file(s)
- [INFO] Skipped: 0 file(s)
- [INFO] Read only skipped: 0 file(s)
- [INFO] Approximate time taken: 0s
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ attachments-api-2.0 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\src\test\resources
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ attachments-api-2.0 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 1 source file to C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\target\test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ attachments-api-2.0 ---
- [INFO] Surefire report directory: C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.attachments.AttachmentsServiceTest
- WARN - HibernateConceptDAO.getConceptByName(1713) |2020-05-05 11:33:53,235| Multiple concepts found for 'OutOfAttachmentsTestComplex'
- WARN - HibernateConceptDAO.getConceptByName(1713) |2020-05-05 11:33:53,810| Multiple concepts found for 'OutOfAttachmentsTestComplex'
- WARN - HibernateConceptDAO.getConceptByName(1713) |2020-05-05 11:33:54,191| Multiple concepts found for 'OutOfAttachmentsTestComplex'
- WARN - HibernateConceptDAO.getConceptByName(1713) |2020-05-05 11:33:54,420| Multiple concepts found for 'OutOfAttachmentsTestComplex'
- WARN - HibernateConceptDAO.getConceptByName(1713) |2020-05-05 11:33:54,695| Multiple concepts found for 'OutOfAttachmentsTestComplex'
- WARN - HibernateConceptDAO.getConceptByName(1713) |2020-05-05 11:33:54,964| Multiple concepts found for 'OutOfAttachmentsTestComplex'
- WARN - HibernateConceptDAO.getConceptByName(1713) |2020-05-05 11:33:55,188| Multiple concepts found for 'OutOfAttachmentsTestComplex'
- Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.217 sec
- Results :
- Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ attachments-api-2.0 ---
- [INFO] Building jar: C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\target\attachments-api-2.0-2.3.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ attachments-api-2.0 ---
- [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\target\attachments-api-2.0-2.3.0-SNAPSHOT.jar to C:\Users\Cliff\.m2\repository\org\openmrs\module\attachments-api-2.0\2.3.0-SNAPSHOT\attachments-api-2.0-2.3.0-SNAPSHOT.jar
- [INFO] Installing C:\Users\Cliff\Desktop\project\openmrs-module-attachments\api-2.0\pom.xml to C:\Users\Cliff\.m2\repository\org\openmrs\module\attachments-api-2.0\2.3.0-SNAPSHOT\attachments-api-2.0-2.3.0-SNAPSHOT.pom
- [INFO]
- [INFO] --------------< org.openmrs.module:attachments-omod-1.10 >--------------
- [INFO] Building Attachments OMOD 1.10 2.3.0-SNAPSHOT [5/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ attachments-omod-1.10 ---
- [INFO] Deleting C:\Users\Cliff\Desktop\project\openmrs-module-attachments\omod-1.10\target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ attachments-omod-1.10 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\Cliff\Desktop\project\openmrs-module-attachments\omod-1.10\src\main\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ attachments-omod-1.10 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to C:\Users\Cliff\Desktop\project\openmrs-module-attachments\omod-1.10\target\classes
- [INFO] -------------------------------------------------------------
- [ERROR] COMPILATION ERROR :
- [INFO] -------------------------------------------------------------
- [ERROR] /C:/Users/Cliff/Desktop/project/openmrs-module-attachments/omod-1.10/src/main/java/org/openmrs/module/attachments/rest/AttachmentBytesResource1_10.java:[50,17] cannot find symbol
- symbol: class ComplexViewHelper
- location: class org.openmrs.module.attachments.rest.AttachmentBytesResource1_10
- [INFO] 1 error
- [INFO] -------------------------------------------------------------
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Attachments 2.3.0-SNAPSHOT:
- [INFO]
- [INFO] Attachments ........................................ SUCCESS [ 6.544 s]
- [INFO] Attachments API .................................... SUCCESS [ 46.731 s]
- [INFO] Attachments API 1.11 ............................... SUCCESS [ 1.096 s]
- [INFO] Attachments API 2.0 ................................ SUCCESS [ 36.392 s]
- [INFO] Attachments OMOD 1.10 .............................. FAILURE [ 0.801 s]
- [INFO] Attachments OMOD 2.0 ............................... SKIPPED
- [INFO] Attachments OMOD ................................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:32 min
- [INFO] Finished at: 2020-05-05T11:33:56+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project attachments-omod-1.10: Compilation failure
- [ERROR] /C:/Users/Cliff/Desktop/project/openmrs-module-attachments/omod-1.10/src/main/java/org/openmrs/module/attachments/rest/AttachmentBytesResource1_10.java:[50,17] cannot find symbol
- [ERROR] symbol: class ComplexViewHelper
- [ERROR] location: class org.openmrs.module.attachments.rest.AttachmentBytesResource1_10
- [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 :attachments-omod-1.10
- Cliff@Cliff-PC MINGW64 ~/Desktop/project/openmrs-module-attachments (master)
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement