lucidsoftware / xtract

A library to make it easy to deserialize XML to user types in scala
Apache License 2.0
60 stars 20 forks source link

Xtract 2.0.0 is not published for Scala 2.11 #15

Closed alexflav23 closed 5 years ago

alexflav23 commented 5 years ago

While there is a release artefact for 2.0.0_2.11 under the Git tag for the 2.0.0 release, it's not actually published to Central.

I've not seen an obvious crossScalaVersion definition in build.sbt, so perhaps this is no longer supported?

Getting some problems using 1.3.1 with Scala 2.11.12, and I was hoping an upgrade would fix things.

Error: could not find implicit value for parameter semigroupal: cats.Functor[com.lucidchart.xtract.XmlReader]

Error: could not find implicit value for parameter functor: cats.Semigroupal[com.lucidchart.xtract.XmlReader]

I'm relying on the following top level imports:

import com.lucidchart.open.xtract.{ XmlReader, __ }
import com.lucidchart.open.xtract.XmlReader._
import cats.syntax.all._
tmccombs commented 5 years ago

hmm, that's odd, I'll look into it.

tmccombs commented 5 years ago

I rebuilt it for 2.11 and tried publishing to sonatype. Hopefully it should show up soon.

tmccombs commented 5 years ago

I apparently don't know how to use sonatype. I thought I went through the flow to release the 2.0.0 version, but that repository seems to have just disappeared.

alexflav23 commented 5 years ago

@tmccombs I think you just need to go through the sonatype saga of promoting to Central? Not sure how you usually publish tbh.

tmccombs commented 5 years ago

well, I couldn't figure out how to publish as 2.0.0, but I was able to publish as 2.0.1