Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] OpenMRS
- [INFO] openmrs-tools
- [INFO] openmrs-test
- [INFO] openmrs-api
- [INFO] openmrs-web
- [INFO] openmrs-webapp
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building OpenMRS 2.1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
- [INFO] Deleting C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
- [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\Nikhil Kumar\workspacemars\openmrs-core-master
- [INFO] Storing buildNumber: 0 at timestamp: 1483595151639
- [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\Nikhil Kumar\workspacemars\openmrs-core-master
- [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
- [INFO]
- [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs ---
- [WARNING] JAR will be empty - no content was marked for inclusion!
- [INFO] Building jar: C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\target\openmrs-2.1.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] --- license-maven-plugin:2.6:check (default) @ openmrs ---
- [INFO] Checking licenses...
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
- [INFO] Installing C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\pom.xml to C:\Users\Nikhil Kumar\.m2\repository\org\openmrs\openmrs\2.1.0-SNAPSHOT\openmrs-2.1.0-SNAPSHOT.pom
- [INFO] Installing C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\target\openmrs-2.1.0-SNAPSHOT-tests.jar to C:\Users\Nikhil Kumar\.m2\repository\org\openmrs\openmrs\2.1.0-SNAPSHOT\openmrs-2.1.0-SNAPSHOT-tests.jar
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-tools 2.1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
- [INFO] Deleting C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\tools\target
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-tools ---
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 7 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
- [INFO] Compiling 1 source file to C:\Users\Nikhil Kumar\workspacemars\openmrs-core-master\tools\target\classes
- [INFO] -------------------------------------------------------------
- [ERROR] COMPILATION ERROR :
- [INFO] -------------------------------------------------------------
- [ERROR] Unable to locate the Javac Compiler in:
- C:\Program Files\Java\jre1.8.0_111\..\lib\tools.jar
- Please ensure you are using JDK 1.4 or above and
- not a JRE (the com.sun.tools.javac.Main class is required).
- In most cases you can change the location of your Java
- installation by setting the JAVA_HOME environment variable.
- [INFO] 1error
- [INFO] -------------------------------------------------------------
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] OpenMRS ............................................ SUCCESS [ 52.891 s]
- [INFO] openmrs-tools ...................................... FAILURE [ 9.551 s]
- [INFO] openmrs-test ....................................... SKIPPED
- [INFO] openmrs-api ........................................ SKIPPED
- [INFO] openmrs-web ........................................ SKIPPED
- [INFO] openmrs-webapp ..................................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:03 min
- [INFO] Finished at: 2017-01-05T11:16:41+05:30
- [INFO] Final Memory: 11M/63M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project openmrs-tools: Compilation failure
- [ERROR] Unable to locate the Javac Compiler in:
- [ERROR] C:\Program Files\Java\jre1.8.0_111\..\lib\tools.jar
- [ERROR] Please ensure you are using JDK 1.4 or above and
- [ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
- [ERROR] In most cases you can change the location of your Java
- [ERROR] installation by setting the JAVA_HOME environment variable.
- [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 :openmrs-tools
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement