Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-3
-
Fix Version/s: 1.0-beta-4
-
Component/s: maven-scm-provider-perforce
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
A common cause of Perforce failures is due to an inherited SCM url containing the incorrect depot location (common when the child directory != child artifactId). We need to verify the depot location exists using 'p4 where'.
Updated all usage of repo.getPath() to refer through the PerforceScmProvider.getRepoPath() method which uses p4 where to "fix up" any SCM URL path issues if possible.