Closed Raffaello closed 6 years ago
seems related to the missing JavaBeans activation framework on Travis CI.
@Raffaello that is weird. Anyway I can help?
@rtfpessoa Not sure, I guess it should be an explicit dependency on the sbt-codacy-coverage plugin if it is the case
@Raffaello that is really weird since we never installed anything in any machine except for JRE.
@rtfpessoa i think fafter jdk8 that javax
extension need to be added as a dependency because it is not by default included anymore in the VM.
i tested my build is working with jdk8, but not with jdk9 and 10, I mean the sbt codacyCoverage
step.
this is issue is related to changes in the JDK, please see: https://stackoverflow.com/questions/46493613/what-is-the-replacement-for-javax-activation-package-in-java-9
so it seems to be enough to add this dependency in this plugin, i guess, not sure if it has to be added in one of its dependencies.
https://mvnrepository.com/artifact/com.sun.activation/javax.activation/1.2.0
// https://mvnrepository.com/artifact/com.sun.activation/javax.activation
libraryDependencies += "com.sun.activation" % "javax.activation" % "1.2.0"
Howdy @Raffaello
We just published version "1.3.13", which includes that dependency. Could you please let us know if it now works for you?
@xplosunn i think you did not publish it: http://search.maven.org/#artifactdetails%7Ccom.codacy%7Csbt-codacy-coverage%7C1.3.12%7C
i have got this error
sbt.librarymanagement.ResolveException: unresolved dependency: com.codacy#sbt-codacy-coverage;1.3.13: not found
@Raffaello just checked sonatype and seems like the version was published but not released. Will try to do it again and see if it works.
@Raffaello 1.3.14
should be released now. Just confirmed and it appears here https://oss.sonatype.org/content/repositories/releases/com/codacy/sbt-codacy-coverage_2.12_1.0/
Let us know if it works.
@rtfpessoa that fixed the issue thanks.
Scala Version (2.10.x / etc)
2.12.6
Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)
trusty
JDK (Oracle 1.8.0_72, OpenJDK 1.8.x, Azul Zing)
oracle jdk 10
Expected Behavior
should work
Actual Behavior
Reproducible Test Case
have a look at this travis-ci: https://travis-ci.org/Raffaello/open-tetris/builds/404261573#L677