foo4u / spring-mvc-cache-control

Spring MVC Cache Control is an extension to Spring MVC that aims to simplify implementing HTTP/1.1 Cache-Control headers for annotated MVC controllers.
Apache License 2.0
76 stars 27 forks source link

Support Maven Central distribution #15

Closed foo4u closed 9 years ago

foo4u commented 10 years ago

Get artifacts distributed via Maven Central.

fdw commented 9 years ago

Any updates on this? This project would be really helpful for me.

foo4u commented 9 years ago

Sorry for the delay. I was able to get an account on Maven Central. However, signing the POM with Gradle's maven-publish is a real pain. Spent a few hours on it and got frustrated. I'll try to revisit next week.

fdw commented 9 years ago

Cool, thank you!

jitpack commented 9 years ago

One simple alternative is using https://jitpack.io

foo4u commented 9 years ago

Sorry for the delay. Still working through signing issues. Looking into two options:

  1. Switching to JCenter (signed up, waiting for approval)
  2. Reverting to the legacy maven plugin

@jitpack looks like a cool service but the website isn't clear on what "sends jars back to you means." Does the repository owner use your service or does the end user just use jitpack as a source repo?

jitpack commented 9 years ago

@foo4u The end user adds https://jitpack.io as a maven repository to their gradle build file. When they build their project gradle will ask jitpack.io for the jar and jitpack will build it. That is if it hasn't been built before. For this project the settings would be: https://jitpack.io/#foo4u/spring-mvc-cache-control/1.0.0 .

fdw commented 9 years ago

Unfortunately, this is not an option for me: I'm working for a larger company, and I cannot modify the list of repositories we use. Therefore, it would be easiest if you could add it to Maven Central. JCenter may also be possible, but Jitpack is definitely out.

foo4u commented 9 years ago

We're finally in Maven Central. Will close after I update the readme!

fdw commented 9 years ago

This is great news! Thank you so much!

foo4u commented 9 years ago

Closing since complete for 1.1.0. However, 1.1.0-RELEASE on Central is compiled with Java 8. Will do a patch release compiled with Java 1.6.