title: Springboot maven jetty version cannot be changed
body: <p>My JDK is:</p>
  
  <pre><code>java version "1.7.0_79"
  Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
  Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
  Chethans-Macbook-Pro-2:viglink chethanshankar$ 
  </code></pre>
  
  <p>My maven version is:</p>
  
  <pre><code>Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
  Maven home: /usr/local/Cellar/maven/3.3.9/libexec
  Java version: 1.7.0_79, vendor: Oracle Corporation
  Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
  </code></pre>
  
  <p>I want to change my spring-boot's Jetty version to: <strong>8.1.15.v20140411</strong></p>
  
  <p>I have the following in my pom:</p>
  
  <pre><code>&lt;properties&gt;
      &lt;jetty.version&gt;8.1.15.v20140411&lt;/jetty.version&gt;
      &lt;jetty-jsp.version&gt;2.2.0.v201112011158&lt;/jetty-jsp.version&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-jetty&lt;/artifactId&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.eclipse.jetty.websocket&lt;/groupId&gt;
                  &lt;artifactId&gt;*&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p></p>
  
  <p>The "mvn dependency:tree" and "mvn clean install" compiles to:</p>
  
  <pre><code>[INFO] +- org.springframework.boot:spring-boot-starter-jetty:jar:1.4.1.RELEASE:compile
  [INFO] |  +- org.eclipse.jetty:jetty-servlets:jar:9.3.11.v20160721:compile
  [INFO] |  |  +- org.eclipse.jetty:jetty-continuation:jar:9.3.11.v20160721:compile
  [INFO] |  |  +- org.eclipse.jetty:jetty-http:jar:9.3.11.v20160721:compile
  [INFO] |  |  |  \- (org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:compile
  [INFO] |  |  \- org.eclipse.jetty:jetty-io:jar:9.3.11.v20160721:compile
  [INFO] |  |     \- (org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  +- org.eclipse.jetty:jetty-webapp:jar:9.3.11.v20160721:compile
  [INFO] |  |  +- org.eclipse.jetty:jetty-xml:jar:9.3.11.v20160721:compile
  [INFO] |  |  |  \- (org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  \- org.eclipse.jetty:jetty-servlet:jar:9.3.11.v20160721:compile
  [INFO] |  |     \- org.eclipse.jetty:jetty-security:jar:9.3.11.v20160721:compile
  [INFO] |  |        \- org.eclipse.jetty:jetty-server:jar:9.3.11.v20160721:compile
  [INFO] |  |           +- (javax.servlet:javax.servlet-api:jar:3.1.0:compile - omitted for duplicate)
  [INFO] |  |           +- (org.eclipse.jetty:jetty-http:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |           \- (org.eclipse.jetty:jetty-io:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  +- org.eclipse.jetty.websocket:websocket-server:jar:9.3.11.v20160721:compile
  [INFO] |  |  +- org.eclipse.jetty.websocket:websocket-common:jar:9.3.11.v20160721:compile
  [INFO] |  |  |  +- org.eclipse.jetty.websocket:websocket-api:jar:9.3.11.v20160721:compile
  [INFO] |  |  |  +- (org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  |  \- (org.eclipse.jetty:jetty-io:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  +- org.eclipse.jetty.websocket:websocket-client:jar:9.3.11.v20160721:compile
  [INFO] |  |  |  +- (org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  |  +- (org.eclipse.jetty:jetty-io:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  |  \- (org.eclipse.jetty.websocket:websocket-common:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  +- org.eclipse.jetty.websocket:websocket-servlet:jar:9.3.11.v20160721:compile
  [INFO] |  |  |  +- (org.eclipse.jetty.websocket:websocket-api:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  |  \- javax.servlet:javax.servlet-api:jar:3.1.0:compile
  [INFO] |  |  +- (org.eclipse.jetty:jetty-servlet:jar:9.3.11.v20160721:compile - omitted for duplicate)
  [INFO] |  |  \- (org.eclipse.jetty:jetty-http:jar:9.3.11.v20160721:compile - omitted for duplicate)
  </code></pre>
  
  <p>My main class:</p>
  
  <pre><code>@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class })
  public class Application {
      public static void main(String[] args) throws Exception {        
          SpringApplication app = new SpringApplication(Application.class,
                  SpringComponentScanConfiguration.class,
                  CommonDataLayerConfigurer.class,
                  CommonSchedulingConfigurer.class,
                  CommonSpringContextConfiguration.class);
          app.setBannerMode(Banner.Mode.CONSOLE);
          app.run( args);
  
      }
  }
  </code></pre>
  
  <p>What am I doing wrong? How do i change the Jetty version in my pom? Thanks.</p>