Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2013-03-06 23:22:42 +0000
committerDavid Williams2013-03-06 23:22:42 +0000
commit4624c63ee2e584ecc7b0794be5c015715d7b28c9 (patch)
tree06f24a073db82947d6d319f8d322522eb0f427c3 /eclipse.platform.repository/pom.xml
parent5d724baf041f535d61d4ac241ac2663cca840eaa (diff)
downloadeclipse.platform.releng.aggregator-4624c63ee2e584ecc7b0794be5c015715d7b28c9.tar.gz
eclipse.platform.releng.aggregator-4624c63ee2e584ecc7b0794be5c015715d7b28c9.tar.xz
eclipse.platform.releng.aggregator-4624c63ee2e584ecc7b0794be5c015715d7b28c9.zip
Bug 402063 - [CBI] Generate Deployable build directory including repo
Diffstat (limited to 'eclipse.platform.repository/pom.xml')
-rw-r--r--eclipse.platform.repository/pom.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/eclipse.platform.repository/pom.xml b/eclipse.platform.repository/pom.xml
index ddd5061ae..3dd3b902a 100644
--- a/eclipse.platform.repository/pom.xml
+++ b/eclipse.platform.repository/pom.xml
@@ -165,6 +165,65 @@
<append>true</append>
</configuration>
</execution>
+ <!-- We add emf features to our repo, since we "require" (not "include") them, but are
+ required to build (or pull) against "just" the platform repository.
+ We specify in a seperate step than above because unlike the others, there are
+ af few IUs, even the "base" repo, that we do not want.
+ -->
+ <execution>
+ <id>mirror-build-emf</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>mirror</goal>
+ </goals>
+ <configuration>
+ <source>
+ <!-- source repositories to mirror from -->
+ <repository>
+ <url>${emf-repo.url}</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.emf.common.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.eclipse.emf.ecore.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.eclipse.emf.common.source.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.eclipse.emf.ecore.source.feature.group</id>
+ </iu>
+ </ius>
+ <!-- The destination directory to mirror to. -->
+ <destination>${project.build.directory}/repository</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>true</compress>
+ <!-- whether to append to the target repository content -->
+ <append>true</append>
+ </configuration>
+ </execution>
<execution>
<id>mirror-org.eclipse.pde</id>
<phase>package</phase>

Back to the top