Re: Maven 4.0.0 Release - Thoughts?

2025-05-21 Thread Michael Osipov
On 2025/05/21 06:11:42 Guillaume Nodet wrote:
> Hey Maven Devs,
> 
> We're gearing up to release a new version from the master branch. I'm
> thinking we should go for 4.0.0 instead of rc-4. What do you all think? Any
> feedback or ideas on the versioning or release plan? Let’s hear it!

Slawek is working on a bigger new feature which deserves another RC...

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Maven 4.0.0 Release - Thoughts?

2025-05-21 Thread Guillaume Nodet
Hi all,

I have several significant features waiting as PRs (mixins and
cascading profiles), but I’ve decided to postpone them until 4.1.0.
For what it’s worth, several people, including the IntelliJ team, have
expressed concerns about 4.0.0 being a moving target due to the
continuous addition of new features in RCs.

I’d prefer to release 4.0.0 with a limited set of new features to
ensure stability and reserve the larger changes for 4.1.0, which we
could target for the end of year.  This could also include the upgrade
to JDK 21 since JDK 25 should be released in September.

What are your thoughts on this approach?

Best,
Guillaume Nodet

Le mer. 21 mai 2025 à 10:13, Michael Osipov  a écrit :
>
> On 2025/05/21 06:11:42 Guillaume Nodet wrote:
> > Hey Maven Devs,
> >
> > We're gearing up to release a new version from the master branch. I'm
> > thinking we should go for 4.0.0 instead of rc-4. What do you all think? Any
> > feedback or ideas on the versioning or release plan? Let’s hear it!
>
> Slawek is working on a bigger new feature which deserves another RC...
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>


--

Guillaume Nodet

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Maven 4.0.0 Release - Thoughts?

2025-05-21 Thread Mark Derricutt
On 21 May 2025 at 9:05:07 PM, Guillaume Nodet  wrote:

I’d prefer to release 4.0.0 with a limited set of new features to
> ensure stability and reserve the larger changes for 4.1.0, which we
> could target for the end of year.  This could also include the upgrade
> to JDK 21 since JDK 25 should be released in September.
>
>
As much as I keen on mixins as I won’t be able to actually use 4.0.0, I’d
down for seeing 4 get out sooner rather than later. If that helps Jetbrains
and other IDE tool vendors a stable version to work with, that’ll help with
wider adoption and upgrades.

I suspect there might be a need for a 4.0.1 etc. once it hits the wider
world as well - or more than likely, a raft of third-party plugin updates.

Mark.


Re: Maven 4.0.0 Release - Thoughts?

2025-05-21 Thread Mateusz Gajewski
+1 (nb) Greatest release of them all!

On Wed, May 21, 2025 at 08:21 Romain Manni-Bucau 
wrote:

> +1
>
> Romain Manni-Bucau
> @rmannibucau  | .NET Blog
>  | Blog 
> | Old
> Blog  | Github
>  | LinkedIn
>  | Book
> <
> https://www.packtpub.com/en-us/product/java-ee-8-high-performance-9781788473064
> >
>
>
> Le mer. 21 mai 2025 à 08:11, Guillaume Nodet  a écrit :
>
> > Hey Maven Devs,
> >
> > We're gearing up to release a new version from the master branch. I'm
> > thinking we should go for 4.0.0 instead of rc-4. What do you all think?
> Any
> > feedback or ideas on the versioning or release plan? Let’s hear it!
> >
> > Cheers,
> >
> > Guillaume
> >
>


Re: Maven 4.0.0 Release - Thoughts?

2025-05-21 Thread Matthias Bünger
Hey,
I‘ve lost the overview to the java 24 issues, but if I got it right the sisu 
0.94 can handle it. So if we are fine on running on java 24 and our 4.x plugins 
(there are  some in beta etc, look at the update parent to 44 of source-p for 
example) are final too, I think we are good to go. 
Why the plugins? Think it’s not good to say „here main is final, use the 4.x 
plugins of those exist, bit yes they are alpha/beta“. 

Another point we can consider: finish enable github issues for all relevant 
projects to make it easier and consisten for users to provide feedback/issues. 
Slawek and I are close to finish. If I have it in mind correctly about 15 repos 
left, including maven itself (long standing draft afair). 

Have a good night everyone. 
Matthias

Sent from mobile

> Am 21.05.2025 um 08:12 schrieb Guillaume Nodet :
> 
> Hey Maven Devs,
> 
> We're gearing up to release a new version from the master branch. I'm
> thinking we should go for 4.0.0 instead of rc-4. What do you all think? Any
> feedback or ideas on the versioning or release plan? Let’s hear it!
> 
> Cheers,
> 
> Guillaume


-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Maven 4.0.0 Release - Thoughts?

2025-05-21 Thread Henning Schmiedehausen
Big +1 to that. The maven 4 cycle has stretched for a long time and having
an actual release which can be targeted by the tool vendors would be a
great thing.

-h



On Wed, May 21, 2025 at 2:05 AM Guillaume Nodet  wrote:

> Hi all,
>
> I have several significant features waiting as PRs (mixins and
> cascading profiles), but I’ve decided to postpone them until 4.1.0.
> For what it’s worth, several people, including the IntelliJ team, have
> expressed concerns about 4.0.0 being a moving target due to the
> continuous addition of new features in RCs.
>
> I’d prefer to release 4.0.0 with a limited set of new features to
> ensure stability and reserve the larger changes for 4.1.0, which we
> could target for the end of year.  This could also include the upgrade
> to JDK 21 since JDK 25 should be released in September.
>
> What are your thoughts on this approach?
>
> Best,
> Guillaume Nodet
>
> Le mer. 21 mai 2025 à 10:13, Michael Osipov  a écrit
> :
> >
> > On 2025/05/21 06:11:42 Guillaume Nodet wrote:
> > > Hey Maven Devs,
> > >
> > > We're gearing up to release a new version from the master branch. I'm
> > > thinking we should go for 4.0.0 instead of rc-4. What do you all
> think? Any
> > > feedback or ideas on the versioning or release plan? Let’s hear it!
> >
> > Slawek is working on a bigger new feature which deserves another RC...
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> >
>
>
> --
> 
> Guillaume Nodet
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


Re: [HEADS UP] Maven 3.9.10 release

2025-05-21 Thread Sergey Chernov
It would be great to have 3.9.10-rc-1 available at 
https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/ similar to 
what is available for 4.0.0 versions. WDYT?
It’s much easier to use such dist instead of building own.

> On 20 May 2025, at 22:00, Tamás Cservenák  wrote:
> 
> I created one more issue and PR:
> https://github.com/apache/maven/pull/2361
> 
> See related JIRA for context.
> 
> Thanks
> T
> 
> On Tue, May 20, 2025 at 9:24 PM Slawomir Jaranowski
>  wrote:
>> 
>> Hi,
>> 
>> I hope a list of issues for 3.9.10 is finished.
>> 
>> Waiting for feedback, especially with JDK 24.
>> 
>> I'm going to release it next week.
>> 
>> 
>> On Mon, 19 May 2025 at 20:46, Slawomir Jaranowski 
>> wrote:
>> 
>>> 
>>> 
>>> On Mon, 19 May 2025 at 20:42, Tamás Cservenák  wrote:
>>> 
 Sisu? Hopefully get released tomorrow.
 
>>> 
>>> added to the list :-)
>>> 
>>> 
 
 T
 
 On Mon, May 19, 2025, 20:37 Slawomir Jaranowski 
 wrote:
 
> Hi,
> 
> We have resolved 32 issues
> 
> 
 https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20fixVersion%20%3D%203.9.10
> 
> The last one is in progress
> https://issues.apache.org/jira/browse/MNG-5913
> 
> As we have many changes, I'm inviting you for testing a snapshot
 version,
> binary distribution can be downloaded from:
> 
> 
 https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/3.9.10-SNAPSHOT/
> (please lookups for the latest build)
> 
> or build from source code:
> https://github.com/apache/maven/tree/maven-3.9.x
> 
> 
> On Thu, 24 Apr 2025 at 23:30, Slawomir Jaranowski <
 s.jaranow...@gmail.com>
> wrote:
> 
>> Hi,
>> 
>> I would like to release Maven 3.9.10
>> 
>> We have planned issues:
>> 
>> 
> 
 https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20fixVersion%20%3D%203.9.10
>> 
>> I also would like to release resolver 1.9.23
>> with issues:
>> 
>> 
> 
 https://issues.apache.org/jira/issues/?jql=project%20%3D%20MRESOLVER%20AND%20fixVersion%20%3D%201.9.23
>> 
>> I will work on it, I hope the release can be done in the next two -
 three
>> weeks.
>> Any help as usual is appreciated.
>> 
>> 
>> --
>> Sławomir Jaranowski
>> 
> 
> 
> --
> Sławomir Jaranowski
> 
 
>>> 
>>> 
>>> --
>>> Sławomir Jaranowski
>>> 
>> 
>> 
>> --
>> Sławomir Jaranowski
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
> 



Re: Maven 4.0.0 Release - Thoughts?

2025-05-21 Thread Mark Derricutt
 On 22 May 2025 at 6:19:26 PM, Hervé Boutemy  wrote:

> I don't get what plugin updates are expected: are there Maven 3 plugins
> known
> to fail on Maven 4? If yes, are they so many?
>

That I’m not sure - since we can’t run our builds under Maven 4 (tiles,
mixins, the problems of my ownn makings) I’ve not really tried M4 outside
of small projects.

I should check the OSGi bundle-maven-plugin along with the ANTLR plugins we
use.


-- 
"Great artists are extremely selfish and arrogant things" — Steven Wilson,
Porcupine Tree


Re: Maven 4.0.0 Release - Thoughts?

2025-05-21 Thread Hervé Boutemy
+1 we need a release before adding new changes

> world as well - or more than likely, a raft of third-party plugin updates.
I don't get what plugin updates are expected: are there Maven 3 plugins known 
to fail on Maven 4? If yes, are they so many?

I hope releasing Maven 4 will help clarify
which plugins will continue to be maintained as Maven 3 plugins "just working 
on Maven 4"
and which plugins will absolutely require to fork a Maven 4 branch from usual 
Maven 3 one because it's not possible to keep it simple...

Regards,

Hervé

Le mercredi 21 mai 2025, 11:22:08 CEST Mark Derricutt a écrit :
> On 21 May 2025 at 9:05:07 PM, Guillaume Nodet  wrote:
> 
> I’d prefer to release 4.0.0 with a limited set of new features to
> 
> > ensure stability and reserve the larger changes for 4.1.0, which we
> > could target for the end of year.  This could also include the upgrade
> > to JDK 21 since JDK 25 should be released in September.
> 
> As much as I keen on mixins as I won’t be able to actually use 4.0.0, I’d
> down for seeing 4 get out sooner rather than later. If that helps Jetbrains
> and other IDE tool vendors a stable version to work with, that’ll help with
> wider adoption and upgrades.
> 
> I suspect there might be a need for a 4.0.1 etc. once it hits the wider
> world as well - or more than likely, a raft of third-party plugin updates.
> 
> Mark.





-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Proposal: Reactivating PMD to Strengthen Definition of Done

2025-05-21 Thread Martin Desruisseaux
I agree with Elliotte and his example with parenthesis. I do not 
consider "unnecessary parenthesis" as a violation, since they sometime 
improve code readability. The last time that I used PMD in a big project 
(years ago), we had thousands of warnings reported as "violations" that 
we considered as false positives. We abandoned the use of PMD because 
the filtering of the false positives was too much effort. We could have 
keep PMD for a few major rules for which violations are almost always 
real errors, but those PMD rules are not so numerous and many of them 
are already covered by javac warnings.


It does not mean that PMD is bad. I have nothing against PMD if someone 
is willing to maintain its use. But I suspect that the 500 PMD 
violations may include a lot of false positives, so fixing all 
violations should not necessarily be a goal.


    Martin


Le 2025-05-21 à 00 h 06, Elliotte Rusty Harold a écrit :


Maybe. Maybe not. I don't think most of these can be simply assumed to
be correct. For instance "Unnecessary parentheses" can nonetheless be
extremely helpful in clarifying code. Removing them is in no way a
best practice. Sometimes it's a good idea. Sometimes it's actively
harmful. The same is true for a lot of other static analysis rules.
Human attention is necessary.

On Mon, May 19, 2025 at 7:37 AM Vincent Potucek  wrote:

Hi Devs,

hope you doing well.

We’re currently facing real production bugs, along with approximately 500 PMD 
and 300 SpotBugs violations. This clearly exposes a gap in our current 
Definition of Done, especially regarding best practices and principles like 
convention over configuration, maintaining code quality, and aligning with 
industry standards.

It’s the past calling—demanding attention and refusing to be ignored until 
properly addressed.

While static code analysis isn’t new to us—we already use Checkstyle and 
Spotless—these tools alone don’t cover the full range of potential issues. Each 
having its own strength, chaining them together ensures broader, more effective 
coverage.

To that end, the current PoC reintroduces PMD to help enforce Java best 
practices. By suppressing the existing 483 PMD violations, this change enables 
us to merge the configuration without blocking ongoing development—while still 
preventing new violations from being introduced:

🔗 Enable PMD with suppressed existing violations 

The following PRs address individual violations—most of which can be easily 
fixed with IDE support:

🔗 PR 2350: UnusedAssignment 
🔗 PR 2349: UnnecessaryParentheses 
🔗 PR 2348: UnnecessaryFullyQualifiedName 

We increase both quantity and quality by locking in the current state and 
enforcing stricter standards moving forward. This allows us to stop regressions 
now and tackle legacy issues incrementally after integration.

Please don’t think of best practices as vague recommendations—they are settled 
standards embraced by a wide community. The real question is: do we want to 
align with common code quality standards and industry norms?

Exceptions will be allowed using suppressions whenever justified.



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [HEADS UP] Maven 3.9.10 release

2025-05-21 Thread Slawomir Jaranowski
Hi

Snapshot build is avaliable at:

https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/3.9.10-SNAPSHOT/

look up for the latest build


śr., 21 maj 2025, 17:39 użytkownik Sergey Chernov 
napisał:

> It would be great to have 3.9.10-rc-1 available at
> https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/
> similar to what is available for 4.0.0 versions. WDYT?
> It’s much easier to use such dist instead of building own.
>
> > On 20 May 2025, at 22:00, Tamás Cservenák  wrote:
> >
> > I created one more issue and PR:
> > https://github.com/apache/maven/pull/2361
> >
> > See related JIRA for context.
> >
> > Thanks
> > T
> >
> > On Tue, May 20, 2025 at 9:24 PM Slawomir Jaranowski
> >  wrote:
> >>
> >> Hi,
> >>
> >> I hope a list of issues for 3.9.10 is finished.
> >>
> >> Waiting for feedback, especially with JDK 24.
> >>
> >> I'm going to release it next week.
> >>
> >>
> >> On Mon, 19 May 2025 at 20:46, Slawomir Jaranowski <
> s.jaranow...@gmail.com>
> >> wrote:
> >>
> >>>
> >>>
> >>> On Mon, 19 May 2025 at 20:42, Tamás Cservenák 
> wrote:
> >>>
>  Sisu? Hopefully get released tomorrow.
> 
> >>>
> >>> added to the list :-)
> >>>
> >>>
> 
>  T
> 
>  On Mon, May 19, 2025, 20:37 Slawomir Jaranowski <
> s.jaranow...@gmail.com>
>  wrote:
> 
> > Hi,
> >
> > We have resolved 32 issues
> >
> >
> 
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20fixVersion%20%3D%203.9.10
> >
> > The last one is in progress
> > https://issues.apache.org/jira/browse/MNG-5913
> >
> > As we have many changes, I'm inviting you for testing a snapshot
>  version,
> > binary distribution can be downloaded from:
> >
> >
> 
> https://repository.apache.org/content/groups/snapshots/org/apache/maven/apache-maven/3.9.10-SNAPSHOT/
> > (please lookups for the latest build)
> >
> > or build from source code:
> > https://github.com/apache/maven/tree/maven-3.9.x
> >
> >
> > On Thu, 24 Apr 2025 at 23:30, Slawomir Jaranowski <
>  s.jaranow...@gmail.com>
> > wrote:
> >
> >> Hi,
> >>
> >> I would like to release Maven 3.9.10
> >>
> >> We have planned issues:
> >>
> >>
> >
> 
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20fixVersion%20%3D%203.9.10
> >>
> >> I also would like to release resolver 1.9.23
> >> with issues:
> >>
> >>
> >
> 
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MRESOLVER%20AND%20fixVersion%20%3D%201.9.23
> >>
> >> I will work on it, I hope the release can be done in the next two -
>  three
> >> weeks.
> >> Any help as usual is appreciated.
> >>
> >>
> >> --
> >> Sławomir Jaranowski
> >>
> >
> >
> > --
> > Sławomir Jaranowski
> >
> 
> >>>
> >>>
> >>> --
> >>> Sławomir Jaranowski
> >>>
> >>
> >>
> >> --
> >> Sławomir Jaranowski
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> >
>
>