-
Quality Risk
-
Resolution: Cannot Reproduce
-
Major
-
None
-
2.20.0.Final
-
None
while installing angular js addon for forge i am getting below error :-
[SEVERE] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project angularjs: Compilation failure
[SEVERE] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[SEVERE] -> [Help 1]
[SEVERE]
[SEVERE] To see the full stack trace of the errors, re-run Maven with the -e switch.
[SEVERE] Re-run Maven using the -X switch to enable full debug logging.
[SEVERE]
[SEVERE] For more information about the errors and possible solutions, please read the following articles:
[SEVERE] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
**ERROR** Error while executing 'addon-install-from-git'
**INFO** (type "export VERBOSE=true" to enable stack traces)
**ERROR** Unable to execute project build
[PracticeSession15Sep2015]$ addon-install-from-git --url https://github.com/forge/angularjs-addon.git
**INFO** Installing Addon from Git [1/4] ...
**INFO** Installing Addon from Git:Cloning repository in C:\Users\Ash\AppData\Local\Temp\tmpdir2956571090541956900 [1/4] ...
**INFO** Installing Addon from Git:Installing project into local repository [2/4] ...
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building angularjs 2.1.6-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.6.1:clean (default-clean) @ angularjs —
[INFO]
[INFO] — maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ angularjs —
[INFO]
[INFO] — maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ angularjs —
[INFO]
[INFO] — buildnumber-maven-plugin:1.3:create-timestamp (get-build-timestamp) @ angularjs —
[INFO]
[INFO] — buildnumber-maven-plugin:1.3:create (get-scm-revision) @ angularjs —
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: C:\Users\Ash\AppData\Local\Temp\tmpdir2956571090541956900
[INFO] Storing buildNumber: 3e2248593380b724e205d2ab59e6fe307c037c2d at timestamp: 1445453834156
[INFO] Storing buildScmBranch: master
[INFO]
[INFO] — maven-resources-plugin:2.7:resources (default-resources) @ angularjs —
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 42 resources
[INFO]
[INFO] — maven-compiler-plugin:3.2:compile (default-compile) @ angularjs —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to C:\Users\Ash\AppData\Local\Temp\tmpdir2956571090541956900\target\classes
[INFO] -------------------------------------------------------------
[SEVERE] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[SEVERE] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.113 s
[INFO] Finished at: 2015-10-21T11:57:17-07:00
[INFO] Final Memory: 162M/398M
[INFO] ------------------------------------------------------------------------
[SEVERE] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project angularjs: Compilation failure
[SEVERE] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[SEVERE] -> [Help 1]
[SEVERE]
[SEVERE] To see the full stack trace of the errors, re-run Maven with the -e switch.
[SEVERE] Re-run Maven using the -X switch to enable full debug logging.
[SEVERE]
[SEVERE] For more information about the errors and possible solutions, please read the following articles:
[SEVERE] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
**ERROR** Error while executing 'addon-install-from-git'
**INFO** (type "export VERBOSE=true" to enable stack traces)
**ERROR** Unable to execute project build
[PracticeSession15Sep2015]$