Login
Login

Reply To: algoquant-maven-plugin – FAILURE

Home 21090308 Forums Programming Java algoquant-maven-plugin – FAILURE Reply To: algoquant-maven-plugin – FAILURE

#5304
mlvtse
Member

and this is from Eclipse:

[INFO] Scanning for projects…
[INFO] ————————————————————————
[INFO] Reactor Build Order:
[INFO]
[INFO] algoquant
[INFO] algoquant-maven-plugin
[INFO] algoquant-core
[INFO]
[INFO] ————————————————————————
[INFO] Building algoquant 1.1.0
[INFO] ————————————————————————
[INFO]
[INFO] — build-helper-maven-plugin:1.9.1:add-resource (add-resource) @ algoquant —
[INFO]
[INFO] — maven-source-plugin:2.4:jar-no-fork (attach-sources) @ algoquant —
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ algoquant —
[INFO] Installing C:\Users\Vincent\Desktop\algoquant-1.1.0\pom.xml to C:\Users\Vincent\.m2\repository\com\numericalmethod\algoquant\1.1.0\algoquant-1.1.0.pom
[INFO]
[INFO] ————————————————————————
[INFO] Building algoquant-maven-plugin 1.1.0
[INFO] ————————————————————————
[INFO]
[INFO] — maven-plugin-plugin:3.2:helpmojo (help-goal) @ algoquant-maven-plugin —
[INFO] Using ‘UTF-8’ encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 1 mojo descriptors.
[INFO]
[INFO] — build-helper-maven-plugin:1.9.1:add-resource (add-resource) @ algoquant-maven-plugin —
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ algoquant-maven-plugin —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO]
[INFO] — maven-compiler-plugin:3.2:compile (default-compile) @ algoquant-maven-plugin —
[INFO] Changes detected – recompiling the module!
[INFO] Compiling 7 source files to C:\Users\Vincent\Desktop\algoquant-1.1.0\maven\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] Reactor Summary:
[INFO]
[INFO] algoquant …………………………………… SUCCESS [ 1.975 s]
[INFO] algoquant-maven-plugin ……………………….. FAILURE [ 5.809 s]
[INFO] algoquant-core ………………………………. SKIPPED
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 8.044 s
[INFO] Finished at: 2015-09-21T17:23:07+08:00
[INFO] Final Memory: 26M/650M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project algoquant-maven-plugin: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[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 -rf :algoquant-maven-plugin