jboss dependencies sbt

jboss interceptor api 1.1 no se encuentra cuando se agrega como dependencia sbt



dependencies (4)

Estoy tratando de configurar jboss-interceptor-api-1.1 como una dependencia a través de sbt, pero no se puede encontrar. He buscado en Maven Repository y esta versión está allí, ¿alguien puede ayudarme?

En realidad, estoy tratando de usar sbt-assembly. Eliminar la dependencia del complemento y agregar la dependencia a libraryDependenies aún muestra ese error.

Stack trace:

[info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ... [info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ... [warn] problem while downloading module descriptor: https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom: invalid sha1: expected=453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021 computed=56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b (122ms) [warn] module not found: org.jboss.interceptor#jboss-interceptor-api;1.1 [warn] ==== typesafe-ivy-releases: tried [warn] https://repo.typesafe.com/typesafe/ivy-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== sbt-plugin-releases: tried [warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== local: tried [warn] /Users/vicaba/.ivy2/local/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom [warn] ==== activator-launcher-local: tried [warn] /Users/vicaba/.activator/repository/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== activator-local: tried [warn] /Applications/activator-dist-1.3.12/repository/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== typesafe-releases: tried [warn] http://repo.typesafe.com/typesafe/releases/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom [warn] ==== typesafe-ivy-releasez: tried [warn] http://repo.typesafe.com/typesafe/ivy-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [info] Resolving javax.annotation#jsr250-api;1.0 ... [info] Resolving javax.inject#javax.inject;1 ... [info] Resolving org.eclipse.sisu#org.eclipse.sisu.inject;0.3.0 ... [info] Resolving org.codehaus.plexus#plexus-component-annotations;1.5.5 ... [info] Resolving org.codehaus.plexus#plexus-classworlds;2.5.2 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: org.jboss.interceptor#jboss-interceptor-api;1.1: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [info] Resolving com.typesafe.scala-logging#scala-logging_2.11;3.4.0 ... [info] Resolving org.scala-lang#scala-library;2.11.8 ... [info] Resolving org.slf4j#slf4j-api;1.7.21 ... [info] Resolving ch.qos.logback#logback-core;1.1.7 ... [info] Resolving ch.qos.logback#logback-classic;1.1.7 ... [info] Resolving org.scala-lang#scala-reflect;2.11.8 ... [info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.4 ... [info] Resolving org.scala-lang#scala-compiler;2.11.8 ... [info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.4 ... [info] Resolving jline#jline;2.12.1 ... [trace] Stack trace suppressed: run ''last *:updateSbtClassifiers'' for the full output. [error] (*:updateSbtClassifiers) sbt.ResolveException: unresolved dependency: org.jboss.interceptor#jboss-interceptor-api;1.1: not found [error] Total time: 5 s, completed Feb 1, 2017 9:51:26 AM


Hoy encontré los mismos problemas y el complemento que utilicé es sbt-native-packager . También funcionó cuando desactivo la opción.

Y luego voy al sitio sbt github y actualizo mi versión de sbt plugin de 1.0.0-RC1 a 1.2.0-M8 sin desactivar esa opción, también trabajé. El complemento que utilicé es

addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.0-M8")

Tal vez pueda ir a https://github.com/sbt para buscar la última versión.


LCartwright tiene razón en que esto se debe al archivo hash SHA-1 que difiere del hash del POM en maven central.

Para evitar esto, puede agregar el repositorio de JBoss maven, donde coincide el hash , a sus resolvedores en la configuración sbt global ~ / .sbt / 0.13 / global.sbt

resolvers += "JBoss" at "https://repository.jboss.org/"


Parece que el culpable es esta línea

[warn] problem while downloading module descriptor: https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom: invalid sha1: expected=453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021 computed=56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b (108ms)

reportando un SHA-1 incorrecto para el archivo pom.

El SHA-1 para el pom es 56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b pero el archivo pom.sha1 acompaña es 453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021

Como se sugirió anteriormente, desmarque "Descargar fuentes para SBT y complementos" resolverá su problema por el momento. No estoy seguro de a quién contactar para actualizar el pom.sha1


Tengo el mismo problema en IntelliJ. Al abrir un proyecto, falla en jboss-interceptor-api. Esto es parte del registro:

[info] Resolving org.apache.maven#maven-artifact;3.2.2 ... [info] Resolving org.apache.maven#maven-plugin-api;3.2.2 ... [info] Resolving org.eclipse.sisu#org.eclipse.sisu.plexus;0.0.0.M5 ... [info] Resolving javax.enterprise#cdi-api;1.0 ... [info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ... [info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ... [warn] problem while downloading module descriptor: https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom: invalid sha1: expected=453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021 computed=56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b (108ms) [warn] module not found: org.jboss.interceptor#jboss-interceptor-api;1.1 [warn] ==== typesafe-ivy-releases: tried [warn] https://repo.typesafe.com/typesafe/ivy-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== sbt-plugin-releases: tried [warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== local: tried [warn] /Users/jessedobbelaere/.ivy2/local/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom [warn] ==== Typesafe repository: tried [warn] http://repo.typesafe.com/typesafe/releases/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom [warn] ==== bintray-kamon-io-sbt-plugins: tried [warn] https://dl.bintray.com/kamon-io/sbt-plugins/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml

Me di cuenta de que al desmarcar "Descargar fuentes para SBT y complementos" en IntelliJ, todo funciona perfectamente bien