Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Tycho/Additional Tools

< Tycho
Revision as of 17:25, 7 July 2011 by T-oberlies.posteo.de (Talk | contribs) (347923 documentation for the new mirror goal in the tycho-p2-extras-plugin)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Tycho project provides additional tools that may be useful when working with Tycho.

tycho-p2-extras-plugin

The mirror goal of the tycho-p2-extras-plugin copies all installable units (plus their corresponding artifacts) from one or more p2 repositories into the build directory. This goal is available since version 0.13.0.

Example usage:

<build>
    <plugins>
        <plugin>
            <groupId>org.eclipse.tycho.extras</groupId>
            <artifactId>tycho-p2-extras-plugin</artifactId>
            <version>${tycho-version}</version>
            <executions>
                <execution>
                    <phase>prepare-package</phase>
                    <goals>
                        <goal>mirror</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <source>
                    <repository>
                        <url>http:/example.org/p2-repository/</url>
                    </repository>
                    <repository>
                        <url>http:/example.org/p2-metadata-repository/</url>
                        <layout>p2-metadata</layout>
                    </repository>
                    <repository>
                        <url>http:/example.org/p2-artifact-repository/</url>
                        <layout>p2-artifacts</layout>
                    </repository>
                </source>
            </configuration>
        </plugin>
    </plugins>
</build>

The mirror goal has the following additional parameters:

  • destination
The target directory for the p2 repository with the mirrored content. The default is target/repository.

Back to the top