You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/04/10 05:03:33 UTC
[isis] branch master updated: ISIS-2445: try build local staging repo (4)
This is an automated email from the ASF dual-hosted git repository.
ahuber 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 4361dcab7d ISIS-2445: try build local staging repo (4)
4361dcab7d is described below
commit 4361dcab7d331914080a6e4c9c94c0ce0403adbf
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sun Apr 10 07:03:28 2022 +0200
ISIS-2445: try build local staging repo (4)
---
.../ci-build-artifacts-no-push-gradle.yml~ | 3 +++
.../workflows/ci-build-artifacts-no-push-maven.yml | 2 +-
.../workflows/ci-build-artifacts-push-maven.yml | 2 +-
.github/workflows/ci-build-site-no-push.yml | 2 +-
isis-parent/pom.xml | 23 +++++++++++++++-------
starters/pom.xml | 16 +++++++++++++++
6 files changed, 38 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/ci-build-artifacts-no-push-gradle.yml~ b/.github/workflows/ci-build-artifacts-no-push-gradle.yml~
index ed3c8c81d3..bf4c940bc3 100644
--- a/.github/workflows/ci-build-artifacts-no-push-gradle.yml~
+++ b/.github/workflows/ci-build-artifacts-no-push-gradle.yml~
@@ -12,6 +12,9 @@ on:
# branches:
# - master
+permissions:
+ contents: read
+
jobs:
build:
name: build-local-no-push-gradle
diff --git a/.github/workflows/ci-build-artifacts-no-push-maven.yml b/.github/workflows/ci-build-artifacts-no-push-maven.yml
index 7e41795730..ac625ba879 100644
--- a/.github/workflows/ci-build-artifacts-no-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-no-push-maven.yml
@@ -3,7 +3,7 @@ name: Build, Test (JDK 18)
on:
push:
branches:
- - master
+ - masterNOOP
pull_request:
branches:
- master
diff --git a/.github/workflows/ci-build-artifacts-push-maven.yml b/.github/workflows/ci-build-artifacts-push-maven.yml
index 96317c09c9..4f2ef48414 100644
--- a/.github/workflows/ci-build-artifacts-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-push-maven.yml
@@ -84,7 +84,7 @@ jobs:
mvn deploy
-f isis-parent/pom.xml
-Dreleased
- -Dgithub
+ -Dlsrepo
-Denforcer.failFast=true
-Djacoco.skip=true
-Dmaven.source.skip=true
diff --git a/.github/workflows/ci-build-site-no-push.yml b/.github/workflows/ci-build-site-no-push.yml
index cd7cde4675..4b0ce0012c 100644
--- a/.github/workflows/ci-build-site-no-push.yml
+++ b/.github/workflows/ci-build-site-no-push.yml
@@ -3,7 +3,7 @@ name: Build Site (w/ Antora)
on:
push:
branches:
- - master
+ - masterNOOP
pull_request:
branches:
- master
diff --git a/isis-parent/pom.xml b/isis-parent/pom.xml
index 6169c44bf3..6ce78a45f9 100644
--- a/isis-parent/pom.xml
+++ b/isis-parent/pom.xml
@@ -1103,18 +1103,27 @@ under the License.
</property>
</activation>
<distributionManagement>
-<!-- <repository> -->
-<!-- <id>github</id> -->
-<!-- <name>Github Releases</name> -->
-<!-- <url>https://maven.pkg.github.com/apache/isis</url> -->
-<!-- </repository> -->
-
+ <repository>
+ <id>github</id>
+ <name>Github Releases</name>
+ <url>https://maven.pkg.github.com/apache/isis</url>
+ </repository>
+ </distributionManagement>
+ </profile>
+
+ <profile>
+ <id>lsrepo</id>
+ <activation>
+ <property>
+ <name>lsrepo</name>
+ </property>
+ </activation>
+ <distributionManagement>
<repository>
<id>local.staging.repo</id>
<name>Temporary Local Filesystem Staging Repository</name>
<url>file://${project.build.directory}/mvn-artifact</url>
</repository>
-
</distributionManagement>
</profile>
diff --git a/starters/pom.xml b/starters/pom.xml
index c4959fcc0f..394c9dd7db 100644
--- a/starters/pom.xml
+++ b/starters/pom.xml
@@ -479,6 +479,22 @@
</repository>
</distributionManagement>
</profile>
+
+ <profile>
+ <id>lsrepo</id>
+ <activation>
+ <property>
+ <name>lsrepo</name>
+ </property>
+ </activation>
+ <distributionManagement>
+ <repository>
+ <id>local.staging.repo</id>
+ <name>Temporary Local Filesystem Staging Repository</name>
+ <url>file://${project.build.directory}/mvn-artifact</url>
+ </repository>
+ </distributionManagement>
+ </profile>
</profiles>
</project>