Re: Re: Maven API

2022-04-21 Thread Nick Stolwijk
Hi Maxime, In the past I have used the oga-maven-plugin [1]. This plugin has its own list of moved artifacts and can warn/fail your build when it detects a moved artifact. [1] https://github.com/jonathanlermitage/oga-maven-plugin Hth, Nick Stolwijk ~~~ Try to leave this world a little better t

RE: Re: Maven API

2022-04-21 Thread Maxime D'abreu
Hi, « What tools do you use for building your project ? » I use Maven « What is the special requirement to build own one software? » I would like to update the various dependencies and plugins of my projects. versions-maven-plugin answers part of the problem by indicating the updates. But how

Re: Maven API

2022-04-15 Thread Slawomir Jaranowski
Hi Maxime, Most build tools have tasks to display, update dependencies. For the Maven project you can simply use Versions Maven Plugin [1] [2] What tools do you use for building your project? What is the special requirement to build own one software? [1] https://www.mojohaus.org/versions-maven-p

Re: Maven API to partially edit pom.xml

2011-04-17 Thread Brett Porter
We've got some techniques to do this in the release plugin as well. It may be a good thing to build a solid API (either in Maven proper, or a shared module) either with this, the code from the release plugin, the versions plugin, or a combination of them all and then bring them all into line...

Re: Maven API to partially edit pom.xml

2011-04-13 Thread Julien HENRY
Thanks Jesse for the pointer. Actually it is on central: http://repo2.maven.org/maven2/de/pdark/decentxml/1.3/ Regards, Julien - Message d'origine > De : Jesse Glick > À : dev@maven.apache.org > Envoyé le : Mer 13 avril 2011, 16h 00min 21s > Objet : Re: Maven API

Re: Maven API to partially edit pom.xml

2011-04-13 Thread Jesse Glick
On 04/13/2011 07:56 AM, Julien HENRY wrote: I would like to know if there is a standard Maven API to edit parts of a pom.xml. I managed to parse a pom to a Model using ModelBuilder. Then I can do some modifications and write Model to file using ModelWriter. But of course it will completly rewrite

Re: Maven API to partially edit pom.xml

2011-04-13 Thread Karl Heinz Marbaise
Hi, > Is it still the recommended way? Is there a better solution with Maven 3 > API? I don't know a better oneI'm searching for a better solution as well, but i didn't one... Kind regards Karl Heinz Marbaise -- MfG Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49