# How to set scala compiler version used by gatling maven plugin

**URL:** <https://community.gatling.io/t/how-to-set-scala-compiler-version-used-by-gatling-maven-plugin/2967>\
**Category:** Gatling (Open-Source)\
**Created:** [April 28, 2016, 7:34pm UTC](https://community.gatling.io/t/how-to-set-scala-compiler-version-used-by-gatling-maven-plugin/2967 "2016-04-28T19:34:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajiv\_Jivan](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@Rajiv\_Jivan](https://community.gatling.io/u/Rajiv_Jivan)\
**Post date:** [April 28, 2016, 7:34pm UTC](https://community.gatling.io/t/how-to-set-scala-compiler-version-used-by-gatling-maven-plugin/2967/1 "2016-04-28T19:34:40Z")

</div>

When running the target gatling:execute the plugin is looking for scala compiler 2.11.6 even though I have set the scala version to 2.11.7 in my POM. Is there a way to set the compiler version to 2.11.7? My POM is

> \<?xml version="1.0" encoding="UTF-8"?\>

4.0.0

com.test  
gatling  
1.0-SNAPSHOT

4.11 UTF-8 2.1.7 2.1.7 1.7.12 2.3 2.11.7 3.2.2 org.slf4j slf4j-api ${slf4j.version} junit junit ${junit.version} test io.gatling.highcharts gatling-charts-highcharts ${gatling.version} org.scala-lang scala-library ${scala.version} org.scala-lang scala-library ${scala.version} org.scala-lang scala-compiler ${scala.version} io.gatling gatling-maven-plugin ${gatling-plugin.version} org.scala-lang scala-compiler ${scala.version} src/main/resources src/main/resources/data src/main/scala/com/test/gatling/simulation target/gatling/results execute net.alchim31.maven scala-maven-plugin ${scala.maven-plugin.version} org.scala-lang scala-compiler ${scala.version} compile testCompile ${scala.version} -Xms64m -Xmx1024m org.apache.maven.plugins maven-shade-plugin 2.3 package shade \*:\* META-INF/\*.SF META-INF/\*.DSA META-INF/\*.RSA com.test.gatling.Engine
