You can write your own deploy task. Use this code (http://stackoverflow.com/a/9519397/1809978)
to customize deploy folder and choose the only jars you need (by marking
them using attribute like "org.package" % "artifact" % "1.0" % "external").
And repeat same for internal folder.
P.S. About referenced code: it's better to use sbt.IO for working with