sbt / sbt/sbt-git

updateSbtClassifiers fails after adding sbt-git

Open
#128 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
355
Forks
104
Avg merge
1d 4h
Merged PRs (30d)
4

Description

Somehow the javax and com.sun dependency are still fetched, I get this error:

[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::              FAILED DOWNLOADS            ::
[warn] 	:: ^ see resolution messages for details  ^ ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: javax.jms#jms;1.1!jms.jar
[warn] 	:: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
[warn] 	:: com.sun.jmx#jmxri;1.2.1!jmxri.jar
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::

See dvic/sbt-git-update-sbt-classifiers-fails for a simple example of this issue (scala-seed project with SBT 0.13.15 and Scala 2.12.2).

Could this be because of transitive dependencies in plugins.sbt of sbt-git?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the updateSbtClassifiers failure in the linked dvic/sbt-git-update-sbt-classifiers-fails reproduction, using its plugins.sbt and the reported SBT 0.13.15/Scala 2.12.2 setup. Trace the sbt-git plugin dependencies and resolution messages; done means explaining or correcting why javax.jms and the com.sun artifacts are fetched and resolving the classifier update without those failed downloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, scala
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.