Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenzo Bettini2016-06-06 18:28:30 +0000
committerLorenzo Bettini2016-06-08 12:16:54 +0000
commit2de8fa4420ca8f45a2997b1a492a9b7d9231ecd9 (patch)
tree2f4a496ecef92d823319760a9839942cf0d34557 /releng/org.eclipse.emf.parsley.repository
parent8c0edcf0dd3fc95560e63fdba5358fb0c114694d (diff)
downloadorg.eclipse.emf-parsley-2de8fa4420ca8f45a2997b1a492a9b7d9231ecd9.tar.gz
org.eclipse.emf-parsley-2de8fa4420ca8f45a2997b1a492a9b7d9231ecd9.tar.xz
org.eclipse.emf-parsley-2de8fa4420ca8f45a2997b1a492a9b7d9231ecd9.zip
p2.mirrorsURL
Diffstat (limited to 'releng/org.eclipse.emf.parsley.repository')
-rw-r--r--releng/org.eclipse.emf.parsley.repository/pom.xml42
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&amp;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>

Back to the top