You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christoph Kiehl <ki...@subshell.com> on 2004/12/07 15:09:13 UTC
How to persist an inherited pom into an independant pom
Hi,
I really like using inheritance for our project.xml to keep up with the
dependency versions. But for tagged releases I would like to check in an
independant project.xml to have a reproducible build.
The easiest way for me would be to persist the pom that maven merges in
memory. This way I have exactly the pom maven used for that build. Is
there a way to save the in-memory pom to a file?
Regards,
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to persist an inherited pom into an independant pom
Posted by Brett Porter <br...@gmail.com>.
You probably don't want the bare in-memory file because it contains a
lot of other stuff due to the xml parser being used.
I think this will be supported out-of-the-box in Maven 1.1. Feel free
to add a JIRA issue to make sure!
Cheers,
Brett
On Tue, 07 Dec 2004 15:09:13 +0100, Christoph Kiehl <ki...@subshell.com> wrote:
> Hi,
>
> I really like using inheritance for our project.xml to keep up with the
> dependency versions. But for tagged releases I would like to check in an
> independant project.xml to have a reproducible build.
> The easiest way for me would be to persist the pom that maven merges in
> memory. This way I have exactly the pom maven used for that build. Is
> there a way to save the in-memory pom to a file?
>
> Regards,
> Christoph
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org