[
https://issues.apache.org/jira/browse/SCM-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507951#comment-16507951
]
ASF GitHub Bot commented on SCM-889:
------------------------------------
serozaki commented on a change in pull request #76: [SCM-889] fix jazz provider
tag command
URL: https://github.com/apache/maven-scm/pull/76#discussion_r194381622
##########
File path:
maven-scm-providers/maven-scm-provider-jazz/src/main/java/org/apache/maven/scm/provider/jazz/command/tag/JazzTagCommand.java
##########
@@ -176,7 +176,7 @@ public JazzScmCommand createTagCreateSnapshotCommand(
JazzScmProviderRepository
command.addArgument( message );
}
- command.addArgument( repo.getRepositoryWorkspace() );
Review comment:
repo.getRepositoryWorkspace() is a value configured in pom.xml.
repo.getWorkspace() is the current workspace ("branch" in jazz terminology).
So, with the first value, if you switch branch, do some checkins and tag,
the tag is created somewhere else.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> jazz tag command creates snapshot in worng workspace
> -----------------------------------------------------
>
> Key: SCM-889
> URL: https://issues.apache.org/jira/browse/SCM-889
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-jazz
> Affects Versions: 1.9.5, 1.10.0
> Reporter: Sérgio Ozaki
> Priority: Major
>
> Jazz provider tag command uses the jazz workspace set int the pom.xml scm
> tag. When in other jazz workspace, the snapshot is not created based on the
> current work.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)