Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies cause failure to compile (or start sbt) #284

Open
jwgcooke opened this issue Aug 19, 2022 · 8 comments
Open

dependencies cause failure to compile (or start sbt) #284

jwgcooke opened this issue Aug 19, 2022 · 8 comments
Assignees
Labels

Comments

@jwgcooke
Copy link

Describe the bug
External doc dependencies are out of date and no longer appear to be supported. Trying to compile the project results in a dependency issue :

[error] 	* org.scala-lang.modules:scala-xml_2.12:2.1.0 (early-semver) is selected over {1.0.6}
[error] 	    +- org.scoverage:scalac-scoverage-reporter_2.12:2.0.1 (depends on 2.1.0)
[error] 	    +- ws.unfiltered:unfiltered_2.12:0.9.1                (depends on 1.0.6)
[error] 	    +- org.foundweekends:knockoff_2.12:0.8.6              (depends on 1.0.6)

This is in due to the plugin sbt-paradox-material-theme being very out of date and apparently no longer maintained

To Reproduce
Download source into a clean clone, execute sbt, fails to start sbt

Expected behavior
sbt should start and code should be able to be compiled

Actual results
sbt fails to start with dependency exceptions

Versions:
Scala 2.13.8
Json Schema version : not relevant

Additional context
Add any other context about the problem here.
using sbt 1.7.1

@andyglow
Copy link
Owner

this is a nice catch. thank you

@jwgcooke
Copy link
Author

@andyglow - is the doc stuff around paradox being used at all? All of the dependency issues are in there. Is there any reason to not just pull it all out? I can create a PR for it if that is ok with you.

@andyglow
Copy link
Owner

hello, the paradox docs are supposed to replace readme at some point..
it's just a question of free time to get them updated and published.. unfortunately last year I had no time for this
if you have bandwidth, please go ahead
any help appreciated

if i remember well somehow I could not make the documentation part of the build which was a goal
I wanted to use sbt-paradox with material-theme and also with mdoc for documented snippets to be verified and evaluated
there is a documentation branch that should host all the corresponding changes

@jwgcooke
Copy link
Author

the material theme does not appear to be actively maintained. The library versions that back it are all out of date and there have been no commits in 4 years. I will look at what you have own the branch and see if I can make sense of it.

@jwgcooke
Copy link
Author

Not sure which is the "documentation" branch?
image

@andyglow
Copy link
Owner

ohh.. I'm sorry. Yes, you're right.. I just never pushed it before
but you can find it there now.. it's halfway done though, so expect not everything is working there
thanks so much for looking into this

for the material theme.. you know better alternatives?
or otherwise, may be it's the case when if it works it works? :)

@jwgcooke
Copy link
Author

Looked at the material theme issues. There are 3-4 PRs with updated libraries mostly around Circe and the fact that it is breaking things. Jonas ( the owner) does not appear to be responding to any of it. I created a new one but it might be better to fork it, rename it, credit Jonas and make use of it that way? This is only really an issue if you really feel the need for the material theming of course. All of the doc libraries are in weird states. Even Paradox does not has a Scala 2.13* release. There is a short term fix to comment out the doc libraries which will allow for a build to pass (and the PR from justcoon to build correctly). I would start with that and tackle the documentation as a separate issue. Does this work for you?

@andyglow
Copy link
Owner

Hi, Gordon @jwgcooke
Sorry for looong reply. Really busy at work..
Answering your question - yes, please go ahead and comment it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants