-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Bugarea/proxyissues related to proxy repos and proxy networkissues related to proxy repos and proxy network
Milestone
Description
steps
- use sbt 0.13.7.
- create
build.sbt:
lazy val jwtCore = "com.atlassian.jwt" % "jwt-core" % "1.2.1"
lazy val root = (project in file(".")).
settings(
libraryDependencies += jwtCore,
resolvers += Resolver.typesafeRepo("releases")
)problem
root> compile
[info] Updating {file:/Users/eugene/work/quick-test/sbt-1820/}root...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar ...
[warn] [FAILED ] com.atlassian.jwt#jwt-core;1.2.1!jwt-core.jar: The HTTP response code for https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar did not indicate a success. See log for more detail. (69ms)
[warn] [FAILED ] com.atlassian.jwt#jwt-core;1.2.1!jwt-core.jar: The HTTP response code for https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar did not indicate a success. See log for more detail. (69ms)
[warn] ==== typesafe-releases: tried
[warn] https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar
[info] downloading https://repo1.maven.org/maven2/com/nimbusds/nimbus-jose-jwt/2.16/nimbus-jose-jwt-2.16.jar ...
[info] [SUCCESSFUL ] com.nimbusds#nimbus-jose-jwt;2.16!nimbus-jose-jwt.jar (275ms)
[info] downloading https://repo1.maven.org/maven2/net/minidev/json-smart/1.1.1/json-smart-1.1.1.jar ...
[info] [SUCCESSFUL ] net.minidev#json-smart;1.1.1!json-smart.jar (171ms)
[info] downloading https://repo1.maven.org/maven2/javax/mail/mail/1.4.7/mail-1.4.7.jar ...
[info] [SUCCESSFUL ] javax.mail#mail;1.4.7!mail.jar (465ms)
[info] downloading https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar ...
[info] [SUCCESSFUL ] org.bouncycastle#bcprov-jdk15on;1.47!bcprov-jdk15on.jar (615ms)
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.atlassian.jwt#jwt-core;1.2.1!jwt-core.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: download failed: com.atlassian.jwt#jwt-core;1.2.1!jwt-core.jar
[error] Total time: 8 s, completed Feb 23, 2015 4:14:59 PM
original report
Please see https://groups.google.com/forum/#!topic/sbt-dev/EQVZGcYtBp0
For a project I use the Atlassian jwt-core-1.2.1.jar library which is hosted on bintray.com. If I see it right then this library is mirrored into the typsafe repository, because the file is available under the following URL:
http://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar
Now, if I remove the dependency from my local ivy cache and try to update the dependencies for Silhouette, then I'm not able to resolve the lib with sbt. Instead I get the following error:
[info] downloading https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar ...
[warn] [FAILED ] com.atlassian.jwt#jwt-core;1.2.1!jwt-core.jar: The HTTP response code for https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar did not indicate a success. See log for more detail. (491ms)
[warn] [FAILED ] com.atlassian.jwt#jwt-core;1.2.1!jwt-core.jar: (0ms)
[warn] ==== local: tried
[warn] /home/akkie/.ivy2/local/com.atlassian.jwt/jwt-core/1.2.1/jars/jwt-core.jar
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar
[warn] ==== Typesafe Releases Repository: tried
[warn] https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar
[warn] ==== Sonatype Snapshots: tried
[warn] https://oss.sonatype.org/content/repositories/snapshots/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar
If I try to download the file with wget I get the following output:
$ wget https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar
--2015-01-05 21:06:54-- https://repo.typesafe.com/typesafe/releases/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar
Resolving repo.typesafe.com (repo.typesafe.com)... 54.165.44.236, 54.164.7.221, 54.210.245.163
Connecting to repo.typesafe.com (repo.typesafe.com)|54.165.44.236|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://jcenter.bintray.com/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar [following]
--2015-01-05 21:06:55-- http://jcenter.bintray.com/com/atlassian/jwt/jwt-core/1.2.1/jwt-core-1.2.1.jar
Resolving jcenter.bintray.com (jcenter.bintray.com)... 5.153.24.114
Connecting to jcenter.bintray.com (jcenter.bintray.com)|5.153.24.114|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40618 (40K) [application/java-archive]
Saving to: 'jwt-core-1.2.1.jar.1'
jwt-core-1.2.1.jar.1 100%[================================================================================>] 39.67K --.-KB/s in 0.04s
2015-01-05 21:06:56 (934 KB/s) - 'jwt-core-1.2.1.jar.1' saved [40618/40618]
I've tested this with 0.13.5 and 0.13.7. The only tool which works as expected is Typesafe Activator.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bugarea/proxyissues related to proxy repos and proxy networkissues related to proxy repos and proxy network