Re: How to replace a Maven core component with a custom one?

2024-05-03 Thread Francois-Xavier Bonnet
Wed, 1 May 2024 at 08:54, Tamás Cservenák > > wrote: > > > > > > > Howdy, > > > > > > > > IF you target latest Maven 3.9.x (uses Sisu 0.9.0.M2), then: > > > > - use max Java 17 bytecode > > > > - use JSR330 instea

Re: How to replace a Maven core component with a custom one?

2024-04-30 Thread Francois-Xavier Bonnet
0.9.0.M2), then: > - use max Java 17 bytecode > - use JSR330 instead of plexus annotations > - use org.eclipse.sisu.Priority annotation to override a component > > IF you target Maven 3.8.x or so, similar, but use Java 11 bytecode max > > Thanks > T > > > On Wed, May

How to replace a Maven core component with a custom one?

2024-04-30 Thread Francois-Xavier Bonnet
Hey there, I am writing an extension that needs to replace the default ProjectDependenciesResolver with a custom one. According to the documentation I think I should be able to do it: "The mechanism allows extensions to either replace default Sisu components with custom ones or add new components

Re: Getting project classes from plugin

2016-09-05 Thread Francois-Xavier Bonnet
When I wrote builder-maven-plugin I had to do things with some project classes. What I did was scan the source code and then load the corresponding .class for each .java file found. Maybe you could do the same. The code is here:

Re: Maven and Continous Integration / Continous Delivery

2016-04-21 Thread Francois-Xavier Bonnet
Maybe this article could help: https://axelfontaine.com/blog/dead-burried.html 2016-04-20 11:07 GMT+02:00 Hohl, Gerrit : > Hello everyone, :-) > > > > I'm currently sitting on the book "Continuous Delivery" written by Jez > Humble and David Farley. > > They write that each

Re: Post processing generated sources

2016-03-22 Thread Francois-Xavier Bonnet
Hi, You may compile and execute your preprocess code using maven-builder-plugin https://javabuild.java.net/builder-maven-plugin/usage.html Le 21 mars 2016 1:05 PM, "Jens Teglhus Møller" a écrit : > Thanks for the short and precise answer. > > Any guidelines as how to organize

Re: Need help in executing a Java program and testng.xml one after other using Maven

2016-02-26 Thread Francois-Xavier Bonnet
Hi, You should be able to execute your Java program and bind it to the maven lifecycle using builder-maven-plugin: https://javabuild.java.net/ 2016-02-26 7:26 GMT+01:00 maheshbedampeta : > ​My question is that I wanted to execute a testNG suite file and a java > program

Re: Help with a pathing jar creation

2015-07-08 Thread Francois-Xavier Bonnet
Hi, As a simple workaround, you could move your local repository to somewhere with a shorter path, for example C:\r\ instead of C:\Users\mgandikota\.m2\repository\. You will just have to move the folder and update your configuration file (it should be C:\Users\mgandikota\.m2\settings.xml) by