...
2. Add the following dependency to your POM file. Make sure you update the current version of carbon governance (e.g. 4.56.13).
Info |
---|
Project Object Model (POM) is an XML representation of a Maven project held in a file named pom.xml. You should find POM file by the name pom.xml inside GREG_HOME< |
Code Block | ||
---|---|---|
| ||
<dependency> <groupId>org.wso2.carbon.governance</groupId> <artifactId>org.wso2.carbon.governance.api</artifactId> <version>{current version of the carbon.governance}</version> </dependency> |
...
A successful run of Apache Maven will generate a report similar to the following:
5. Copy the GREG_HOMEthe <G-REG_HOME>/
samples/handler/src/target/
org.wso2.carbon.registry.samples.handler-45.52.0.jar
into GREG_HOME file into the <G-REG_HOME>/repository/components/dropins/
directory.
6. Edit the registry.xml
file which is in GREG_HOME/repository/conf
folder and add the following XML snippet.
...