scala: fix incorrect doc installation path and add 'src' as resource

Closes #28818.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>