If only I knew better: Using pom.xml in SBT

I want sbt to get the dependencies from an existing pom.xml (Maven) file.
Reading through the sbt documentation it seems like sbt should actually do that automatically if an pom.xml is there. It doesn’t do it for me though (sbt 0.11.3).

Since I couldn’t find anything on the web and the IRC channel couldn’t help out either here’s my makeshift solution:

ivyXML := <dependencies>{xml.XML.load("pom.xml") \\ "dependencies" \\ "dependency" filter (dep => (dep \\ "groupId").text != "org.scala-lang") map (dep => <dependency org={dep \\ "groupId" text} name={dep \\ "artifactId" text} rev={dep \\ "version" text} />)}</dependencies>

Yes, an awfully long line added to my buid.sbt mapping the Maven xml to Ivy xml which is used by sbt.

If only I knew better.