Link to home
Create AccountLog in
Avatar of buckrodger
buckrodger

asked on

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
Avatar of sweetfa2
sweetfa2
Flag of Australia image

It appears to be presuming that you need a non-flat structure.
Avatar of buckrodger
buckrodger

ASKER

But I should be able to get this to work with a flat structure.  Any Ideas?

thanks
Do you have the relativeURL field in the parent pom definition:?
Do you mean "relativePath" ?  I'm not familiar with the relativeURL.  I do use the relativePath.
Yep, I mean relativePath.
I will try out a similiar structure against svn today and see how it behaves.
ASKER CERTIFIED SOLUTION
Avatar of buckrodger
buckrodger

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
I resolved it