Of course the pom.xml is in git. It is not in the root directory and the
release:perform step does not like this. My directory structure looks
something like this:
/Documentation
/Development
    pom.xml
    /src

I believe I just need some way to tell the plugin that the working
directory is actually /Development and not the root directory.

Here is an issue that discusses a similar problem, but I don't want to
commit the parent project and all sub-modules one at a time.
http://jira.codehaus.org/browse/MRELEASE-322

-- jim


On Nov 1, 2011 6:45 PM, "Ansgar Konermann [via Maven]" <
ml-node+s40175n4956527...@n5.nabble.com> wrote:

> Am 01.11.2011 22:27, schrieb Jim Cook:
> > This is where the problem occurs, since the pom.xml is not in the
> working
> > directory.
> Just for clarity: does this mean, your pom.xml is not in the git
> repository you're trying to release?
>
> If so: DFMYL (Don't Fight Maven, You'll Lose!).
>
> Put your pom.xml under version control inside the git repository (which
> is a good idea anyway) and things will get better. Why didn't you do
> that in the first place?
>
> Best regards
>
> Ansgar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4956527&i=0>
> For additional commands, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4956527&i=1>
>
>
>
> ------------------------------
>  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-tp4956364p4956527.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-tp4956364p4958019.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to