Hi,
See the error when installing alfresco social login.
I ran the command:
mvn clean install alfresco: run
I followed the documentation on the site below:
https://github.com/FlexSolution/SocialLogin
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ SocialLogin-platform ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 24 source files to /root/install/linkedin/SocialLogin/SocialLogin-platform/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping SocialLogin OAUTH2 login AIO - SDK 3.0
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SocialLogin OAUTH2 login AIO - SDK 3.0 1.0-SNAPSHOT:
[INFO]
[INFO] SocialLogin OAUTH2 login AIO - SDK 3.0 ............. SUCCESS [ 0.817 s]
[INFO] Alfresco Platform/Repository SocialLogin JAR Module FAILURE [02:27 min]
[INFO] Alfresco Share SocialLogin JAR Module .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:28 min
[INFO] Finished at: 2019-12-16T10:52:40-02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project SocialLogin-platform: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[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
ocialLogin-platform
What is the solution to this error?
With best regards,
Zé Brasil