jcasbin / casbin-spring-boot-starter

Spring Boot 2.x & 3.x Starter for Casbin, see example at: https://github.com/jcasbin/casbin-spring-boot-example

Home Page:https://mvnrepository.com/artifact/org.casbin/casbin-spring-boot-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use semantic-release to automatically release new versions

hsluoyz opened this issue · comments

See how we did it for jCasbin: casbin/jcasbin#76

It will takes a little time, because this project is managed with gradle.

@shy1st @fangzhengjin why don't we use Maven like jCasbin?

@shy1st @fangzhengjin why don't we use Maven like jCasbin?

Maven is not as flexible and easy to use as Gradle, i haven't used Maven for a long time.

捕获
Next I think we should replace bintray to nexus when release new versions of casbin-spring-boot-starter.

捕获
Next I think we should replace bintray to nexus when release new versions of casbin-spring-boot-starter.

ok

@hsluoyz Please configure MAVEN_USERNAME and MAVEN_PASSWORD in encrypted secrets.

@hsluoyz Please configure MAVEN_USERNAME and MAVEN_PASSWORD in encrypted secrets.

Then we should move to Maven Central. @shy1st plz configure.

@fangzhengjin I have finished the configuration.
捕获

@shy1st plz release v0.1.0 to try it

@hsluoyz Maybe we still need to modify some configuration to move to Maven Central. I want to use maven to replace the gradle.

@fangzhengjin @shy1st I think here are two things:

  1. Maven Central is the package registry. Bintray will be down. So we will migrate to Maven Central.
  2. Maven is the package manager tool. Does we have to use Maven to upload to Maven Central? Or Gradle can also be used? Or can we support both?

@fangzhengjin thanks for explanation! Then I think we will use the Gradle + Maven Central combination.

@hsluoyz @fangzhengjin
I want to use maven for the reason that I had configured semantic-release of maven central.

@hsluoyz What do you think?

@fangzhengjin if you can setup semantic-release on Gradle finally, I'm OK with both. Or we can keep both Gradle and Maven POM files in the repo. What do you think?