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

Publish ZIO Http under dev.zio #1473

Closed
ioleo opened this issue Sep 14, 2022 · 12 comments · Fixed by #1504
Closed

Publish ZIO Http under dev.zio #1473

ioleo opened this issue Sep 14, 2022 · 12 comments · Fixed by #1504
Labels
bug Something isn't working

Comments

@ioleo
Copy link
Member

ioleo commented Sep 14, 2022

When trying to install according to the docs:

libraryDependencies += "dev.zio" %% "zio-http" % "2.0.0-RC11"

I'm getting:

sbt.librarymanagement.ResolveException: Error downloading dev.zio:zio-http_3:2.0.0-RC11

also tried

libraryDependencies += "dev.zio" %% "zio-http" % "2.0.0-RC11" cross CrossVersion.for3Use2_13

I'm getting:

sbt.librarymanagement.ResolveException: Error downloading dev.zio:zio-http_2.13:2.0.0-RC11

The only artifact that resolves is "io.d11" %% "zhttp" % "2.0.0-RC11", however that seems to contain a completely diffrent (outdated) version - eg. the package prefix is zhttp instead of zio.http, Server is in service subpackage.

How do I install and use the latest version?

@ioleo ioleo added the bug Something isn't working label Sep 14, 2022
@vigoo
Copy link
Contributor

vigoo commented Sep 14, 2022

Version in zio org not published yet

@vigoo vigoo closed this as completed Sep 14, 2022
@tusharmath
Copy link
Collaborator

tusharmath commented Sep 15, 2022

Let's keep the issue open, until it's resolved @vigoo.
Pinning it so that everyone is aware.

@tusharmath tusharmath reopened this Sep 15, 2022
@tusharmath tusharmath pinned this issue Sep 15, 2022
@tusharmath tusharmath changed the title Artifact not found Publish ZIO Http under dev.zio Sep 15, 2022
@ioleo
Copy link
Member Author

ioleo commented Sep 16, 2022

FYI: I got it working by using d11 and 2.0.0-RC10 (RC11 conflicted with tapir).

@changzhiwin
Copy link
Contributor

This is a serious problem. I can't get "dev.zio" %% "zio-http" % "2.0.0-RC11" dependence, and d11's document site was removed.

@changzhiwin
Copy link
Contributor

It's not work for me also. Anyone can tell me how to fix the dependence setting?

val ZIOVersion = "2.0.2"
val ZIOHttpVersion = "2.0.0-RC11"
// val ZIOHttpVersion = "2.0.0-RC11+49-fc62691f-SNAPSHOT"

resolvers ++= Seq(
  "Secured Central Repository" at "https://repo1.maven.org/maven2"
  //"Sonatype snapshots" at "https://oss.sonatype.org/service/local/repositories/snapshots/content/"
)

libraryDependencies ++= Seq(
  "dev.zio" %% "zio" % ZIOVersion, 
  "dev.zio" %% "zio-http" % ZIOHttpVersion
)

@vigoo vigoo reopened this Sep 19, 2022
@vigoo
Copy link
Contributor

vigoo commented Sep 19, 2022

Note that there were still no new release since it moved into the ZIO organization, this ticket was just closed because the publishing settings were fixed in the repo.

@vigoo
Copy link
Contributor

vigoo commented Sep 19, 2022

Reopened to avoid confusion

@changzhiwin
Copy link
Contributor

changzhiwin commented Sep 19, 2022

Reopened to avoid confusion

Thanks, it's really confuse me. Though I fix this locally by using publishLocal command(both zio-http and zio-http-logging).

@ploddi
Copy link

ploddi commented Oct 23, 2022

zio-http snapshots can be found here -- https://oss.sonatype.org/#nexus-search;quick~zio-http_2.13
but zio-http-logging snapshots are missing still and it will leads to sbt errors.

Can zio-http-logging snapshots be also published, so we at least can use snapshot versions until official release?

@changzhiwin
Copy link
Contributor

@ploddi Wait a moment, and using publishLocal for current development.

@vigoo
Copy link
Contributor

vigoo commented Dec 7, 2022

I think this is solved now

@vigoo vigoo closed this as completed Dec 7, 2022
@martintamb12
Copy link

What do you mean when saying using publishLocal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants