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
ProgrammingJava

Avatar of undefined
Last Comment
buckrodger

8/22/2022 - Mon
sweetfa2

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

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

thanks
sweetfa2

Do you have the relativeURL field in the parent pom definition:?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER
buckrodger

Do you mean "relativePath" ?  I'm not familiar with the relativeURL.  I do use the relativePath.
sweetfa2

Yep, I mean relativePath.
sweetfa2

I will try out a similiar structure against svn today and see how it behaves.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
buckrodger

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
buckrodger

I resolved it