Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[lyo-dev] Unable to do Maven install

Hi,

 

 

Unable to do Maven install on OSLC4JCoreRelEng – pom.xml file.

 

I get the following error messages.

 

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\jre7\..\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]

 

 

COMPILATION ERROR :

[INFO] -------------------------------------------------------------

[ERROR] Unable to locate the Javac Compiler in:

  C:\Program Files\Java\jre7\..\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

 

Scanning for projects...

[WARNING]

[WARNING] Some problems were encountered while building the effective model for org.eclipse.lyo.oslc4j.core:oslc4j-registry:war:1.0

[WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:jetty-maven-plugin is missing. @ line 80, column 11 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.lyo.oslc4j.samples:oslc4j-stockquote-sample:war:1.1

[WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:jetty-maven-plugin is missing. @ line 81, column 11 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.eclipse.lyo.oslc4j.samples:oslc4j-test-sample:war:1.1

[WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:jetty-maven-plugin is missing. @ line 87, column 11 [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]

 

 

I am using JDK 1.7 and set CLASSPATH=C:\Program Files\Java\jdk1.7.0_17\bin and JAVA_HOME=C:\Program Files\Java

 

Request your help in rectifying the same.

 

 

 

 

Thanks,

Roopa Venu

Mobile - 9945656908

 



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited.

Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.

______________________________________________________________________________________

www.accenture.com

Back to the top