Dear Samuel,
Thank you very much for your reply.
I was using Run as > Maven build and received the message that I sent earlier.
Now I tried Run as> Maven install and received this error message:[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.eclipse.lyo.oslc4j.core:oslc4j-registry:war:3.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:jetty-maven-plugin is missing. @ line 115, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.eclipse.lyo.oslc4j.core:oslc4j-utils:jar:3.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 72, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 58, column 12
[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] OSLC4J Core
[INFO] OSLC4J Jena Provider
[INFO] OSLC4J JSON4J Provider
[INFO] OSLC4J Wink Application
[INFO] OSLC4J Registry
[INFO] OSLC4J Query
[INFO] OSLC TRS Toolkit
[INFO] OSLC4J Utilities
[INFO] OSLC4J Build
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OSLC4J Core 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ oslc4j-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oslc4j-core ---
[INFO] Compiling 89 source files to C:\Users\user\git\org.eclipse.lyo.core\org.eclipse.lyo.oslc4j.core\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre6\..\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] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OSLC4J Core ....................................... FAILURE [ 14.493 s]
[INFO] OSLC4J Jena Provider .............................. SKIPPED
[INFO] OSLC4J JSON4J Provider ............................ SKIPPED
[INFO] OSLC4J Wink Application ........................... SKIPPED
[INFO] OSLC4J Registry ................................... SKIPPED
[INFO] OSLC4J Query ...................................... SKIPPED
[INFO] OSLC TRS Toolkit .................................. SKIPPED
[INFO] OSLC4J Utilities .................................. SKIPPED
[INFO] OSLC4J Build ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.993 s
[INFO] Finished at: 2014-09-15T19:42:06+01:00
[INFO] Final Memory: 7M/56M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project oslc4j-core: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR] C:\Program Files\Java\jre6\..\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 <jettyConfig>${project.build.directory}/test-classes/jetty.xml</jettyConfig>