helloworld> inspect tree package-src
[info] compile:package-src = Task[java.io.File]
[info] +-compile:package-src::package-configuration = Task[sbt.Package$Configuration]
[info] | +-compile:package-src::mappings = Task[scala.collection.Seq[scala.Tuple2[java.io.File, java.lang.String]]]
[info] | | +-compile:unmanaged-sources = Task[scala.collection.Seq[java.io.File]]
[info] | | +-compile:unmanaged-source-directories = List(/Users/eed3si9n/work/helloworld/src/main/scala, /Users/eed3si9n/work/helloworld/src/main/java)
[info] | | +-*:base-directory = /Users/eed3si9n/work/helloworld
[info] | | +-compile:unmanaged-resource-directories = List(/Users/eed3si9n/work/helloworld/src/main/resources, /Users/eed3si9n/work/helloworld/foo)
[info] | | +-compile:unmanaged-resources = Task[scala.collection.Seq[java.io.File]]
[info] | +-compile:package-src::artifact-path = target/scala-2.9.1/helloworld_2.9.1-0.1-SNAPSHOT-sources.jar
[info] | | +-*:cross-target = target/scala-2.9.1
[info] | | +-*:scala-version = 2.9.1
[info] | | +-*/*:artifact-name = <function3>
[info] | | +-compile:package-src::artifact = Artifact(helloworld,src,jar,Some(sources),List(sources),None,Map())
[info] | | | +-*/*:package-src::artifact-classifier = Some(sources)
[info] | | | +-compile:configuration = compile
[info] | | +-*:project-id = production:helloworld:0.1-SNAPSHOT
[info] | | +-*/*:scala-binary-version = 2.9.1
[info] | +-compile:package-src::package-options = Task[scala.collection.Seq[sbt.PackageOption]]
[info] | +-*:name = helloworld
[info] | +-*/*:version = 0.1-SNAPSHOT
[info] | +-*:organization-name = production
[info] +-compile:package-src::cache-directory = target/scala-2.9.1/cache/default-b65acd/compile/for_package-src
[info] +-compile:package-src::streams = Task[sbt.std.TaskStreams[sbt.Init$ScopedKey[_ <: Any]]]
[info] +-*/*:streams-manager = Task[sbt.std.Streams[sbt.Init$ScopedKey[_ <: Any]]]
helloworld> inspect tree sources
[info] compile:sources = Task[scala.collection.Seq[java.io.File]]
[info] +-compile:unmanaged-sources = Task[scala.collection.Seq[java.io.File]]
[info] | +-compile:unmanaged-source-directories = List(/Users/eed3si9n/work/helloworld/src/main/scala, /Users/eed3si9n/work/helloworld/src/main/java)
[info] | | +-compile:scala-source = src/main/scala
[info] | | | +-compile:source-directory = src/main
[info] | | | +-*:source-directory = src
[info] | | | | +-*:base-directory = /Users/eed3si9n/work/helloworld
[info] | | | | +-*:this-project = Project(id: default-b65acd, base: /Users/eed3si9n/work/helloworld, aggregate: List(), dependencies: List(), delegates: List(), configurations: List(compile, runtime, test, provided, optional))
[info] | | | +-compile:configuration = compile
[info] | | +-compile:java-source = src/main/java
[info] | | +-compile:source-directory = src/main
[info] | | +-*:source-directory = src
[info] | | | +-*:base-directory = /Users/eed3si9n/work/helloworld
[info] | | | +-*:this-project = Project(id: default-b65acd, base: /Users/eed3si9n/work/helloworld, aggregate: List(), dependencies: List(), delegates: List(), configurations: List(compile, runtime, test, provided, optional))
[info] | | +-compile:configuration = compile
[info] | +-compile:unmanaged-sources::include-filter = sbt.SimpleFilter@23020bf9
[info] | +-*:base-directory = /Users/eed3si9n/work/helloworld
[info] | +-compile:unmanaged-sources::exclude-filter = sbt.SimpleFileFilter@5b601a63
[info] | +-*/*:sources-in-base = true
[info] +-compile:managed-sources = Task[scala.collection.Seq[java.io.File]]
[info] +-compile:source-generators = List(Task((task-definition-key: ScopedKey(Scope(Select(ProjectRef(file:/Users/eed3si9n/work/helloworld/,default-b65acd)),Global,Global,Global),buildinfo))), Task((task-definition-key: ScopedKe..
[info] +-*:buildinfo = Task[scala.collection.Seq[java.io.File]]
[info] | +-*:this-project-ref = ProjectRef(file:/Users/eed3si9n/work/helloworld/,default-b65acd)
[info] | +-*:buildinfo-keys = List(Setting(sbt.SettingKey$$anon$4@7dd26a3e), Setting(sbt.SettingKey$$anon$4@13d4cfb), Setting(sbt.SettingKey$$anon$4@5f88f35f), Setting(sbt.SettingKey$$anon$4@182212f9), Setting(sbt.SettingKey$$a..
[info] | +-*:buildinfo-object = BuildInfo
[info] | +-compile:source-managed = target/scala-2.9.1/src_managed/main
[info] | | +-*:source-managed = target/scala-2.9.1/src_managed
[info] | | | +-*:cross-target = target/scala-2.9.1
[info] | | | +-*:target = target
[info] | | | | +-*:base-directory = /Users/eed3si9n/work/helloworld
[info] | | | | +-*:this-project = Project(id: default-b65acd, base: /Users/eed3si9n/work/helloworld, aggregate: List(), dependencies: List(), delegates: List(), configurations: List(compile, runtime, test, provided, optiona..
[info] | | | +-*/*:scala-binary-version = 2.9.1
[info] | | | +-*/*:sbt-plugin = false
[info] | | | +-*/*:cross-paths = true
[info] | | | +-*/*:sbt-binary-version = 0.12
[info] | | +-compile:configuration = compile
[info] | +-*/*:state = Task[sbt.State]
[info] | +-*:buildinfo-package = buildinfo
[info] +-*:scalashim = Task[scala.collection.Seq[java.io.File]]
[info] +-compile:source-managed = target/scala-2.9.1/src_managed/main
[info] | +-*:source-managed = target/scala-2.9.1/src_managed
[info] | | +-*:cross-target = target/scala-2.9.1
[info] | | +-*:target = target
[info] | | | +-*:base-directory = /Users/eed3si9n/work/helloworld
[info] | | | +-*:this-project = Project(id: default-b65acd, base: /Users/eed3si9n/work/helloworld, aggregate: List(), dependencies: List(), delegates: List(), configurations: List(compile, runtime, test, provided, optiona..
[info] | | +-*/*:scala-binary-version = 2.9.1
[info] | | +-*/*:sbt-plugin = false
[info] | | +-*/*:cross-paths = true
[info] | | +-*/*:sbt-binary-version = 0.12
[info] | +-compile:configuration = compile
[info] +-*:scala-version = 2.9.1
[info] +-*:scalashim-package = scalashim
package-src is missing the generated code by plugins like sbt-buildinfo, but also code from java-source.