[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] "artifact.reference" in metadata as a result of mirror call

hi,
I'm mirroring some repository using ant mirror task. But recently, instead of a local copy, I started getting "artifact.reference" entries in my mirror metadata. Like this:

    <artifact classifier='osgi.bundle' id='org.eclipse.team.svn.help' version='0.7.9.I20101203-1700'>
      <properties size='1'>
        <property name='download.size' value='2974696'/>
      </properties>
      <repositoryProperties size='1'>
        <property name='artifact.reference' value='http://download.eclipse.org/technology/subversive/0.7/update-site/plugins/org.eclipse.team.svn.help_0.7.9.I20101203-1700.jar'/>
      </repositoryProperties>
    </artifact>

My local mirror is required to speedup the builds, but due to the references in metadata, artifacts are downloaded from orig. repository.

My ant task call looks like this:

<p2.mirror>

<repository location="${localRepo}" append="true" />

<source>

<repository location="http://download.eclipse.org/technology/subversive/0.7/update-site/" />

<repository location="http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/" />

</source>

<iu id="org.eclipse.team.svn.feature.group" version=""/>

<iu id="org.eclipse.team.svn.mylyn.feature.group" version=""/>

<iu id="org.polarion.eclipse.team.svn.connector.feature.group" version=""/>

<iu id="org.polarion.eclipse.team.svn.connector.svnkit15.feature.group" version=""/>

<iu id="org.polarion.eclipse.team.svn.connector.svnkit16.feature.group" version=""/>

</p2.mirror>


This happens only for the SVN repo (http://download.eclipse.org/technology/subversive/0.7/update-site). Using the same process several other repos are being mirrored, but with no such "artifact.reference" things.


Could someone explain where does this "artifact.reference" come from and how to get rid of it?



Jacek