Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Webster2012-11-27 19:39:03 +0000
committerPaul Webster2012-11-27 19:39:03 +0000
commit3468a42c444fbdae982fa28bb9e8fd523988775e (patch)
treeefd3528de2923c395b2c11631769ed3a2efaf76d
parent7e1785d8fbc2867e00195d50847623917a38f6d6 (diff)
downloadeclipse.platform.releng.aggregator-3468a42c444fbdae982fa28bb9e8fd523988775e.tar.gz
eclipse.platform.releng.aggregator-3468a42c444fbdae982fa28bb9e8fd523988775e.tar.xz
eclipse.platform.releng.aggregator-3468a42c444fbdae982fa28bb9e8fd523988775e.zip
Bug 395170 - [CBI] generate the repos for the different components
Added mirror tasks for pde, jdt, and cvs
-rw-r--r--eclipse.platform.repository/category.xml3
-rw-r--r--eclipse.platform.repository/pom.xml149
2 files changed, 150 insertions, 2 deletions
diff --git a/eclipse.platform.repository/category.xml b/eclipse.platform.repository/category.xml
index 214ad2600..42786e33c 100644
--- a/eclipse.platform.repository/category.xml
+++ b/eclipse.platform.repository/category.xml
@@ -3,6 +3,9 @@
<feature url="../eclipse.platform.releng/features/master/master-3.4.0-SNAPSHOT.jar" id="master" version="0.0.0">
<category name="Master Category"/>
</feature>
+ <feature url="../eclipse.pde.ui/apitools/org.eclipse.pde.api.tools.ee.feature/target/org.eclipse.pde.api.tools.ee.feature-1.0.0-SNAPSHOT.jar" id="org.eclipse.pde.api.tools.ee.feature" version="0.0.0">
+ <category name="Master Category"/>
+ </feature>
<category-def label="Master Category Label" name="Master Category">
<description>Master Category Description</description>
</category-def>
diff --git a/eclipse.platform.repository/pom.xml b/eclipse.platform.repository/pom.xml
index 20521487b..d5603b957 100644
--- a/eclipse.platform.repository/pom.xml
+++ b/eclipse.platform.repository/pom.xml
@@ -49,12 +49,11 @@
<version>${tycho.version}</version>
<executions>
<execution>
+ <id>mirror-build</id>
<phase>prepare-package</phase>
<goals>
<goal>mirror</goal>
</goals>
- </execution>
- </executions>
<configuration>
<source>
<!-- source repositories to mirror from -->
@@ -105,6 +104,152 @@
<!-- whether to append to the target repository content -->
<append>true</append>
</configuration>
+ </execution>
+ <execution>
+<id>mirror-org.eclipse.pde</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>mirror</goal>
+ </goals>
+ <configuration>
+ <source>
+ <!-- source repositories to mirror from -->
+ <repository>
+ <url>${project.build.directory}/repository</url>
+ <layout>p2</layout>
+ <!-- supported layouts are "p2-metadata", "p2-artifacts", and "p2" (for joint repositories; default) -->
+ </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>
+ <iu>
+ <id>org.eclipse.pde.feature.group</id>
+ </iu>
+ </ius>
+ <!-- The destination directory to mirror to. -->
+ <destination>${project.build.directory}/repos/org.eclipse.pde</destination>
+ <!-- Whether only strict dependencies should be followed. -->
+ <!-- "strict" means perfect version match -->
+ <followStrictOnly>true</followStrictOnly>
+ <!-- Whether or not to follow optional requirements. -->
+ <includeOptional>false</includeOptional>
+ <!-- Whether or not to follow non-greedy requirements. -->
+ <includeNonGreedy>false</includeNonGreedy>
+ <!-- Filter properties. E.g. filter only one platform -->
+ <!-- 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>
+<includePacked>false</includePacked>
+ </configuration>
+ </execution>
+ <execution>
+<id>mirror-org.eclipse.jdt</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>mirror</goal>
+ </goals>
+ <configuration>
+ <source>
+ <!-- source repositories to mirror from -->
+ <repository>
+ <url>${project.build.directory}/repository</url>
+ <layout>p2</layout>
+ <!-- supported layouts are "p2-metadata", "p2-artifacts", and "p2" (for joint repositories; default) -->
+ </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>
+ <iu>
+ <id>org.eclipse.jdt.feature.group</id>
+ </iu>
+ </ius>
+ <!-- The destination directory to mirror to. -->
+ <destination>${project.build.directory}/repos/org.eclipse.jdt</destination>
+ <!-- Whether only strict dependencies should be followed. -->
+ <!-- "strict" means perfect version match -->
+ <followStrictOnly>true</followStrictOnly>
+ <!-- Whether or not to follow optional requirements. -->
+ <includeOptional>false</includeOptional>
+ <!-- Whether or not to follow non-greedy requirements. -->
+ <includeNonGreedy>false</includeNonGreedy>
+ <!-- Filter properties. E.g. filter only one platform -->
+ <!-- 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>
+<includePacked>false</includePacked>
+ </configuration>
+ </execution>
+ <execution>
+<id>mirror-org.eclipse.cvs</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>mirror</goal>
+ </goals>
+ <configuration>
+ <source>
+ <!-- source repositories to mirror from -->
+ <repository>
+ <url>${project.build.directory}/repository</url>
+ <layout>p2</layout>
+ <!-- supported layouts are "p2-metadata", "p2-artifacts", and "p2" (for joint repositories; default) -->
+ </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>
+ <iu>
+ <id>org.eclipse.cvs.feature.group</id>
+ </iu>
+ </ius>
+ <!-- The destination directory to mirror to. -->
+ <destination>${project.build.directory}/repos/org.eclipse.cvs</destination>
+ <!-- Whether only strict dependencies should be followed. -->
+ <!-- "strict" means perfect version match -->
+ <followStrictOnly>true</followStrictOnly>
+ <!-- Whether or not to follow optional requirements. -->
+ <includeOptional>false</includeOptional>
+ <!-- Whether or not to follow non-greedy requirements. -->
+ <includeNonGreedy>false</includeNonGreedy>
+ <!-- Filter properties. E.g. filter only one platform -->
+ <!-- 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>
+<includePacked>false</includePacked>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>

Back to the top