You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2019/02/07 19:46:00 UTC

[isis] branch master updated: ISIS-2072: adds missing profile

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new a71b381  ISIS-2072: adds missing profile
a71b381 is described below

commit a71b381ce244ada3bedb149eec6db4c4a84b4513
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Feb 7 19:45:46 2019 +0000

    ISIS-2072: adds missing profile
---
 .gitlab-ci.yml |  2 +-
 core/pom.xml   | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 55 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ea07bde..1875cc6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@
 #
 # - GCPAPPENGINEREPO_USERNAME
 # - GCPAPPENGINEREPO_PASSWORD
-# - GCPAPPENGINEREPO_REPO_URL
+# - GCPAPPENGINEREPO_URL
 #
 # - DOCKER_REGISTRY_USERNAME
 # - DOCKER_REGISTRY_PASSWORD
diff --git a/core/pom.xml b/core/pom.xml
index f855356..37ad620 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -2223,7 +2223,7 @@ ${license.additional-notes}
 
             export NEXUS_USERNAME=...
             export NEXUS_PASSWORD=...
-            export NEXUS_REPO_URL=http://incode-binaries.westeurope.azurecontainer.io:8081/repository/maven2-incode-interims/
+            export NEXUS_REPO_URL=...
 
             export REVISION=...
 
@@ -2279,6 +2279,59 @@ ${license.additional-notes}
             </distributionManagement>
         </profile>
 
+        <!--
+        this profile allows builds to be deployed to GCP, hosting a Maven repo backed by Google Storage
+
+        see:
+        https://github.com/renaudcerrato/appengine-maven-repository
+
+            export GCPAPPENGINEREPO_USERNAME=...
+            export GCPAPPENGINEREPO_PASSWORD=...
+            export GCPAPPENGINEREPO_URL=...
+
+            export REVISION=...
+
+              mvn -s .m2/settings.xml \
+                  -B \
+                  clean deploy \
+                  -Dgcpappenginerepo-deploy \
+                  -Dgcpappenginerepo-deploy.repositoryUrl=$GCPAPPENGINEREPO_URL \
+                  -Drevision=$REVISION \
+                  $CORE_ADDITIONAL_OPTS
+
+            with .m2/settings.xml as:
+
+            <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+                      xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+              <servers>
+                <server>
+                  <id>gcpappenginerepo-deploy.serverId</id>
+                  <username>${env.GCPAPPENGINEREPO_USERNAME}</username>
+                  <password>${env.GCPAPPENGINEREPO_PASSWORD}</password>
+                </server>
+              </servers>
+            </settings>
+
+        -->
+        <profile>
+            <id>gcpappenginerepo-deploy</id>
+            <activation>
+                <property>
+                    <name>gcpappenginerepo-deploy</name>
+                </property>
+            </activation>
+            <properties>
+                <gcpappenginerepo-deploy.repositoryUrl>https://my-gcp-project-id.appspot.com</gcpappenginerepo-deploy.repositoryUrl>
+            </properties>
+            <distributionManagement>
+                <repository>
+                    <id>gcpappenginerepo-deploy.serverId</id>
+                    <url>${gcpappenginerepo-deploy.repositoryUrl}</url>
+                </repository>
+            </distributionManagement>
+        </profile>
+
         <profile>
             <id>owasp</id>
             <activation>