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

Dependency conflict + wrong tag for dependency jcasbin

loukkyy opened this issue · comments

The following dependency creates a conflict for jcasbin:

implementation 'org.casbin:jdbc-adapter:2.5.0'

Also, it is not using a correct tagging ("LATEST")
image

Workaround
Exclude jcasbin dependency from and re-import it as follows:

<dependency>
	<groupId>org.casbin</groupId>
	<artifactId>casbin-spring-boot-starter</artifactId>
	<version>1.2.0</version>
	<exclusions>
		<exclusion>
			<artifactId>jcasbin</artifactId>
			<groupId>org.casbin</groupId>
		</exclusion>
	</exclusions>
</dependency>
<dependency>
	<groupId>org.casbin</groupId>
	<artifactId>jcasbin</artifactId>
	<version>1.40.0</version>
</dependency>

@loukkyy hi, can you make a PR to fix it?