`withSources` only works for library deps
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 712
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Description
When I eclipse generate my projects none of the plugins in project/plugins.sbt have corresponding <classpathentry sourcepath="..."> entries in the project's generated .classpath file. For library dependencies, no problem, sourcepath entries are generated correctly.
Running coursier the target plugins and their sources are downloaded so the sources are available on the file system.
// example /project/plugins.sbt
"com.typesafe.play" % "sbt-plugin" % "2.6.0-M4" withSources
sbt 0.13.15
scala 2.12.2
sbteclipse 5.1.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example with sbt 0.13.15, Scala 2.12.2, and sbteclipse 5.1.0, using the plugin declaration in project/plugins.sbt. Compare the generated .classpath entries for library and plugin dependencies, and verify that the downloaded plugin sources receive sourcepath entries. Done means plugin source entries appear alongside the existing library entries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100