Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Webster2012-11-27 14:14:47 +0000
committerThanh Ha2012-12-07 15:46:24 +0000
commit5952612f40adf051e1522d124e7f0c0b732228a0 (patch)
treee7e8d0707eed7db108d908f86d4c2f4ddb1331fc
parent08355ffaf6a630b085cc9264dcae6938b339fb80 (diff)
downloadeclipse.platform.releng.aggregator-5952612f40adf051e1522d124e7f0c0b732228a0.tar.gz
eclipse.platform.releng.aggregator-5952612f40adf051e1522d124e7f0c0b732228a0.tar.xz
eclipse.platform.releng.aggregator-5952612f40adf051e1522d124e7f0c0b732228a0.zip
Bug 393927 - [CBI] Generate Deployable build directory
Use p2 mirror to create the test framework repo
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml53
1 files changed, 53 insertions, 0 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml
index 4b3ae34a8..c68b13377 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml
@@ -58,6 +58,59 @@
</executions>
</plugin>
+ <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>file://${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.test.feature.group</id>
+ </iu>
+ </ius>
+ <!-- The destination directory to mirror to. -->
+ <destination>${project.build.directory}/eclipse-test-framework</destination>
+ <!-- Whether only strict dependencies should be followed. -->
+ <!-- "strict" means perfect version match -->
+ <followStrictOnly>false</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>false</compress>
+ <!-- whether to append to the target repository content -->
+ <append>true</append>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>

Back to the top