diff options
-rw-r--r-- | releng/org.eclipse.emf.parsley.repository/pom.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/releng/org.eclipse.emf.parsley.repository/pom.xml b/releng/org.eclipse.emf.parsley.repository/pom.xml index 49b9c91e7..02bff1abc 100644 --- a/releng/org.eclipse.emf.parsley.repository/pom.xml +++ b/releng/org.eclipse.emf.parsley.repository/pom.xml @@ -13,6 +13,14 @@ <artifactId>org.eclipse.emf.parsley.repository</artifactId> <packaging>eclipse-repository</packaging> + <properties> + <p2.mirrorsPrefix>/emf-parsley/updates/</p2.mirrorsPrefix> + <p2.versionMajorMinor>1.0</p2.versionMajorMinor> + <p2.statsURL>http://download.eclipse.org/stats</p2.statsURL> + <p2.mirrorsURL>http://www.eclipse.org/downloads/download.php?format=xml&file=${p2.mirrorsPrefix}/${p2.versionMajorMinor}/${qualifiedVersion}/</p2.mirrorsURL> + <p2.statsTrackedArtifacts>org.eclipse.emf.parsley.sdk,org.eclipse.emf.parsley.feature,org.eclipse.emf.parsley.dsl.feature,org.eclipse.emf.parsley.cdo.feature,org.eclipse.emf.examples.feature,org.eclipse.emf.web.feature,org.eclipse.emf.junit4.feature</p2.statsTrackedArtifacts> + </properties> + <build> <plugins> <plugin> @@ -24,6 +32,40 @@ </configuration> </plugin> <plugin> + <groupId>org.eclipse.tycho.extras</groupId> + <artifactId>tycho-eclipserun-plugin</artifactId> + <version>${tycho-version}</version> + <executions> + <execution> + <id>add-repo-properties</id> + <goals> + <goal>eclipse-run</goal> + </goals> + <phase>package</phase> + <configuration> + <appArgLine>-application org.eclipse.wtp.releng.tools.addRepoProperties</appArgLine> + <argLine><![CDATA[-DartifactRepoDirectory=${project.build.directory}/repository -Dp2MirrorsURL=${p2.mirrorsURL} -Dp2StatsURI=${p2.statsURL} -DstatsTrackedArtifacts=${p2.statsTrackedArtifacts} -DstatsArtifactsSuffix=-${project.version}]]></argLine> + <dependencies> + <dependency> + <artifactId>org.eclipse.wtp.releng.tools.feature</artifactId> + <type>eclipse-feature</type> + </dependency> + </dependencies> + <repositories> + <repository> + <url>http://download.eclipse.org/webtools/releng/repository</url> + <layout>p2</layout> + </repository> + <repository> + <url>http://download.eclipse.org/releases/mars</url> + <layout>p2</layout> + </repository> + </repositories> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <!-- copy the p2 repository into the project root folder to allow for easier archiving in CI server --> <artifactId>maven-antrun-plugin</artifactId> |