Where to find Maven repository for WSO2 Balana

658 Views Asked by At

Is there any public Maven repository of WSO2 Balana?

I'd like to use this dependency in my project 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>

in order to run this code

Balana balana = Balana.getInstance();
PDP pdp = new PDP(balana.getPdpConfig());
pdp.evaluate(xacmlRequest);
1

There are 1 best solutions below

2
Tunaki On BEST ANSWER

Yes, there are two actually, dependending on which version you depend on:

  • One for versions before and including 1.0.0-wso2v7 here.
  • One for versions after and including 1.0.0-wso2v8 here.

If you depend on Balana 1.0.1, you then need to add the second repository to your POM or settings.xml:

<repository>
  <id>wso2-nexus</id>
  <url>http://maven.wso2.org/nexus/content/repositories/releases</url>
</repository>

And then declare the dependency with:

<dependency>
  <groupId>org.wso2.balana</groupId>
  <artifactId>org.wso2.balana</artifactId>
  <version>1.0.1</version>
<dependency>