Sounds like your probably a) using subversion and b) have your <developerConection/> pom element pointing to say " http://svn/myproject" rather than "http://svn/myproject/trunk"
this will then get maven to checkout TRUNK ( which should contain the pom.xml in its root directory ) and you should be good to go. -- Pull me down under... On Sat, Sep 18, 2010 at 10:38 AM, Neil Chaudhuri < [email protected]> wrote: > On release:perform (after a successful release:prepare), two curious things > happen with my multi-module project: > > * Every tag and branch and trunk item gets downloaded to my machine. > Thus it takes a while. All I want is for the tag I just created to get > released. > > * After everything is downloaded, a file called checkout is created > in C:\myproject\parent\target, and this is the working directory. However, > the release fails with this message, "[INFO] [INFO] Cannot execute mojo: > clean. It requires a project with an existing pom.xml, but the build is not > using one." That's true of course because there is no pom in the target > directory, but there can't be. The parent pom is in > C:\myproject\parent\target\checkout\trunk\parent. > > How can I get release:perform to work faster and work with the structure I > have described? > > Thanks. >
