You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/08/01 10:14:44 UTC

git commit: [flex-falcon] [refs/heads/develop] - - Set the site deployment url so a real url

Repository: flex-falcon
Updated Branches:
  refs/heads/develop aabc2c42d -> 04d28a8a8


- Set the site deployment url so a real url


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

Branch: refs/heads/develop
Commit: 04d28a8a8e88b35b4898c06fefb41e4fd85165b9
Parents: aabc2c4
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Mon Aug 1 12:14:37 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Mon Aug 1 12:14:37 2016 +0200

----------------------------------------------------------------------
 pom.xml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/04d28a8a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b75bf54..218b303 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,14 +61,15 @@
     <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
     <!-- Exclude all generated code -->
     <sonar.exclusions>file:**/generated-sources/**</sonar.exclusions>
+
+    <website.path>latest-dev</website.path>
   </properties>
 
   <!-- Only configure the site distribution as the rest is handled by the apache parent -->
   <distributionManagement>
     <site>
       <id>website</id>
-      <!-- TODO: Set this to the correct url -->
-      <url>scp://www.mycompany.com/www/docs/project/</url>
+      <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/flex/content/maven/flexjs/${website.path}</url>
     </site>
   </distributionManagement>
 
@@ -150,6 +151,13 @@
         <module>flexjs-maven-plugin</module>
       </modules>
     </profile>
+
+    <profile>
+      <id>apache-release</id>
+      <properties>
+        <website.path>${project.version}</website.path>
+      </properties>
+    </profile>
   </profiles>
 
   <build>