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

Maven API

2022-04-14 Thread Maxime D'abreu
Hello, I would like to create a software or script for automatic update my projects, i have already tried some APIs like https://search.maven.org/ but this one does not meet the need such as knowing if a project has been moved. Same thing for pom parsing directly from urls https://repo.mave

Re: Using the Maven API outside of a plugin?

2017-01-01 Thread Stian Soiland-Reyes
Hi, you may want to have look at Apache Taverna's plugin system which did something similar. War story below.. We initially (2007) used Maven dependencies directly by parsing pom.xml dependencies and using a set of repositories, but found this very fragile because of versioning mismatches when up

Re: Using the Maven API outside of a plugin?

2017-01-01 Thread Robert Scholte
Someone pointed me once to https://github.com/nanosai/modrun which seems to match your requirements. I haven't tried it. Robert On Sun, 01 Jan 2017 19:00:28 +0100, wrote: On 2017-01-01T17:37:26 +0100 "Robert Scholte" wrote: Hi, doing this outside the context of Maven is probably hard to

Re: Using the Maven API outside of a plugin?

2017-01-01 Thread org . apache . maven . user
On 2017-01-01T17:37:26 +0100 "Robert Scholte" wrote: > Hi, > > doing this outside the context of Maven is probably hard to do. What you > at least need is the maven-artifact-resolver[1] (that's the project where > the development of Eclipses Aether[2] continues), though is has not been > r

Re: Using the Maven API outside of a plugin?

2017-01-01 Thread Robert Scholte
Hi, doing this outside the context of Maven is probably hard to do. What you at least need is the maven-artifact-resolver[1] (that's the project where the development of Eclipses Aether[2] continues), though is has not been released yet, so right now using Aether would be an option. You'll

Using the Maven API outside of a plugin?

2017-01-01 Thread org . apache . maven . user
Apologies if this isn't an appropriate subject for this list. I tried the user list and got no response. Perhaps it is more of a development question... Hello. I'm writing a small program to analyze the dependencies of Maven projects. There are numerous examples of how to do this from within a Ma

Re: Maven API to partially edit pom.xml

2011-04-17 Thread Brett Porter
line... On 14/04/2011, at 12:00 AM, Jesse Glick wrote: > 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

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

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

Maven API to partially edit pom.xml

2011-04-13 Thread Julien HENRY
Hi, 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 the pom (loosing comments, writing

Resolving artifacts in Maven API

2009-09-21 Thread Tristan JC Rouse
Hi, I'm trying to figure out how to work the DefaultArtifactResolver class. I just need to get Maven to resolve an artifact from the remote repository and download it to the local repository and give me the path. I'm assuming that after you pass an Artifact to the DefaultArtifactResolver's resolve

Re: Resolving artifacts in Maven API

2009-09-21 Thread Tristan JC Rouse
I apologize for rewriting this without seeing Benjamin Bentmann's response to my earlier letter. I fail at using mailing lists. Thanks very much for the response. On Fri, Sep 18, 2009 at 3:30 PM, Tristan JC Rouse < tris...@tristanjcrouse.com> wrote: > Hi, > > I'm trying to figure out how to work

Re: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact

2007-08-17 Thread Andrew Williams
I agree also, publicising a restricted API has got to be a useful thing for outside developers. I was trying to do the same with the plexus container but clearly that did not go so well! Andy On 15 Aug 2007, at 16:13, John Casey wrote: The only problem here is that the expression evaluator

Re: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact

2007-08-15 Thread John Casey
15 Aug 07, at 4:42 PM 15 Aug 07, John Casey wrote: Hi, I'd like to propose that for Maven trunk/2.1 we capture all plugin- facing APIs and facades inside a single maven-api artifact. This would enumerate in a very clear fashion the public APIs that we need to support. We're app

Re: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact

2007-08-15 Thread Jason van Zyl
On 15 Aug 07, at 4:42 PM 15 Aug 07, John Casey wrote: Hi, I'd like to propose that for Maven trunk/2.1 we capture all plugin- facing APIs and facades inside a single maven-api artifact. This would enumerate in a very clear fashion the public APIs that we need to support.

Re: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact

2007-08-15 Thread John Casey
The only problem here is that the expression evaluator is meant to give access to build state, not components in the system...which is why the @component annotation is handled in a completely parallel subsystem. Obviously, plugins _can_ access basically any component in the container (whi

Re: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact

2007-08-15 Thread John Casey
l in the long term the public API of the individual modules should be well defined enough that it isn't an issue any more. - brett On 16/08/2007, at 12:42 AM, John Casey wrote: Hi, I'd like to propose that for Maven trunk/2.1 we capture all plugin- facing APIs and facades inside a sing

RE: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact

2007-08-15 Thread Brian E. Fox
tself. -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 10:43 AM To: Maven Developers List Subject: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact Hi, I'd like to propose that for Maven trunk/2.1 we c

Re: [PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact

2007-08-15 Thread Brett Porter
he public API of the individual modules should be well defined enough that it isn't an issue any more. - brett On 16/08/2007, at 12:42 AM, John Casey wrote: Hi, I'd like to propose that for Maven trunk/2.1 we capture all plugin- facing APIs and facades inside a single maven-api artifac

[PROPOSAL] Capture all plugin-friendly APIs/facades in single maven-api artifact

2007-08-15 Thread John Casey
Hi, I'd like to propose that for Maven trunk/2.1 we capture all plugin- facing APIs and facades inside a single maven-api artifact. This would enumerate in a very clear fashion the public APIs that we need to support. We're approaching a turning point in Maven, where we'll

Re: [m2] help with maven API

2007-01-18 Thread dvicente
Thanks Vincent it's awesome -- View this message in context: http://www.nabble.com/-m2--help-with-maven-API-tf3033510s177.html#a8433298 Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscri

Re: [m2] help with maven API

2007-01-18 Thread Vincent Siveton
> >> I want to be able to be sure to be able to recover the absolute path >> parameter "reportsDirectory" of Surefire for each module while passing by >> the API one. >> >> If somebody has an idea of API which could do that? (Plexus, Maven >> Model….)

Re: [m2] help with maven API

2007-01-18 Thread dvicente
gt;> the API one. >> >> If somebody has an idea of API which could do that? (Plexus, Maven >> Model….) >> >> thank you in advance for your assistance >> -- >> View this message in context: >> http://www.nabble.com/-m2--help-with-maven-API-tf3033510

Re: [m2] help with maven API

2007-01-18 Thread Vincent Siveton
e to recover the absolute path parameter "reportsDirectory" of Surefire for each module while passing by the API one. If somebody has an idea of API which could do that? (Plexus, Maven Model….) thank you in advance for your assistance -- View this message in context: http://www.nabble.co

[m2] help with maven API

2007-01-18 Thread dvicente
://www.nabble.com/-m2--help-with-maven-API-tf3033510s177.html#a8428681 Sent from the Maven Developers mailing list archive at Nabble.com.