Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mpangos-MacBook-Pro:openmrs-module-coreapps jmpango$ mvn clean install -e
- [INFO] Error stacktraces are turned on.
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:coreapps-omod:jar:1.9-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], /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/pom.xml, line 320, column 21
- [WARNING] 'build.plugins.plugin.version' for de.saumya.mojo:gem-maven-plugin is missing. @ org.openmrs.module:coreapps-omod:[unknown-version], /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/pom.xml, line 346, 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
- [INFO] Core Apps Module API
- [INFO] coreapps Module web 1.9
- [INFO] coreapps Module web 2.0
- [INFO] Core Apps Module OMOD
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Core Apps Module 1.9-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps ---
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps ---
- [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/pom.xml to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps/1.9-SNAPSHOT/coreapps-1.9-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Core Apps Module API 1.9-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-api ---
- [INFO] Deleting /Users/jmpango/Documents/workspace/Openmrs 1.9.9/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 6 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 16 source files to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/classes
- [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Some input files use or override a deprecated API.
- [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Recompile with -Xlint:deprecation for details.
- [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Some input files use unchecked or unsafe operations.
- [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/main/java/org/openmrs/module/coreapps/parser/ParseEncounterToJson.java: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-api ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 6 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-api ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 6 source files to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/test-classes
- [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/test/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesTagHandlerComponentTest.java: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/test/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesTagHandlerComponentTest.java uses unchecked or unsafe operations.
- [WARNING] /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/src/test/java/org/openmrs/module/coreapps/htmlformentry/EncounterDiagnosesTagHandlerComponentTest.java: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ coreapps-api ---
- [INFO] Surefire report directory: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest
- Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.855 sec
- Running org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextObsTagHandlerComponentTest
- ERROR - Context.getServiceContext(259) |2016-01-17 10:10:05,682| serviceContext is null. Creating new ServiceContext()
- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.695 sec
- Running org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerComponentTest
- <div class="htmlform">
- Date: <span id='encounterDate'><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2016-01-17')</script><span class="error field-error" style="display: none" id="w2"></span></span>
- Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">htmlformentry.chooseALocation</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span>
- Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="" selected="true">htmlformentry.chooseAProvider</option><option value="502">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span>
- <span class="error field-error" style="display: none" id="w8"></span>[[ included fragment coreapps.diagnosis/encounterDiagnoses here ]]
- Encounter Type: <span id='encounterType'><select id="w9" name="w9">
- <option value="">htmlformentry.chooseEncounterType</option>
- <option value="2">Emergency</option>
- <option value="6">Laboratory</option>
- <option value="1">Scheduled</option></select><span class="error field-error" style="display: none" id="w10"></span></span>
- <input type="button" class="submitButton" value="htmlformentry.saveChangesButton" onClick="submitHtmlForm()"/>
- </div>
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.719 sec
- Running org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerTest
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.308 sec
- Running org.openmrs.module.coreapps.htmlformentry.EncounterDispositionTagHandlerComponentTest
- Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.297 sec
- Running org.openmrs.module.coreapps.parser.ParseEncounterToJsonTest
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Found binding in [jar:file:/Users/jmpango/.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:/Users/jmpango/.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.
- Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.501 sec
- Results :
- Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-api ---
- [INFO] Building jar: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/coreapps-api-1.9-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-api ---
- [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/coreapps-api-1.9-SNAPSHOT.jar to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-api/1.9-SNAPSHOT/coreapps-api-1.9-SNAPSHOT.jar
- [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/pom.xml to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-api/1.9-SNAPSHOT/coreapps-api-1.9-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building coreapps Module web 1.9 1.9-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-web-1.9 ---
- [INFO] Deleting /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-web-1.9 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-web-1.9 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-web-1.9 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/src/test/resources
- [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-web-1.9 ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ coreapps-web-1.9 ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-web-1.9 ---
- [INFO] Building jar: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/target/coreapps-web-1.9-1.9-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-web-1.9 ---
- [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/target/coreapps-web-1.9-1.9-SNAPSHOT.jar to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-web-1.9/1.9-SNAPSHOT/coreapps-web-1.9-1.9-SNAPSHOT.jar
- [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-1.9/pom.xml to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-web-1.9/1.9-SNAPSHOT/coreapps-web-1.9-1.9-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building coreapps Module web 2.0 1.9-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-web-2.0 ---
- [INFO] Deleting /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ coreapps-web-2.0 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ coreapps-web-2.0 ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 3 source files to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ coreapps-web-2.0 ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/src/test/resources
- [INFO] skip non existing resourceDirectory /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ coreapps-web-2.0 ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ coreapps-web-2.0 ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ coreapps-web-2.0 ---
- [INFO] Building jar: /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/target/coreapps-web-2.0-1.9-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ coreapps-web-2.0 ---
- [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/target/coreapps-web-2.0-1.9-SNAPSHOT.jar to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-web-2.0/1.9-SNAPSHOT/coreapps-web-2.0-1.9-SNAPSHOT.jar
- [INFO] Installing /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/web-2.0/pom.xml to /Users/jmpango/.m2/repository/org/openmrs/module/coreapps-web-2.0/1.9-SNAPSHOT/coreapps-web-2.0-1.9-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Core Apps Module OMOD 1.9-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ coreapps-omod ---
- [INFO] Deleting /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/target
- [INFO]
- [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ coreapps-omod ---
- [INFO]
- [INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages) @ coreapps-omod ---
- [INFO] Unpacking /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/api/target/coreapps-api-1.9-SNAPSHOT.jar to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/target/classes with includes "**/*" and excludes ""
- [INFO]
- [INFO] --- maven-dependency-plugin:2.4:unpack (Fetch SASS sources from uicommons) @ coreapps-omod ---
- [INFO] Configured Artifact: org.openmrs.module:uicommons-scss:?:zip
- [INFO] Unpacking /Users/jmpango/.m2/repository/org/openmrs/module/uicommons-scss/1.7/uicommons-scss-1.7.zip to /Users/jmpango/Documents/workspace/Openmrs 1.9.9/openmrs-module-coreapps/omod/src/main/compass/sass-external with includes "" and excludes ""
- [INFO]
- [INFO] --- gem-maven-plugin:1.1.3:exec (default) @ coreapps-omod ---
- [INFO] Error opening script file: /Users/jmpango/Documents/workspace/Openmrs (No such file or directory)
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] Core Apps Module ................................... SUCCESS [ 0.289 s]
- [INFO] Core Apps Module API ............................... SUCCESS [ 38.366 s]
- [INFO] coreapps Module web 1.9 ............................ SUCCESS [ 0.510 s]
- [INFO] coreapps Module web 2.0 ............................ SUCCESS [ 0.592 s]
- [INFO] Core Apps Module OMOD .............................. FAILURE [ 1.727 s]
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 43.205 s
- [INFO] Finished at: 2016-01-17T10:10:22+03:00
- [INFO] Final Memory: 54M/370M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.1.3:exec (default) on project coreapps-omod: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.1.3:exec failed: Java returned: 1 -> [Help 1]
- org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.1.3:exec (default) on project coreapps-omod: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.1.3:exec failed: Java returned: 1
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:606)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
- Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.1.3:exec failed: Java returned: 1
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
- ... 20 more
- Caused by: Java returned: 1
- at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
- at de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:113)
- at de.saumya.mojo.ruby.script.AntLauncher.executeIn(AntLauncher.java:147)
- at de.saumya.mojo.ruby.script.Script.executeIn(Script.java:108)
- at de.saumya.mojo.gem.ExecMojo.executeWithGems(ExecMojo.java:92)
- at de.saumya.mojo.gem.AbstractGemMojo.executeJRuby(AbstractGemMojo.java:508)
- at de.saumya.mojo.jruby.AbstractJRubyMojo.execute(AbstractJRubyMojo.java:293)
- at de.saumya.mojo.gem.AbstractGemMojo.execute(AbstractGemMojo.java:238)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
- ... 21 more
- [ERROR]
- [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/PluginExecutionException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <goals> -rf :coreapps-omod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement