Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] problem with mirroring of composite P2 repository

Maven Clients in our environment can only access remote repositories throgh mirrors.

A P2 repository beeing mirrored contains the following compositeArtifacts.xml:

<?xml version='1.0' encoding='UTF-8'?>
<?compositeArtifactRepository version='1.0.0'?>
<repository name='Xtext All In One (Releases)'
    type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
    <properties size='1'>
        <property name='p2.timestamp' value='1311823210'/>
    </properties>
    <children size='3'>
        <child location='http://download.eclipse.org/modeling/emft/mwe/updates/releases'/>
        <child location='http://download.eclipse.org/modeling/m2t/xpand/updates/releases'/>
        <child location='http://download.eclipse.org/modeling/tmf/xtext/updates/releases'/>
    </children>
</repository>


Maven Client using this mirror always fail with
[ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'artifactory.p2-eclipse' from location http://artifactory:8080/p2-eclipse/modeling/tmf/xtext/updates/composite/releases/: Unable to read repository at http://artifactory-ac.soptim.net:8080/p2-eclipse/modeling/tmf/xtext/updates/composite/releases. Unable to connect to repository http://download.eclipse.org/modeling/emft/mwe/updates/releases/content.xml: Connection to http://download.eclipse.org refused: Connection timed out: connect -> [Help 1]
....
Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://download.eclipse.org/modeling/emft/mwe/updates/releases/content.xml
....


How is it possible to configure Maven Client and / or Artifactory Server to connect to children of mirrored composite P2 repository not directly but also using mirrors?

Back to the top