1
votes

I'd like to proxy WSO2 packages via a Nexus. But I can't find the correct URL to proxy :

Both those URLs contains not only WSO2 packages, but also (quite) the entire maven central repository...

Consequently, if I add one of those URLs to proxy in my Nexus, I'll have a lot of duplicates (packages from central repository will be replicated in my central repository proxy AND in the WSO2 repository proxy).

Is there any URL containing only WSO2 packages?

Thanks

2

2 Answers

2
votes

Following repo helped me

<repositories>
    <repository>
        <id>wso2-maven2-repository</id>
        <name>WSO2 Maven2 Repository</name>
        <url>http://dist.wso2.org/maven2</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
        <releases>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
            <checksumPolicy>fail</checksumPolicy>
        </releases>
    </repository>
</repositories>
0
votes

Check http://maven.wso2.org/nexus/index.html#view-repositories, it will list all the repositories used at WSO2 (look for the Hosted ones). You should find the release one : http://maven.wso2.org/nexus/content/repositories/releases/. Tcho