• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 832
  • Last Modified:

perforce and maven release-plugin

I'm using a flat directory structure and version 2.1 of the release plugin.  When I do a release:prepare the plugin updates the pom versions and checks them in, builds all the projects, but fails when it tries to tag the code.  If I run a prepare:release on a single sub-project it labels fine.  The error I'm seeing when I run from the aggregator:
BUILD FAILURE
[INFO] -------------------------------------
[INFO] Unable to tag SCM
Provider message:
Tag failed
Command output:
Error in label specification.
Mapping '/...' is not under '//depot/...'.

Has anyone seen this?  Any help would be appreciated.
thanks
0
buckrodger
Asked:
buckrodger
  • 4
  • 4
1 Solution
 
sweetfa2Commented:
It appears to be presuming that you need a non-flat structure.
0
 
buckrodgerAuthor Commented:
But I should be able to get this to work with a flat structure.  Any Ideas?

thanks
0
 
sweetfa2Commented:
Do you have the relativeURL field in the parent pom definition:?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
buckrodgerAuthor Commented:
Do you mean "relativePath" ?  I'm not familiar with the relativeURL.  I do use the relativePath.
0
 
sweetfa2Commented:
Yep, I mean relativePath.
0
 
sweetfa2Commented:
I will try out a similiar structure against svn today and see how it behaves.
0
 
buckrodgerAuthor Commented:
I resolved this by adding the path in the scm tag.  I was initially setting the P4Client to the workspace but the view was defaulting incorrectly.
0
 
buckrodgerAuthor Commented:
I resolved it
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now