HalBuilder / halbuilder-core

HalBuilder Core
38 stars 26 forks source link

Please update maven #30

Closed remco138 closed 8 years ago

remco138 commented 8 years ago

Could you please push the latest version to maven? I ran into a bug at DefaultRepresentationFactory.lookupRenderer(String contentType). The mediatype does not get parsed correctly, after properly removing the "application/" prefix it tries to match the subtypes "hal+json;charset=utf-8" with "hal+json", which of course aren't equal. The function seems to have gotten a major overhaul and should work, but there are only old versions on maven. I'll try to get the ";charset=utf-8" postfix removed on my side, but I'd really prefer to just use the latest Halbuilder.

talios commented 8 years ago

The latest released version is on maven. The develop branch is an ongoing JDK8/javaslang based reworking which isn't ready for release.

I'll look at creating a support branch and backport any fixes for content type.

remco138 commented 8 years ago

Thanks man! Would really appreciate it.

talios commented 8 years ago

I've started the support/4.x and am in the process of releasing 4.0.4 of halbuilder-core.

talios commented 8 years ago
<dependency>
  <groupId>com.theoryinpractise</groupId>
  <artifactId>halbuilder-core</artifactId>
  <version>4.0.4</version>
</dependency>

Should be in central soon.