Re: [DISCUSS] Apache Maven 4.0 with UTF-8 by default

2023-04-13 Thread Maarten Mulders
A little late to the party, but here's an off-list reply I got when Geoffrey De Smet (creator of OptaPlanner) asked me about this very same topic on Twitter: https://twitter.com/GeoffreyDeSmet/status/1646074136337215494 For those who don't want to use Twitter, let me summarise the conversation

Re: [DISCUSS] Apache Maven 4.0 with UTF-8 by default

2023-03-16 Thread Jorge Solórzano
Yes, please, that is the point, avoid to set the two properties. On Thu, Mar 16, 2023, 21:04 Guillaume Nodet wrote: > If the point is to have the default encoding set to UTF-8, which I > wholeheartedly agree with, could we go for a simple way, i.e. provide a > default value for the two propertie

Re: [DISCUSS] Apache Maven 4.0 with UTF-8 by default

2023-03-16 Thread Romain Manni-Bucau
Agree it is just about changing defaults when not set and not using any other hack which can either make us loose control/config or be hard to maintain without real gain (classfiletransformer for ex). I would have expected the xsd to get a default value so could need a new version but happy if jus

Re: [DISCUSS] Apache Maven 4.0 with UTF-8 by default

2023-03-16 Thread Guillaume Nodet
If the point is to have the default encoding set to UTF-8, which I wholeheartedly agree with, could we go for a simple way, i.e. provide a default value for the two properties project.build.sourceEncoding and project.reporting.outputEncoding, instead of modifying the Model ? It's just we have not

Re: [DISCUSS] Apache Maven 4.0 with UTF-8 by default

2023-03-16 Thread Benjamin Marwell
Big +1! On Wed, 15 Mar 2023, 15:17 Jorge Solórzano, wrote: > Hi Maven Devs, > > I want to bring up the discussion about the default encoding used in > Maven, specifically Maven 4.0+ (since it's still in alpha it could be > done for that release or possibly wait another decade), we are in > 2023,

Re: [DISCUSS] Apache Maven 4.0 with UTF-8 by default

2023-03-15 Thread Romain Manni-Bucau
+1 Le mer. 15 mars 2023 à 15:16, Jorge Solórzano a écrit : > Hi Maven Devs, > > I want to bring up the discussion about the default encoding used in > Maven, specifically Maven 4.0+ (since it's still in alpha it could be > done for that release or possibly wait another decade), we are in > 2023,

[DISCUSS] Apache Maven 4.0 with UTF-8 by default

2023-03-15 Thread Jorge Solórzano
Hi Maven Devs, I want to bring up the discussion about the default encoding used in Maven, specifically Maven 4.0+ (since it's still in alpha it could be done for that release or possibly wait another decade), we are in 2023, and we still get an encoding warning[1] that should be handled manually