You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2025/11/04 15:49:48 UTC
(maven-release) branch master updated: Add links to Javadocs for SCM authentication
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-release.git
The following commit(s) were added to refs/heads/master by this push:
new f06aaa2f Add links to Javadocs for SCM authentication
f06aaa2f is described below
commit f06aaa2f332f87e390f398785c7435aee4fa8229
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Tue Nov 4 16:49:42 2025 +0100
Add links to Javadocs for SCM authentication
---
.../apache/maven/plugins/release/AbstractScmReadReleaseMojo.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/AbstractScmReadReleaseMojo.java b/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/AbstractScmReadReleaseMojo.java
index 0d801782..0c6d1462 100644
--- a/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/AbstractScmReadReleaseMojo.java
+++ b/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/AbstractScmReadReleaseMojo.java
@@ -45,18 +45,21 @@ public abstract class AbstractScmReadReleaseMojo extends AbstractReleaseMojo {
* <p>
* Explicit authentication information provided via {@link #username}, {@link #password} or {@link #privateKey} will take precedence.
* @since 3.2.0
+ * @see <a href="https://maven.apache.org/scm/authentication.html">SCM Authentication</a>
*/
@Parameter(property = "project.scm.id", defaultValue = "${project.scm.id}")
private String serverId;
/**
* The username to use for authentication with the SCM.
+ * @see <a href="https://maven.apache.org/scm/authentication.html">SCM Authentication</a>
*/
@Parameter(property = "username")
private String username;
/**
* The password to use for authentication with the SCM.
+ * @see <a href="https://maven.apache.org/scm/authentication.html">SCM Authentication</a>
*/
@Parameter(property = "password")
private String password;
@@ -64,17 +67,19 @@ public abstract class AbstractScmReadReleaseMojo extends AbstractReleaseMojo {
/**
* The path to the SSH private key to use for authentication with the SCM.
* @since 3.2.0
+ * @see <a href="https://maven.apache.org/scm/authentication.html">SCM Authentication</a>
*/
@Parameter(property = "privateKey")
private File privateKey;
/**
* Add a new or overwrite the default implementation per provider.
- * The key is the scm prefix and the value is the role hint of the
+ * The key is the scm prefix and the value is the role hint/provider id of the
* {@link org.apache.maven.scm.provider.ScmProvider}.
*
* @since 2.0-beta-6
* @see ScmManager#setScmProviderImplementation(String, String)
+ * @see <a href="https://maven.apache.org/scm/scms-overview.html">SCM Providers</a>
*/
@Parameter
private Map<String, String> providerImplementations;