I resolved the problem when I updated to the 2.2.1 version of the plugin. By default, it looks like Maven 3 defaults to use the 2.0 version which apparently has some issues.
On Thu, Nov 3, 2011 at 7:42 AM, Mirko Friedenhagen-2 [via Maven] < ml-node+s40175n496083...@n5.nabble.com> wrote: > You could try to add -Darguments="-DpomFile=.... as these are those used > by > release:perform AFAIK. > > Regards Mirko > -- > Sent from my phone > http://illegalstateexception.blogspot.com > http://github.com/mfriedenhagen/ > https://bitbucket.org/mfriedenhagen/ > > On Nov 2, 2011 7:46 PM, "Jim Cook" <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4960834&i=0>> > wrote: > > > I have found some addiitonal examples of people having this trouble, but > no > > real solutions yet. > > > > > > > http://stackoverflow.com/questions/5558785/maven-release-plugin-git-and-the-poms-not-at-the-top > > > > > http://maven-users.828.n2.nabble.com/release-perform-with-pom-xml-in-relative-path-of-SCM-repository-td6340959.html > > > > > > I have tried specifying the name of my POM file using > > -DpomFileName=Development/pom.xml, but no success. It doesn't even seem > > that > > release:perform is even acknowledging this setting. > > > > If I was using SVN as my scm, I could specify the /Development directory > as > > my checkout source. This would result in the pom.xml appearing in the > root. > > However, I use git which I don't think I can specify a subdirectory in > my > > git project for checkout. At least not using the SCM configuration in > > Maven. > > > > -- > > View this message in context: > > > http://maven.40175.n5.nabble.com/Release-plugin-when-POM-is-not-in-root-directory-tp4956364p4958980.html > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=4960834&i=1> > > For additional commands, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=4960834&i=2> > > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://maven.40175.n5.nabble.com/Release-plugin-when-POM-is-not-in-root-directory-tp4956364p4960834.html > To unsubscribe from Release plugin when POM is not in root directory, click > here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4956364&code=bmFiYmxlQHZpc3VhbHhzLmNvbXw0OTU2MzY0fC0xNDI0OTkzNzAy>. > > -- View this message in context: http://maven.40175.n5.nabble.com/Release-plugin-when-POM-is-not-in-root-directory-tp4956364p4961176.html Sent from the Maven - Users mailing list archive at Nabble.com.