You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by konkere <em...@inbox.ru> on 2008/03/08 12:41:05 UTC

is there a POM Java API?

hi there.

my question is simple: has Maven got a reusable API to do with POM fiddling?
what i want to do is to integrate mvn with our existing build/release system
and especially generate/automatically correct  POMs. and i just don't want
to deal with parsing and validating POMs myself, so i wonder, whether Maven
can do it for me :).
-- 
View this message in context: http://www.nabble.com/is-there-a-POM-Java-API--tp15912839s177p15912839.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: is there a POM Java API?

Posted by konkere <em...@inbox.ru>.
well org.apache.maven.model.io.xpp3 does all the stuff, but now i experience
that the pom.xml it generates using a Model object constructed by myself is
just empty o.O. are there any requirements on that?
-- 
View this message in context: http://www.nabble.com/is-there-a-POM-Java-API--tp15912839s177p15976493.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: is there a POM Java API?

Posted by Nick Stolwijk <ni...@planet.nl>.
I know that the Release plugin does POM changes (version), so I would 
look in their sourcecode how they do it.

With regards,

Nick S.

konkere wrote:
> hi there.
>
> my question is simple: has Maven got a reusable API to do with POM fiddling?
> what i want to do is to integrate mvn with our existing build/release system
> and especially generate/automatically correct  POMs. and i just don't want
> to deal with parsing and validating POMs myself, so i wonder, whether Maven
> can do it for me :).
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org