You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:49:15 UTC
[45/50] brooklyn-server git commit: default deployment is now to
filesystem on cloudfronted developers-origin, with profile for deploying to
artifactory; docs updated to show same (new) preferred download URLs
default deployment is now to filesystem on cloudfronted developers-origin,
with profile for deploying to artifactory;
docs updated to show same (new) preferred download URLs
(cherrypicked from master)
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/f8e0654d
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/f8e0654d
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/f8e0654d
Branch: refs/heads/0.4.0
Commit: f8e0654d2d8d496780422a4fd8fca18f22642ff7
Parents: ca55de1
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Mon Jan 7 16:16:10 2013 +0000
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Mon Jan 14 16:50:52 2013 +0000
----------------------------------------------------------------------
pom.xml | 96 +++++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 59 insertions(+), 37 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/f8e0654d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6089e65..6a4ea5b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,20 @@
declaring versions, profiles, and the modules to build
</description>
- <url>http://developers.cloudsoftcorp.com/</url>
+ <!-- useful custom properties:
+
+ brooklyn.explicitModules :: only builds explicit modules (instead of default modules)
+
+ brooklyn.cloudsoftArtifactory :: deploys to cloudsoft artifactory repo (when using deploy)
+ instead of default cloudsoft filesystem
+
+ simply activate with -Dbrooklyn.theCustomProperty on the mvn build line
+ (these are used to trigger profile selection, since maven activeByDefault
+ only works if _no_ profiles are triggered, see suggestion/background at:
+ http://stackoverflow.com/questions/5309379/how-to-keep-maven-profiles-which-are-activebydefault-active-even-if-another-prof )
+ -->
+
+ <url>http://brooklyn.io/</url>
<licenses>
<license>
@@ -39,17 +52,12 @@
<repositories>
<repository>
- <id>cloudsoft-releases</id>
- <url>http://developers.cloudsoftcorp.com/download/maven2/</url>
+ <id>cloudsoft-cloudfront-releases-repo</id>
+ <url>http://developers.cloudsoftcorp.com/maven/releases/</url>
</repository>
<repository>
- <id>ccweb.cloudsoftcorp.com</id>
- <name>ccweb.cloudsoftcorp.com-releases</name>
- <url>http://ccweb.cloudsoftcorp.com/maven/cloudsoft-release</url>
- </repository>
- <repository>
- <id>libs-snapshot-local</id>
- <url>http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/</url>
+ <id>cloudsoft-cloudfront-snapshots-repo</id>
+ <url>http://developers.cloudsoftcorp.com/maven/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
@@ -59,23 +67,18 @@
</repositories>
<distributionManagement>
+ <!-- defined below in profiles so we can easily target multiple repos -->
<repository>
- <id>local-release</id>
- <name>libs-release-local</name>
- <url>http://ccweb.cloudsoftcorp.com/maven/libs-release-local/</url>
+ <id>${repo_id}</id>
+ <name>${repo_name}</name>
+ <url>${repo_url}</url>
</repository>
<snapshotRepository>
- <id>local-snapshot</id>
- <name>libs-snapshot-local</name>
- <url>http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/</url>
+ <id>${snapshot_repo_id}</id>
+ <name>${snapshot_repo_name}</name>
+ <url>${snapshot_repo_url}</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
- <site>
- <id>local-documentation</id>
- <url>
- scpexe://jenkins@releng3.cloudsoftcorp.com/home/jenkins/documentation/${project.groupId}-${project.version}/
- </url>
- </site>
</distributionManagement>
<properties>
@@ -599,9 +602,7 @@
<profile>
<id>Essentials</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
+ <activation> <property><name> !brooklyn.explicitModules </name></property> </activation>
<modules>
<module>api</module>
<module>usage/test-support</module>
@@ -611,9 +612,7 @@
</profile>
<profile>
<id>Entities</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
+ <activation> <property><name> !brooklyn.explicitModules </name></property> </activation>
<modules>
<module>software/base</module>
<module>software/osgi</module>
@@ -629,9 +628,7 @@
</profile>
<profile>
<id>Usage</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
+ <activation> <property><name> !brooklyn.explicitModules </name></property> </activation>
<modules>
<module>usage/web-console</module>
<module>usage/launcher</module>
@@ -642,18 +639,14 @@
</profile>
<profile>
<id>Examples</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
+ <activation> <property><name> !brooklyn.explicitModules </name></property> </activation>
<modules>
<module>examples</module>
</modules>
</profile>
<profile>
<id>QA</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
+ <activation> <property><name> !brooklyn.explicitModules </name></property> </activation>
<modules>
<module>usage/qa</module>
</modules>
@@ -1218,6 +1211,35 @@
</plugins>
</build>
</profile>
+
+ <!-- different properties used to deploy to different locations depending on profiles;
+ default is cloudsoft filesystem repo, but some sources still use cloudsoft artifactory as source
+ (and soon we will support artifactory) -->
+ <profile>
+ <id>cloudsoft-filesystem-repo</id>
+ <activation> <property><name>!brooklyn.cloudsoftArtifactory</name></property> </activation>
+ <properties>
+ <repo_id>cloudsoft-deploy-cloudfront-origin-releases</repo_id>
+ <repo_name>Cloudsoft Release Filesystem repo (used as origin for cloudfront)</repo_name>
+ <repo_url>scpexe://root@developers-origin.cloudsoftcorp.com/var/www/developers/maven/releases/</repo_url>
+ <snapshot_repo_id>cloudsoft-deploy-cloudfront-origin-snapshots</snapshot_repo_id>
+ <snapshot_repo_name>Cloudsoft Snapshot Filesystem repo (used as origin for cloudfront)</snapshot_repo_name>
+ <snapshot_repo_url>scpexe://root@developers-origin.cloudsoftcorp.com/var/www/developers/maven/snapshots/</snapshot_repo_url>
+ </properties>
+ </profile>
+ <profile>
+ <id>cloudsoft-artifactory-repo</id>
+ <activation> <property><name>brooklyn.cloudsoftArtifactory</name></property> </activation>
+ <properties>
+ <repo_id>cloudsoft-deploy-artifactory-release</repo_id>
+ <repo_name>Cloudsoft Artifactory libs-release-local repo</repo_name>
+ <repo_url>http://ccweb.cloudsoftcorp.com/maven/libs-release-local/</repo_url>
+ <snapshot_repo_id>cloudsoft-deploy-artifactory-snapshot</snapshot_repo_id>
+ <snapshot_repo_name>Cloudsoft Artifactory libs-snapshot-local repo</snapshot_repo_name>
+ <snapshot_repo_url>http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/</snapshot_repo_url>
+ </properties>
+ </profile>
+
</profiles>
</project>