mavensoapwso2stubswso2-identity-server

Maven repository for WSO2-IS service stubs?


In what Maven repository can I find the various (SOAP) service stubs that ship with WSO2 Identity Server 5.1.0?

The stubs themselves ship with WSO2 Identity Server, in the directory /repository/components/plugins/. The OAuth stubs for example are provided in /repository/components/plugins/org.wso2.carbon.identity.oauth.stub_5.0.7.jar

The jar file contains a pom file, which identifies the library with Maven coordinates. For the example above, these coordinates are

<groupId>org.wso2.carbon.identity</groupId>
<artifactId>carbon-service-stubs</artifactId>
<version>5.0.7</version>

I'd love to use the Maven artifacts from a public repository, but so far, I've only found very outdated artifacts.


Solution

  • Those are available publicly in wso2 maven repo. for e.g if you want org.wso2.carbon.identity.entitlement.stub you can get it from http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/identity/org.wso2.carbon.identity.entitlement.stub/5.0.7/

    You can find all stubs here http://maven.wso2.org/nexus/content/repositories/releases