Mario Scalas
Mario Scalas

Reputation: 35

WSO2 IS Samples uses artifacts not from maven repositories

I'm trying to import the a OAuth2 sample from the a WSO2 IS doc and found that a lot of dependencies are from the WEB-INF/lib and with versions that seems to be mangled by the WSO2 people. For example, the pom.xml contains dependency declarations like:

        <dependency>
        <groupId>org.apache.axis2.wso2</groupId>
        <artifactId>axis2</artifactId>
        <version>1.6.0.wso2v2</version>
         <scope>system</scope>
        <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/axis2-1.6.0.wso2v2.jar</systemPath> 
    </dependency>
    <dependency>
         <groupId>com.google.gdata.wso2</groupId>
         <artifactId>gdata-core</artifactId>
        <version>1.0.0.wso2v1</version>
         <scope>system</scope>
        <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/gdata-core-1.0.0.wso2v1.jar</systemPath> 
    </dependency>

And so on. I don't find any motivation for that: why not using public libraries? Are they patched? And how?

Upvotes: 0

Views: 84

Answers (1)

user8658912
user8658912

Reputation: 1592

Yes, they made some adjustments to some libraries in order to adapt them to the wso2 stack and its particular features and requirements. You can just see it as the same library, with a few refinements to work better in wso2 related projects.

see also Why custom Axis2 version in WSO2?

Upvotes: 1

Related Questions