Repository: flex-falcon
Updated Branches:
  refs/heads/feature/maven-migration b4d898706 -> a28717cc1


- Added a maven settings.xml that adds the Apache Snapshot repo to the build to 
allow people getting started without having to figgue out how to. This will 
become a lot easier once we have released the flex-sdk-converter-maven-extension
- Adjusted the maven readme to explain how to use the template.


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

Branch: refs/heads/feature/maven-migration
Commit: a28717cc19b3d4168214a4909da14347c21372b3
Parents: b4d8987
Author: Christofer Dutz <christofer.d...@codecentric.de>
Authored: Mon Mar 21 15:52:15 2016 +0100
Committer: Christofer Dutz <christofer.d...@codecentric.de>
Committed: Mon Mar 21 15:52:15 2016 +0100

----------------------------------------------------------------------
 README_MAVEN.txt      | 15 +++++++++++--
 settings-template.xml | 55 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a28717cc/README_MAVEN.txt
----------------------------------------------------------------------
diff --git a/README_MAVEN.txt b/README_MAVEN.txt
index ef45582..eb33859 100644
--- a/README_MAVEN.txt
+++ b/README_MAVEN.txt
@@ -25,5 +25,16 @@ 
https://www.macromedia.com/support/documentation/de/flashplayer/help/settings_ma
 As soon as that's done you can run the build with tests like this:
     mvn install
 
-NOTE: Currently there are sill some tests failing. On Windows machines
-a little more than on non Windows machines. We are working on this issues.
\ No newline at end of file
+NOTE: The build relies on an unreleased version of the
+flex-sdk-converter-maven-extension. Per default Maven can't find this artifact.
+The file settings-template.xml is a sample settings.xml which you can use to 
build
+it will locate all downloaded files in the ".mvn/repository" directory. In 
order
+to build with this settings.xml by adding the "-s" parameter to the call to 
maven.
+
+Look here for examples:
+
+mvn -s settings-template.xml clean install -P minimal
+
+mvn -s settings-template.xml clean install -DskipTests
+
+mvn -s settings-template.xml clean install

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a28717cc/settings-template.xml
----------------------------------------------------------------------
diff --git a/settings-template.xml b/settings-template.xml
new file mode 100644
index 0000000..cd745c9
--- /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

Reply via email to