[ANN] Apache Maven Toolchains Plugin 3.2.0

2024-04-21 Thread Olivier Lamy
The Apache Maven team is pleased to announce the release of the Apache Maven Toolchains Plugin, version 3.2.o The Toolchains Plugins enable sharing tool configuration across plugins. For example, to make sure that plugins like compiler, surefire, and javadoc all use the same JDK for execution,

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
On 21/04/2024 19:03, Jeff Jensen wrote: > Sorry for the vagueness. I meant something even simpler - running the > Checkstyle goal separately, probably in two Maven executions similar to: > mvn checkstyle:checkstyle > mvn install -Dcheckstyle.skip=true I have ended up having to do something

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread Jeff Jensen
Sorry for the vagueness. I meant something even simpler - running the Checkstyle goal separately, probably in two Maven executions similar to: mvn checkstyle:checkstyle mvn install -Dcheckstyle.skip=true On Sun, Apr 21, 2024 at 12:35 PM wrote: > On 21/04/2024 15:59, Jeff Jensen wrote: > >

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
On 21/04/2024 15:59, Jeff Jensen wrote: > Have you considered only running the checkstyle goal, from the parent so it > processes all modules, before the full build goal(s)? > There are two ways that I can interpret this: 1. Set the execution in the parent so that all of the child modules

Re: Can properties be inherited like I expect them to be?

2024-04-21 Thread Gary Gregory
Hi Tamas, Thank you for looking into this! Gary On Sun, Apr 21, 2024 at 10:27 AM Tamás Cservenák wrote: > > Howdy, > > I did locally this > https://gist.github.com/cstamas/25f6c978d3eb0823fd0af8ef25c08d6f > > And I think I got the behaviour that you expect. > > Given a project can be built

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread Jeff Jensen
Have you considered only running the checkstyle goal, from the parent so it processes all modules, before the full build goal(s)? On Sun, Apr 21, 2024 at 9:27 AM wrote: > Hello! > > I've been using the maven-checkstyle-plugin for many years now. Almost > all of my projects are heavily

Re: Can properties be inherited like I expect them to be?

2024-04-21 Thread Tamás Cservenák
Howdy, I did locally this https://gist.github.com/cstamas/25f6c978d3eb0823fd0af8ef25c08d6f And I think I got the behaviour that you expect. Given a project can be built only with Java8+ this should be ok. T On Sun, Apr 21, 2024 at 4:03 PM Gary Gregory wrote: > Hi, > > A POM can't seem to

Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
Hello! I've been using the maven-checkstyle-plugin for many years now. Almost all of my projects are heavily multi-module, and I have a fairly traditional setup where a checkstyle plugin execution is defined in my organization-wide POM, and inherited by all modules in all projects. I run

Can properties be inherited like I expect them to be?

2024-04-21 Thread Gary Gregory
Hi, A POM can't seem to inherit a parent POM configuration with properties redefined in a child POM profile. Am I doing something wrong? For example: git clone https://gitbox.apache.org/repos/asf/commons-bcel.git cd commons-bcel git checkout eba45c05365fc89b0007296fc3ee188cca5d091d maven This