Solved

perforce and maven release-plugin

Posted on 2010-11-15
8
825 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Progress

688 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