Skip to main content
Jump to: navigation, search

Tycho/Release Notes/1.3

< Tycho‎ | Release Notes
Revision as of 10:38, 8 October 2018 by (Talk | contribs) (Extra artifact repository properties (like p2.statsURI or p2.mirrorsURL))

< Previous Version | Next Version >


Tycho 1.3.0-SNAPSHOT is currently in development. To try out the most recent snapshot build, simply add the following snippet to your (parent) pom.xml or settings.xml, and set the property for the Tycho version (e.g. tycho-version) to 1.3.0-SNAPSHOT.


SNAPSHOT site docs

Refer to the latest SNAPSHOT site docs for Tycho and Tycho Extras.

New and Noteworthy

Complete list of bug fixes and enhancements in 1.3.0-SNAPSHOT


bug 538729

Tycho 1.3.0 surefire plugin supports starting applications that use org.apache.felix.scr bundle in place of org.eclipse.equinox.ds (like Eclipse Platform 4.10 based target-platforms)

download.stats artifact metadata property

bug 539552

Support for download.stats property on artifacts metadata. In order to (partially) enable p2 download stats as documented in Equinox_p2_download_stats, you can now configure you tycho-p2-plugin:p2-metadata generateDownloadStats parameter to add the necessary property on the artifacts:


or alternatively, you can override the tycho.generateDownloadStatsProperty property either by CLI with mvn -Dtycho.generateDownloadStatsProperty=true ... or by adding <tycho.generateDownloadStatsProperty>true</tycho.generateDownloadStatsProperty> in the <properties> element of your pom.xml.

This results in this in artifacts.xml (and derived artifacts.jar and artifacts.xml.xz):

  <artifacts size='4'>
    <artifact classifier='osgi.bundle' id='bundle' version=''>
      <properties size='9'>
        <!-- ... -->
        <property name='download.stats' value='bundle/'/>
        <!-- ... -->
    <artifact classifier='osgi.bundle' id='bundle' version=''>
      <processing size='1'>
        <step id='org.eclipse.equinox.p2.processing.Pack200Unpacker' required='true'/>
      <properties size='12'>
        <!-- ... -->
        <property name='download.stats' value='bundle/'/>
        <!-- ... -->

Extra artifact repository properties (like p2.statsURI or p2.mirrorsURL)

bug 341744

The tycho-p2-repository-plugin:assemble-repository plugin now accepts a extraArtifactRepositoryProperties parameter to configure addition properties to add to the artifact repository. Typical examples of properties one would like to include that way are p2.mirrorsURL and p2.statsURI

<project xmlns="" xmlns:xsi=""
  <!-- .... -->

adds the properties to the artifact repository, that would then contain

<repository name="Example Repository" type="org.eclipse.equinox.p2.artifact.repository.simpleRepository" version="1">
  <properties size="5">
    <property name="publishPackFilesAsSiblings" value="true"/>
    <property name="p2.mirrorsURL" value="http://some.where.else"/>
    <property name="p2.statsURI" value="http://some.where"/>
    <property name="p2.timestamp" value="1538498332220"/>
    <property name="foo" value="bar"/>
  <!-- .... -->

Back to the top