Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Admin@THe-ODoRa MINGW64 ~/atomfeed (master)
- $ git status
- On branch master
- Your branch is up to date with 'origin/master'.
- nothing to commit, working tree clean
- Admin@THe-ODoRa MINGW64 ~/atomfeed (master)
- $ git branch
- * master
- Admin@THe-ODoRa MINGW64 ~/atomfeed (master)
- $ mvn clean install
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] Atomfeed module [pom]
- [INFO] Atomfeed module API [jar]
- [INFO] Atomfeed module API 1.9 [jar]
- [INFO] Atomfeed module API 2.0 [jar]
- [INFO] Atomfeed module OMOD [jar]
- [INFO]
- [INFO] --------------------< org.openmrs.module:atomfeed >---------------------
- [INFO] Building Atomfeed module 1.0.13-SNAPSHOT [1/5]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atomfeed ---
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ atomfeed ---
- [INFO] Checking for local modifications: skipped.
- [INFO] Updating project files from SCM: skipped.
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\Admin\atomfeed
- [INFO] Storing buildNumber: b06102 at timestamp: 1563992058240
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\Admin\atomfeed
- [INFO] Storing buildScmBranch: UNKNOWN
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ atomfeed ---
- [INFO] Installing C:\Users\Admin\atomfeed\pom.xml to C:\Users\Admin\.m2\repository\org\openmrs\module\atomfeed\1.0.13-SNAPSHOT\atomfeed-1.0.13-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------< org.openmrs.module:atomfeed-api >-------------------
- [INFO] Building Atomfeed module API 1.0.13-SNAPSHOT [2/5]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atomfeed-api ---
- [INFO] Deleting C:\Users\Admin\atomfeed\api\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ atomfeed-api ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ atomfeed-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 7 resources
- [INFO] Copying 1 resource
- [INFO] skip non existing resourceDirectory C:\Users\Admin\atomfeed\api\src\main\webapp
- [INFO] skip non existing resourceDirectory C:\Users\Admin\atomfeed\api\src\main\webapp
- [INFO]
- [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atomfeed-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 33 source files to C:\Users\Admin\atomfeed\api\target\classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ atomfeed-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO] Copying 3 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ atomfeed-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 7 source files to C:\Users\Admin\atomfeed\api\target\test-classes
- [INFO] /C:/Users/Admin/atomfeed/api/src/test/java/org/openmrs/module/atomfeed/api/service/TagsServiceTest.java: C:\Users\Admin\atomfeed\api\src\test\java\org\openmrs\module\atomfeed\api\service\TagsServiceTest.java uses unchecked or unsafe operations.
- [INFO] /C:/Users/Admin/atomfeed/api/src/test/java/org/openmrs/module/atomfeed/api/service/TagsServiceTest.java: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ atomfeed-api ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running org.openmrs.module.atomfeed.api.db.hibernate.HibernateEventInterceptorTest
- [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.751 s - in org.openmrs.module.atomfeed.api.db.hibernate.HibernateEventInterceptorTest
- [INFO] Running org.openmrs.module.atomfeed.api.service.TagsServiceTest
- [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s - in org.openmrs.module.atomfeed.api.service.TagsServiceTest
- [INFO] Running org.openmrs.module.atomfeed.api.service.XMLParseServiceTest
- [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s - in org.openmrs.module.atomfeed.api.service.XMLParseServiceTest
- [INFO] Running org.openmrs.module.atomfeed.api.strategy.LocationFeedFilterStrategyTest
- [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.39 s - in org.openmrs.module.atomfeed.api.strategy.LocationFeedFilterStrategyTest
- [INFO] Running org.openmrs.module.atomfeed.api.utils.AtomfeedUtilsTest
- ERROR - AtomfeedUtils.parseJsonFileToFeedConfiguration(56) |2019-07-24 21:14:53,735| Unexpected character ('"' (code 34)): was expecting comma to separate OBJECT entries
- at [Source: java.io.StringReader@5d7148e2; line: 21, column: 8]
- [ERROR] Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.846 s <<< FAILURE!- in org.openmrs.module.atomfeed.api.utils.AtomfeedUtilsTest
- [ERROR] writeFeedConfigurationToJsonFile(org.openmrs.module.atomfeed.api.utils.AtomfeedUtilsTest) Time elapsed: 0.267 s <<< FAILURE!
- org.junit.ComparisonFailure:
- expected:<...sitWriter"
- } ]
- ][
- > but was:<...sitWriter"
- } ]
- }[]
- >
- at org.openmrs.module.atomfeed.api.utils.AtomfeedUtilsTest.writeFeedConfigurationToJsonFile(AtomfeedUtilsTest.java:116)
- [INFO] Running org.openmrs.module.atomfeed.api.utils.FeedConfigurationServiceImplTest
- [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.268 s - in org.openmrs.module.atomfeed.api.utils.FeedConfigurationServiceImplTest
- [INFO] Running org.openmrs.module.atomfeed.api.utils.FeedFilterUtilTest
- [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.openmrs.module.atomfeed.api.utils.FeedFilterUtilTest
- [INFO]
- [INFO] Results:
- [INFO]
- [ERROR] Failures:
- [ERROR] AtomfeedUtilsTest.writeFeedConfigurationToJsonFile:116 expected:<...sitWriter"
- } ]
- ][
- > but was:<...sitWriter"
- } ]
- }[]
- >
- [INFO]
- [ERROR] Tests run: 44, Failures: 1, Errors: 0, Skipped: 0
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Atomfeed module 1.0.13-SNAPSHOT:
- [INFO]
- [INFO] Atomfeed module .................................... SUCCESS [ 5.693 s]
- [INFO] Atomfeed module API ................................ FAILURE [ 35.208 s]
- [INFO] Atomfeed module API 1.9 ............................ SKIPPED
- [INFO] Atomfeed module API 2.0 ............................ SKIPPED
- [INFO] Atomfeed module OMOD ............................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 44.455 s
- [INFO] Finished at: 2019-07-24T21:14:55+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project atomfeed-api: There are test failures.
- [ERROR]
- [ERROR] Please refer to C:\Users\Admin\atomfeed\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] -> [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 :atomfeed-api
- Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removedin 8.0
- Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
- Admin@THe-ODoRa MINGW64 ~/atomfeed (master)
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement