I believe that the very same issue was discussed some time ago.
release:perform does a checkout based on the label. It's that pom that it
cannot find (after the checkout). Check that the scm url is correct. Also
have a look at what has been checkout, it could point at the issue:
http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#workingDirectory

/Anders

On Thu, Nov 26, 2009 at 12:15, zyd08 <[email protected]> wrote:

>
> I have some issues with using the release plugin. Basically,
> release:prepare
> can be run with no problems; but when it came to release:perform, the build
> failed with the following error:
>
> [INFO] [ERROR] BUILD ERROR
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
>
> My understanding of this message is that it cannot find pom.xml which does
> exist in my project directory. So can anyone explain how to resolve this
> please? Thanks very much in advance!
> --
> View this message in context:
> http://old.nabble.com/Error-running-release%3Aperform-tp26525584p26525584.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to