Solved

perforce and maven release-plugin

Posted on 2010-11-15
8
821 Views
Last Modified: 2012-05-10
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
Comment
Question by:buckrodger
  • 4
  • 4
8 Comments
 
LVL 17

Expert Comment

by:sweetfa2
ID: 34139640
It appears to be presuming that you need a non-flat structure.
0
 

Author Comment

by:buckrodger
ID: 34139731
But I should be able to get this to work with a flat structure.  Any Ideas?

thanks
0
 
LVL 17

Expert Comment

by:sweetfa2
ID: 34141669
Do you have the relativeURL field in the parent pom definition:?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:buckrodger
ID: 34145842
Do you mean "relativePath" ?  I'm not familiar with the relativeURL.  I do use the relativePath.
0
 
LVL 17

Expert Comment

by:sweetfa2
ID: 34148407
Yep, I mean relativePath.
0
 
LVL 17

Expert Comment

by:sweetfa2
ID: 34148425
I will try out a similiar structure against svn today and see how it behaves.
0
 

Accepted Solution

by:
buckrodger earned 0 total points
ID: 34150397
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
 

Author Closing Comment

by:buckrodger
ID: 34182488
I resolved it
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to implement Singleton Design Pattern in Java.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question