title: When using maven jetty:run - is it possible to disable the compilation step?
body: <p>I'm working with Eclipse and Maven and run my application using the Maven jetty plugin.</p>
  
  <p>I find it mildly irritating that Maven insists on recompiling my files every time I execute jetty:run. It is sub-optimal, as the files have already been compiled by Eclipse (and I'm writing Scala which has a (relatively) slow compiler).</p>
  
  <p>I'm using profiles, and run mvn jetty:run under my 'development' profile.</p>
  
  <p>What I want to do is:</p>
  
  <blockquote>
    <blockquote>
      <blockquote>
        <p>Configure the jetty plugin so that it skips the compilation phase whilst running under the development profile. </p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>I've looked into maven lifecycle documentation but haven't found any information about a 'skip.compile' flag or configuration parameter.</p>
  
  <p>I've also tried configuring Maven like so in the vain assumption that it would stop the recompile upon maven-jetty-plugin startup. </p>
  
  <p>I was wrong, it did not work. But what I have thought is, perhaps the Scala compiler is the problem. Perhaps it ignores the compile stuff.</p>
  
  <p>
    
      development
      
        
          
            
            
            
            maven-compiler-plugin
            
              
                default-testCompile
                test-compile
                
                  
                
              
              
                default-compile
                compile
                
                  
                
              
            
            
              1.6
              1.6
              false
            
          
          
            org.mortbay.jetty
            jetty-maven-plugin
            7.2.2.v20101205
            
              
            
          
        
        
          true
          
            development
          
        
      </p>
  
  <p>Update:</p>
  
  <p>I'm going to try specifically disabling scala compilation</p>