title: Eclipse/Maven error: "No compiler is provided in this environment"
body: <p>I am a relative newcomer to the world of Java enterprise development.  My organization's Java guru is out on indefinite family leave, and I have been assigned the task of maintaining some of the Java applications he developed.  He setup Eclipse [Kepler SR1] with Maven on my computer before he left, and it appeared to work ok.</p>
  
  <p>Now I'm ready to deploy my first modification and need to run a Maven <code>install</code>, but I am having trouble getting it to work - I get the following output on my console:</p>
  
  <blockquote>
    <p>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project mrpapp: Compilation failure<br />
    [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?</p>
  </blockquote>
  
  <p>but I definitely <em>am</em> running a JDK and not a JRE.  I double-checked my <code>$JAVA_HOME</code> (<code>C:\Program Files (x86)\Java\jdk1.7.0_60</code>) and it <em>does</em> have a <code>javac.exe</code> in its <code>bin</code> directory.</p>
  
  <p>I am attaching a copy of my <code>pom.xml</code> file for your review.  I'm sure there is something in there that is causing the problem, but I am not sure what it might be.  I am using a laptop with Windows 7 64bit, if you need any further platform/environment info I can supply that as well.</p>
  
  <p>Any help will be greatly appreciated.</p>