title: Add a maven dependency to SBT project
body: <p>I am trying to reference a maven project dependency in my <code>build.sbt</code> file. I understand I need to add an additional <code>resolver</code> to my file since the project is hosted in an internal artifactory store</p>
  
  <pre><code>build.sbt
  
  libraryDependencies ++= Seq(
    "org.apache.spark" %% "spark-core" % "2.4.4",
    "org.apache.spark" %% "spark-sql" % "2.4.4",
    "com.&lt;companyname&gt;" %% "&lt;libraryname&gt;" % "2.3.0"
  )
  
  resolvers += "&lt;library name&gt;" at "http://artifactory.&lt;internal url&gt;.io:80/dsc-mvn"
  </code></pre>
  
  <p>However, it turns out that SBT ends up searching for a path that has <code>_2.11</code> version appended to it. This is the error message that I see in IntelliJ</p>
  
  <pre><code>[info] Loading settings for project sbt-demo from build.sbt ...
  [warn] Discarding 1 session setting.  Use 'session save' to persist session settings.
  [info] Set current project to SparkExample (in build file:&lt;project_path&gt;)
  [info] Defining Global / sbtStructureOptions
  [info] The new value will be used by Global / ssOptions
  [info] Reapplying settings...
  [info] Set current project to SparkExample (in build file:&lt;project_path&gt;)
  [info] Updating ...
  [warn]  module not found: com.&lt;companyname&gt;#&lt;libraryname&gt;_2.11;2.3.0
  [warn] ==== local: tried
  [warn]   /Users/vshah/.ivy2/local/com.&lt;companyname&gt;/&lt;libraryname&gt;_2.11/2.3.0/ivys/ivy.xml
  [warn] ==== public: tried
  [warn]   https://repo1.maven.org/maven2/com/&lt;companyname&gt;/&lt;libraryname&gt;_2.11/2.3.0/&lt;libraryname&gt;_2.11-2.3.0.pom
  [warn] ==== local-preloaded-ivy: tried
  [warn]   /Users/vshah/.sbt/preloaded/com.&lt;companyname&gt;/&lt;libraryname&gt;_2.11/2.3.0/ivys/ivy.xml
  [warn] ==== local-preloaded: tried
  [warn]   file:////Users/vshah/.sbt/preloaded/com/&lt;companyname&gt;/&lt;libraryname&gt;_2.11/2.3.0/&lt;libraryname&gt;_2.11-2.3.0.pom
  [warn] ==== &lt;libraryname&gt;: tried
  [warn]   http://artifactory.&lt;internal url&gt;.io:80/dsc-mvn/com/&lt;companyname&gt;/&lt;libraryname&gt;_2.11/2.3.0/&lt;libraryname&gt;_2.11-2.3.0.pom
  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
  [warn]  ::          UNRESOLVED DEPENDENCIES         ::
  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
  [warn]  :: com.&lt;companyname&gt;#&lt;libraryname&gt;_2.11;2.3.0: not found
  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
  [warn]
  </code></pre>
  
  <p>Invalid Path (as the project is trying to search above)- 
  <code>http://artifactory.&lt;internal url&gt;.io/dsc-mvn/com/&lt;companyname&gt;/&lt;libraryname&gt;_2.11/2.3.0/&lt;libraryname&gt;_2.11-2.3.0.pom</code> </p>
  
  <p>Valid path - 
  <code>http://artifactory.&lt;internal url&gt;.io/dsc-mvn/com/&lt;companyname&gt;/&lt;libraryname&gt;/2.3.0/&lt;libraryname&gt;_2.11-2.3.0.pom</code></p>
  
  <p>My question is how do I let SBT know that I am referencing a maven project at the above mentioned valid path?</p>