Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

perforce and maven release-plugin

Posted on 2010-11-15
8
Medium Priority
?
831 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

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.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

618 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