You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/05/18 18:47:16 UTC

[40/47] git commit: [flex-asjs] [refs/heads/develop] - - Added settings-template.xml

- Added settings-template.xml


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/813237ba
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/813237ba
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/813237ba

Branch: refs/heads/develop
Commit: 813237bac9b6b08a64edf5ccd131e3356e707400
Parents: d928232
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun May 15 15:42:09 2016 -0700
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Sun May 15 15:42:09 2016 -0700

----------------------------------------------------------------------
 settings-template.xml | 55 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/813237ba/settings-template.xml
----------------------------------------------------------------------
diff --git a/settings-template.xml b/settings-template.xml
new file mode 100644
index 0000000..a863de5
--- /dev/null
+++ b/settings-template.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"
+          xmlns="http://maven.apache.org/SETTINGS/1.1.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+    <!-- Tell maven to place downloaded files relative to this settings file -->
+    <!--localRepository>.mvn/repository</localRepository-->
+
+    <!-- If you need to use a proxy, comment in this section -->
+    <!--proxies>
+        <proxy>
+            <active>true</active>
+            <protocol>proxy-protocol (http/https)</protocol>
+            <host>proxy-host</host>
+            <port>proxy-port</port>
+        </proxy>
+    </proxies-->
+
+    <!-- Profile that adds the apache snapshot repo to maven -->
+    <profiles>
+        <profile>
+            <id>apache-snapshots-enabled</id>
+            <!--Enable snapshots for the built in central repo and plugin repo -->
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <url>http://repository.apache.org/snapshots/</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-snapshots</id>
+                    <url>http://repository.apache.org/snapshots/</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
+    </profiles>
+
+    <!-- Activate the apache-snapshots-enabled profile -->
+    <activeProfiles>
+        <activeProfile>apache-snapshots-enabled</activeProfile>
+    </activeProfiles>
+</settings>
\ No newline at end of file