You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matt Walsh <mw...@chartwelltechnology.com> on 2012/04/25 23:50:46 UTC

Bad error message on maven-release-plugin

Hi.

 

D'oh! Just spent half an hour trying to figure out why I couldn't do a
release. Hopefully this will keep someone else from doing the same.

 

Kept getting the following error message:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-release-plugin:2.2.1:perform
(default-cli) on project parent: No SCM URL was provided to perform the
release from -> [Help 1]

 

Of course, all I'm looking at is the "No SCM URL ..." part of the
message and pulling my hair out because the scm url is in the pom.

 

The problem was I was thinking "prepare" but typing "perform".

 

Perhaps a more useful message would be the above plus ... "HAVE YOU DONE
A PREPARE?" - given that the release.properties file doesn't exist until
you run release:perform.

 

I know I'm not the only one to run into this problem, cause there's lots
of hits on Google. 

 

Matt


______________________________________________________________________
This message, including any attachments, is confidential and contains information intended only for the person(s) named above. Any other distribution, copying or disclosure is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify us immediately by reply email and permanently delete the original transmission from all of your systems and hard drives, including any attachments, without making a copy.

RE: Bad error message on maven-release-plugin

Posted by Matt Walsh <mw...@chartwelltechnology.com>.
See -- Did it again! :-(

>  - given that the release.properties file doesn't exist
> until
> you run release:perform.
>

I mean to say " ... until you do a release:prepare".

> -----Original Message-----
> From: Matt Walsh [mailto:mwalsh@chartwelltechnology.com]
> Sent: Wednesday, April 25, 2012 3:51 PM
> To: Maven Users List
> Subject: Bad error message on maven-release-plugin
> 
> Hi.
> 
> 
> 
> D'oh! Just spent half an hour trying to figure out why I couldn't do a
> release. Hopefully this will keep someone else from doing the same.
> 
> 
> 
> Kept getting the following error message:
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-release-plugin:2.2.1:perform
> (default-cli) on project parent: No SCM URL was provided to perform
the
> release from -> [Help 1]
> 
> 
> 
> Of course, all I'm looking at is the "No SCM URL ..." part of the
> message and pulling my hair out because the scm url is in the pom.
> 
> 
> 
> The problem was I was thinking "prepare" but typing "perform".
> 
> 
> 
> Perhaps a more useful message would be the above plus ... "HAVE YOU
> DONE
> A PREPARE?" - given that the release.properties file doesn't exist
> until
> you run release:perform.
> 
> 
> 
> I know I'm not the only one to run into this problem, cause there's
> lots
> of hits on Google.
> 
> 
> 
> Matt
> 
> 
> ______________________________________________________________________
> This message, including any attachments, is confidential and contains
> information intended only for the person(s) named above. Any other
> distribution, copying or disclosure is strictly prohibited. If you are
> not the intended recipient or have received this message in error,
> please notify us immediately by reply email and permanently delete the
> original transmission from all of your systems and hard drives,
> including any attachments, without making a copy.

______________________________________________________________________
This message, including any attachments, is confidential and contains information intended only for the person(s) named above. Any other distribution, copying or disclosure is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify us immediately by reply email and permanently delete the original transmission from all of your systems and hard drives, including any attachments, without making a copy.

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