Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2017-06-08 11:21:32 -0400
committerMarkus Knauer2017-06-08 11:21:41 -0400
commit6212f9f059bf695d10d24e2b5d7c8bbc7da31cee (patch)
treea5c6a9262c865a50671898500acdce7b57402c5a
parente251fcf811da2fc4cbdda1fa80dcd9af158f5a19 (diff)
downloadorg.eclipse.epp.packages-6212f9f059bf695d10d24e2b5d7c8bbc7da31cee.tar.gz
org.eclipse.epp.packages-6212f9f059bf695d10d24e2b5d7c8bbc7da31cee.tar.xz
org.eclipse.epp.packages-6212f9f059bf695d10d24e2b5d7c8bbc7da31cee.zip
Add mirror section to dynamically created Maven settings.xml
Change-Id: Ie58bbf106775ec89689ab94994b1ecc504903bd0 Signed-off-by: Markus Knauer <mknauer@eclipsesource.com>
-rwxr-xr-xreleng/org.eclipse.epp.config/tools/createSettings.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/releng/org.eclipse.epp.config/tools/createSettings.sh b/releng/org.eclipse.epp.config/tools/createSettings.sh
index b542a295..eb72b804 100755
--- a/releng/org.eclipse.epp.config/tools/createSettings.sh
+++ b/releng/org.eclipse.epp.config/tools/createSettings.sh
@@ -35,6 +35,14 @@ echo "<settings xmlns=\"http://maven.apache.org/SETTINGS/1.0.0\"" >>$SETTINGS_FI
echo " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" >>$SETTINGS_FILE
echo " xsi:schemaLocation=\"http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd\">" >>$SETTINGS_FILE
echo "" >>$SETTINGS_FILE
+echo " <mirrors>" >>$SETTINGS_FILE
+echo " <mirror>" >>$SETTINGS_FILE
+echo " <id>eclipse.maven.central.mirror</id>" >>$SETTINGS_FILE
+echo " <name>Eclipse Central Proxy</name>" >>$SETTINGS_FILE
+echo " <url>https://repo.eclipse.org/content/repositories/maven_central/</url>" >>$SETTINGS_FILE
+echo " <mirrorOf>central</mirrorOf>" >>$SETTINGS_FILE
+echo " </mirror>" >>$SETTINGS_FILE
+echo " </mirrors>" >>$SETTINGS_FILE
echo " <proxies>" >>$SETTINGS_FILE
echo " <proxy>" >>$SETTINGS_FILE
echo " <id>httpproxy</id>" >>$SETTINGS_FILE
@@ -53,6 +61,9 @@ echo " <port>9898</port>" >>$SETTINGS_FILE
echo " <nonProxyHosts>localhost|hudson.eclipse.org|127.0.0.1|172.30.206.*</nonProxyHosts>" >>$SETTINGS_FILE
echo " </proxy>" >>$SETTINGS_FILE
echo " </proxies>" >>$SETTINGS_FILE
+
+
+
echo " <activeProfiles>" >>$SETTINGS_FILE
### use the HEAD commit to find out which package directories contain a change

Back to the top