是否有任何WSO2 Balana的公共Maven存储库?
我想在我的项目pom中使用这种依赖
<dependency>
<groupId>org.wso2.balana</groupId>
<artifactId>balana</artifactId>
<version>1.0.1</version>
<dependency>
<dependency>
<groupId>org.wso2.balana</groupId>
<artifactId>balana-core</artifactId>
<version>1.0.1</version>
<dependency>
为了运行此代码
Balana balana = Balana.getInstance();
PDP pdp = new PDP(balana.getPdpConfig());
pdp.evaluate(xacmlRequest);
答案 0 :(得分:4)
是的,实际上有两个,取决于您依赖的版本:
如果您依赖Balana 1.0.1,则需要将第二个存储库添加到your POM or settings.xml
:
<repository>
<id>wso2-nexus</id>
<url>http://maven.wso2.org/nexus/content/repositories/releases</url>
</repository>
然后用:
声明依赖项<dependency>
<groupId>org.wso2.balana</groupId>
<artifactId>org.wso2.balana</artifactId>
<version>1.0.1</version>
<dependency>