You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2021/05/05 04:58:44 UTC
[karaf] branch main updated: [KARAF-7132] Use maven properties in
scm and distributionManagement (easier for the fork)
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push:
new caa839e [KARAF-7132] Use maven properties in scm and distributionManagement (easier for the fork)
new 74363e7 Merge pull request #1362 from jbonofre/KARAF-7132
caa839e is described below
commit caa839ef71123199b81b98e138d426461f3cb61a
Author: jbonofre <jb...@apache.org>
AuthorDate: Tue May 4 17:17:35 2021 +0200
[KARAF-7132] Use maven properties in scm and distributionManagement (easier for the fork)
---
pom.xml | 33 ++++++++++++++++++++++++++++-----
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 27d5faf..420771b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,11 +81,23 @@
</modules>
<scm>
- <connection>scm:git:https://gitbox.apache.org/repos/asf/karaf.git</connection>
- <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/karaf.git</developerConnection>
- <url>https://gitbox.apache.org/repos/asf?p=karaf.git;a=summary</url>
- <tag>HEAD</tag>
- </scm>
+ <connection>${scm.connection}</connection>
+ <developerConnection>${scm.developerConnection}</developerConnection>
+ <url>${scm.url}</url>
+ </scm>
+
+ <distributionManagement>
+ <repository>
+ <id>${distributionManagement.release.id}</id>
+ <name>${distributionManagement.release.name}</name>
+ <url>${distributionManagement.release.url}</url>
+ </repository>
+ <snapshotRepository>
+ <id>${distributionManagement.snapshot.id}</id>
+ <name>${distributionManagement.snapshot.name}</name>
+ <url>${distributionManagement.snapshot.url}</url>
+ </snapshotRepository>
+ </distributionManagement>
<issueManagement>
<system>jira</system>
@@ -137,6 +149,17 @@
</developers>
<properties>
+ <scm.connection>scm:git:https://gitbox.apache.org/repos/asf/karaf.git</scm.connection>
+ <scm.developerConnection>scm:git:https://gitbox.apache.org/repos/asf/karaf.git</scm.developerConnection>
+ <scm.url>https://gitbox.apache.org/repos/asf?p=karaf.git;a=summary</scm.url>
+
+ <distributionManagement.release.id>apache.releases.https</distributionManagement.release.id>
+ <distributionManagement.release.name>Apache Release Distribution Repository</distributionManagement.release.name>
+ <distributionManagement.release.url>https://repository.apache.org/service/local/staging/deploy/maven2</distributionManagement.release.url>
+ <distributionManagement.snapshot.id>apache.snapshots.https</distributionManagement.snapshot.id>
+ <distributionManagement.snapshot.name>Apache Development Snapshot Repository</distributionManagement.snapshot.name>
+ <distributionManagement.snapshot.url>https://repository.apache.org/content/repositories/snapshots</distributionManagement.snapshot.url>
+
<activemq.version>5.15.11</activemq.version>
<aopalliance.bundle.version>1.0_6</aopalliance.bundle.version>
<aspectj.bundle.version>1.9.5_1</aspectj.bundle.version>