Created
April 28, 2014 09:27
-
-
Save andrask/11366649 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example.andrask</groupId> | |
<artifactId>p2-mirror</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<properties> | |
<tycho.version>0.20.0</tycho.version> | |
</properties> | |
<packaging>eclipse-repository</packaging> | |
<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> | |
<!-- source repositories to mirror from --> | |
<repository> | |
<url>http://download.eclipse.org/releases/kepler/</url> | |
<layout>p2</layout> | |
</repository> | |
<repository> | |
<url>http://download.eclipse.org/eclipse/updates/4.3</url> | |
</repository> | |
<repository> | |
<url>http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases</url> | |
</repository> | |
<repository> | |
<url>http://download.eclipse.org/technology/m2e/releases</url> | |
</repository> | |
<repository> | |
<url>http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-buildhelper/0.15.0/N/0.15.0.201207090124/</url> | |
</repository> | |
<repository> | |
<url>http://download.eclipse.org/technology/subversive/1.1/update-site/</url> | |
</repository> | |
<repository> | |
<url>http://community.polarion.com/projects/subversive/download/eclipse/3.0/update-site/</url> | |
</repository> | |
</source> | |
<!-- starting from here all configuration parameters are optional --> | |
<!-- they are only shown here with default values for documentation | |
purpose --> | |
<!-- List of IUs to mirror. If omitted, allIUs will be mirrored. --> | |
<!-- Omitted IU version element means latest version of the IU --> | |
<ius> | |
<!-- Xtend --> | |
<iu> | |
<id>org.eclipse.xtend.feature.group</id> | |
</iu> | |
<iu> | |
<id>org.eclipse.xtend.sdk.feature.group</id> | |
</iu> | |
<iu> | |
<id>org.eclipse.xtext.xbase.feature.group</id> | |
</iu> | |
<iu> | |
<id>org.eclipse.xtext.ui.feature.group</id> | |
</iu> | |
<iu> | |
<id>org.eclipse.xtext.sdk.feature.group</id> | |
</iu> | |
<iu> | |
<id>org.eclipse.xtext.runtime.feature.group</id> | |
</iu> | |
<!-- m2e --> | |
<iu> | |
<id>org.eclipse.m2e.feature.feature.group</id> | |
</iu> | |
<iu> | |
<id>org.eclipse.m2e.logback.feature.feature.group</id> | |
</iu> | |
<!-- m2e connectors --> | |
<iu> | |
<id>org.sonatype.m2e.buildhelper.feature.feature.group</id> | |
</iu> | |
<!-- Subversive --> | |
<iu> | |
<id>org.eclipse.team.svn.feature.group</id> | |
</iu> | |
<!-- Subversive connectors --> | |
<iu> | |
<id>org.polarion.eclipse.team.svn.connector.svnkit18.feature.group</id> | |
</iu> | |
</ius> | |
<!-- The destination directory to mirror to. --> | |
<destination>${project.build.directory}/repository</destination> | |
<!-- Whether only strict dependencies should be followed. --> | |
<!-- "strict" means perfect version match --> | |
<followStrictOnly>false</followStrictOnly> | |
<!-- Whether or not to follow optional requirements. --> | |
<includeOptional>true</includeOptional> | |
<!-- Whether or not to follow non-greedy requirements. --> | |
<includeNonGreedy>true</includeNonGreedy> | |
<!-- Filter properties. E.g. filter only one platform --> | |
<filter> | |
<osgi.os>linux</osgi.os> | |
<osgi.ws>gtk</osgi.ws> | |
<osgi.arch>x86_64</osgi.arch> | |
</filter> | |
<!-- Whether to filter the resulting set of IUs to only --> | |
<!-- include the latest version of each IU --> | |
<latestVersionOnly>true</latestVersionOnly> | |
<!-- don't mirror artifacts, only metadata --> | |
<mirrorMetadataOnly>false</mirrorMetadataOnly> | |
<!-- whether to compress the content.xml/artifacts.xml --> | |
<compress>true</compress> | |
<!-- whether to append to the target repository content --> | |
<append>true</append> | |
<!-- whether to mirror pack200 artifacts also. Available since tycho-extras | |
0.17.0 --> | |
<includePacked>true</includePacked> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.eclipse.tycho</groupId> | |
<artifactId>tycho-maven-plugin</artifactId> | |
<version>${tycho.version}</version> | |
<extensions>true</extensions> | |
</plugin> | |
<plugin> | |
<groupId>org.eclipse.tycho</groupId> | |
<artifactId>target-platform-configuration</artifactId> | |
<version>${tycho.version}</version> | |
<configuration> | |
<environments> | |
<environment> | |
<os>linux</os> | |
<ws>gtk</ws> | |
<arch>x86</arch> | |
</environment> | |
<environment> | |
<os>linux</os> | |
<ws>gtk</ws> | |
<arch>x86_64</arch> | |
</environment> | |
<environment> | |
<os>win32</os> | |
<ws>win32</ws> | |
<arch>x86</arch> | |
</environment> | |
<environment> | |
<os>win32</os> | |
<ws>win32</ws> | |
<arch>x86_64</arch> | |
</environment> | |
<environment> | |
<os>macosx</os> | |
<ws>cocoa</ws> | |
<arch>x86_64</arch> | |
</environment> | |
</environments> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment