This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-scm.git
The following commit(s) were added to refs/heads/master by this push:
new 3c24d0108 Document deprecation of workItem accessors
3c24d0108 is described below
commit 3c24d01083c4c11ed79c76eaef732b4d6ae83e04
Author: Anukalp <[email protected]>
AuthorDate: Sat Dec 13 19:50:44 2025 +0530
Document deprecation of workItem accessors
---
.../java/org/apache/maven/scm/provider/ScmProviderRepository.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git
a/maven-scm-api/src/main/java/org/apache/maven/scm/provider/ScmProviderRepository.java
b/maven-scm-api/src/main/java/org/apache/maven/scm/provider/ScmProviderRepository.java
index 65d445888..c504c2b5f 100644
---
a/maven-scm-api/src/main/java/org/apache/maven/scm/provider/ScmProviderRepository.java
+++
b/maven-scm-api/src/main/java/org/apache/maven/scm/provider/ScmProviderRepository.java
@@ -119,6 +119,10 @@ public void setPushChanges(boolean pushChanges) {
* @return the workItem
* @since 1.9.5
*/
+ /**
+ * @deprecated This method is deprecated as it exposes legacy SCM work item
+ * metadata and is no longer used internally. There is no direct
replacement.
+ */
@Deprecated
public String getWorkItem() {
return workItem;
@@ -130,6 +134,10 @@ public String getWorkItem() {
* @param workItem the workItem
* @since 1.9.5
*/
+ /**
+ * @deprecated This method is deprecated as it modifies legacy SCM work
item
+ * metadata that is no longer used internally. There is no direct
replacement.
+ */
@Deprecated
public void setWorkItem(String workItem) {
this.workItem = workItem;