diff options
| author | Paul Webster | 2012-11-28 18:17:55 +0000 |
|---|---|---|
| committer | Paul Webster | 2012-11-28 18:17:55 +0000 |
| commit | bf3a03dc65b7ff8181bdb5eeec6b86e8bdab9542 (patch) | |
| tree | 7f5dfead7c2e28a5606938f92d394307f261c064 | |
| parent | 000a93bf9959195ba85510953efa01212d2a5084 (diff) | |
| download | eclipse.platform.releng.aggregator-bf3a03dc65b7ff8181bdb5eeec6b86e8bdab9542.tar.gz eclipse.platform.releng.aggregator-bf3a03dc65b7ff8181bdb5eeec6b86e8bdab9542.tar.xz eclipse.platform.releng.aggregator-bf3a03dc65b7ff8181bdb5eeec6b86e8bdab9542.zip | |
Bug 395170 - [CBI] generate the repos for the different components
Mirror the repos in the eclipse.platform.repository project and
then zip them up.
| -rw-r--r-- | eclipse.platform.repository/pom.xml | 504 | ||||
| -rw-r--r-- | scripts/build-functions.sh | 17 | ||||
| -rw-r--r-- | scripts/gather-parts.sh | 1 |
3 files changed, 519 insertions, 3 deletions
diff --git a/eclipse.platform.repository/pom.xml b/eclipse.platform.repository/pom.xml index d5603b957..13794b4d0 100644 --- a/eclipse.platform.repository/pom.xml +++ b/eclipse.platform.repository/pom.xml @@ -107,7 +107,7 @@ </execution> <execution> <id>mirror-org.eclipse.pde</id> - <phase>prepare-package</phase> + <phase>package</phase> <goals> <goal>mirror</goal> </goals> @@ -155,7 +155,7 @@ </execution> <execution> <id>mirror-org.eclipse.jdt</id> - <phase>prepare-package</phase> + <phase>package</phase> <goals> <goal>mirror</goal> </goals> @@ -203,7 +203,7 @@ </execution> <execution> <id>mirror-org.eclipse.cvs</id> - <phase>prepare-package</phase> + <phase>package</phase> <goals> <goal>mirror</goal> </goals> @@ -249,6 +249,504 @@ <includePacked>false</includePacked> </configuration> </execution> + <execution> +<id>mirror-org.eclipse.pde.api.tools.ee.feature</id> + <phase>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.api.tools.ee.feature.feature.group</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.pde.api.tools.ee.feature</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.releng.tools</id> + <phase>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.releng.tools.feature.group</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.releng.tools</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.pde.source</id> + <phase>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> + <id>org.eclipse.pde.source.feature.group</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.pde.source</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.source</id> + <phase>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> + <id>org.eclipse.jdt.source.feature.group</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.jdt.source</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.source</id> + <phase>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> + <id>org.eclipse.cvs.source.feature.group</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.cvs.source</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.sdk.examples</id> + <phase>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.sdk.examples.feature.group</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.sdk.examples</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.platform</id> + <phase>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.platform.feature.group</id> + <id>org.eclipse.equinox.p2.user.ui.feature.group</id> + <id>org.eclipse.rcp.configuration.feature.group</id> + <id>org.eclipse.equinox.executable.feature.group</id> + <id>org.eclipse.platform.ide</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.platform</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.platform.source</id> + <phase>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.platform.feature.group</id> + <id>org.eclipse.platform.source.feature.group</id> + <id>org.eclipse.equinox.p2.user.ui.feature.group</id> + <id>org.eclipse.equinox.p2.user.ui.source.feature.group</id> + <id>org.eclipse.rcp.configuration.feature.group</id> + <id>org.eclipse.equinox.executable.feature.group</id> + <id>org.eclipse.platform.ide</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.platform.source</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.rcp</id> + <phase>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.rcp.feature.group</id> + <id>a.jre.javase</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.rcp</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.rcp.source</id> + <phase>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.rcp.feature.group</id> + <id>org.eclipse.rcp.source.feature.group</id> + <id>a.jre.javase</id> + <!-- TODO this needs to be o.e.equinox.executable --> + <id>org.eclipse.equinox.executable.feature.group</id> + </iu> + </ius> + <!-- The destination directory to mirror to. --> + <destination>${project.build.directory}/repos/org.eclipse.rcp.source</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> diff --git a/scripts/build-functions.sh b/scripts/build-functions.sh index 51af6fd0b..3db0699ec 100644 --- a/scripts/build-functions.sh +++ b/scripts/build-functions.sh @@ -456,6 +456,23 @@ fn-gather-test-zips () { popd } +# USAGE: fn-gather-repo-zips BUILD_ID REPO_DIR BUILD_DIR +# BUILD_ID: I20121116-0700 +# REPO_DIR: /shared/eclipse/builds/R4_2_maintenance/gitCache/eclipse.platform.releng.aggregator +# BUILD_DIR: /shared/eclipse/builds/R4_2_maintenance/dirs/M20121120-1747 +fn-gather-repo-zips () { + BUILD_ID="$1"; shift + REPO_DIR="$1"; shift + BUILD_DIR="$1"; shift + pushd "$REPO_DIR"/eclipse.platform.repository/target/repos + for r in org.eclipse.*; do + pushd $r + zip "$BUILD_DIR"/${r}-${BUILD_ID}.zip * + popd + done + popd +} + # USAGE: fn-gather-main-index BUILD_ID REPO_DIR BUILD_DIR STREAM BUILD_TYPE BUILD_DATE # BUILD_ID: I20121116-0700 diff --git a/scripts/gather-parts.sh b/scripts/gather-parts.sh index efdd48715..da83cde50 100644 --- a/scripts/gather-parts.sh +++ b/scripts/gather-parts.sh @@ -42,4 +42,5 @@ fn-gather-sdk "$BUILD_ID" "$aggDir" "$buildDirectory" fn-gather-platform "$BUILD_ID" "$aggDir" "$buildDirectory" fn-gather-swt-zips "$BUILD_ID" "$aggDir" "$buildDirectory" fn-gather-test-zips "$BUILD_ID" "$aggDir" "$buildDirectory" +fn-gather-repo-zips "$BUILD_ID" "$aggDir" "$buildDirectory" fn-gather-main-index "$BUILD_ID" "$aggDir" "$buildDirectory" "$STREAM" "$BUILD_TYPE" "$BUILD_DATE" |
