Hi Fayaz,

> I want to create a pom.xml (a general template) such that all the
> configurable parameters can be picked up from a .properties during the
> maven build .

If you really need to code generate Maven projects in this way, perhaps you
would be better served doing it outside Maven itself. For example, you
could have a shell or Ant script that calls a templating engine such as
Velocity (Java) or Genshi (Python) to do the actual code generation. The
you can call Maven on your freshly generated multi-module build like usual.

Regards,
Curtis


On Sun, Mar 10, 2013 at 10:31 AM, fyzahmd <[email protected]> wrote:

> Hi Baptiste,
>
> Thanks for your response.
>
> I want to create a pom.xml (a general template) such that all the
> configurable parameters can be picked up from a .properties during the
> maven
> build .I don't want to search for the same tags in the pom.xml and edit
> them.Is there a way in Maven through which i can acheive this ?
>
>
> Thanks and Regards,
> Fayaz ahamed.
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Changing-groupID-artifactID-of-pom-xml-using-maven-properties-plugin-tp5750255p5750281.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