maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heck, Joe" <Joe.H...@dig.com>
Subject RE: release:prepare problem with Perforce SCM
Date Tue, 27 Feb 2007 23:40:01 GMT
I'm not sure that's 100% accurate, as we're using Perforce and are also
using the release plug-in without too much issue. 

A few quirks here and there, but mostly it's been our own learning curve
of "how to do X".

The one issue we've unexpectedly hit most recently was using a
disassociated parent POM for some inheritance "goodies", and when we
attempted to run "mvn release:prepare --batch-mode" on a project that
specified this remote POM as a parent, it attempted to submit a
changelist for the parent POM instead of the one we were actually
twiddling.

-joe

-----Original Message-----
From: users-return-65265-Joe.Heck=dig.com@maven.apache.org
[mailto:users-return-65265-Joe.Heck=dig.com@maven.apache.org] On Behalf
Of David Jackman
Sent: Tuesday, February 27, 2007 10:28 AM
To: Maven Users List
Subject: RE: release:prepare problem with Perforce SCM

We're also using Perforce, and apparently Perforce support wasn't added
to the release plugin until after the current (beta 4) release.  I
haven't seen anything about when beta 5 will release to fix this
problem, but I was able to get the release plugin code and build it
myself and releases work fine.  

Hope this helps.  If you need more information on how to get that code
and build it, I can look it up again.
..David..


-----Original Message-----
From: Heck, Joe [mailto:Joe.Heck@dig.com] 
Sent: Tuesday, February 27, 2007 11:08 AM
To: Maven Users List
Cc: Jefferson, David
Subject: RE: release:prepare problem with Perforce SCM

When you run the command with -X -e (to get all the debugging output -
i.e. mvn -X -e release:prepare ), what do you see towards that failure?

I've just run into a similar problem myself, and from what I've gathered
so far, it is related to having a parent pom that's in the repository.
Still debugging it though...

-joe

-----Original Message-----
From: users-return-64749-Joe.Heck=dig.com@maven.apache.org
[mailto:users-return-64749-Joe.Heck=dig.com@maven.apache.org] On Behalf
Of Jefferson, David
Sent: Tuesday, February 20, 2007 1:21 AM
To: users@maven.apache.org
Subject: release:prepare problem with Perforce SCM

I am evaluating maven for my company and have come across the following
problem in my test application.

I have a parent project and a child project. In the parent pom I have
the following:

<scm>
    <connection>scm:perforce://users/jeffersd/maventest</connection>
 
<developerConnection>scm:perforce://users/jeffersd/maventest</developerC
onnection>
    <url>scm:perforce://users/jeffersd/maventest</url>
</scm>

I have the P4CLIENT set in my environment. But when I do a
release:prepare I get the following error message:

[INFO] Checking in modified POMs...
[INFO] Tagging release with the label Insight-1.0...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
Tag failed
Command output:
Label Insight-1.0 not changed.

I have tried maven 2.0.4 and 2.0.5 on Windows and Unix. Any ideas?

Thanks,
Dave

--
This message may contain confidential, proprietary, or legally
privileged information. No confidentiality or privilege is waived by any
transmission to an unintended recipient. If you are not an intended
recipient, please notify the sender and delete this message immediately.
Any views expressed in this message are those of the sender, not those
of any entity within the KBC Financial Products group of companies
(together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise,
on the part of KBC FP. It is not an offer (or solicitation of an offer)
of, or a recommendation to buy or sell, any financial product. Any
prices or other values included in this message are indicative only, and
do not necessarily represent current market prices, prices at which KBC
FP would enter into a transaction, or prices at which similar
transactions may be carried on KBC FP's own books. The information
contained in this message is provided "as is", without representations
or warranties, express or implied, of any kind. Past performance is not
indicative of future returns.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message