Re: Logging in Maven Plugins - Bridging

2022-11-05 Thread Slawomir Jaranowski
Please take in consider that this topic is not about - changing logging in Maven ecosystem, - using or not third party library If you feel that is needed please start a separate thread about it. sob., 5 lis 2022 o 19:34 Elliotte Rusty Harold napisał(a): > You're right that I might as well be

Re: Logging in Maven Plugins - Bridging

2022-11-05 Thread Elliotte Rusty Harold
You're right that I might as well be talking about all third party libraries. In fact, I've said exactly that elsewhere, most recently at ApacheCon a month ago and also here: https://jlbp.dev/JLBP-1 The difference is only that we really, really don't need to take the risk for logging libraries wh

Re: Logging in Maven Plugins - Bridging

2022-11-05 Thread Romain Manni-Bucau
Le sam. 5 nov. 2022 à 19:03, Gary Gregory a écrit : > On Sat, Nov 5, 2022, 09:09 Elliotte Rusty Harold > wrote: > > > After log4shell last year, I no longer have any patience for third > > party logging libraries, full stop. > > > > Uh? CVEs have occurred in all types of libraries, there is noth

Re: Logging in Maven Plugins - Bridging

2022-11-05 Thread Gary Gregory
On Sat, Nov 5, 2022, 09:09 Elliotte Rusty Harold wrote: > After log4shell last year, I no longer have any patience for third > party logging libraries, full stop. > Uh? CVEs have occurred in all types of libraries, there is nothing about logging that makes it more CVE-prone. You might as well be

Re: Logging in Maven Plugins - Bridging

2022-11-05 Thread Elliotte Rusty Harold
After log4shell last year, I no longer have any patience for third party logging libraries, full stop. IMO logging should be done through java.util.logging, nothing else. This is fully functional since Java 1.4 twenty years ago. Log4j, slf4j, plexus-logging, etc. are all efforts to solve a problem

Re: Testing plugins in JUnit 5

2022-11-05 Thread Mark Raynsford
On 2022-11-05T12:36:55 +0100 Maarten Mulders wrote: > > One solution that I know of is the Integration Testing Framework > Extension [1] by Karl Heinz Marbaise. The documentation says the project > is in "an early state but already being useful and can be used for real > testing". > > From my

Re: Testing plugins in JUnit 5

2022-11-05 Thread Maarten Mulders
On 05/11/2022 12:07, Mark Raynsford wrote: Hello! As the subject says: Is there a documented way to write tests for plugins under JUnit 5? The only thing I've been able to find is the takari testing project: https://github.com/takari/takari-plugin-testing-project There seems to be some prel

Testing plugins in JUnit 5

2022-11-05 Thread Mark Raynsford
Hello! As the subject says: Is there a documented way to write tests for plugins under JUnit 5? The only thing I've been able to find is the takari testing project: https://github.com/takari/takari-plugin-testing-project There seems to be some preliminary support there, but it's not in any of

Re: Logging in Maven Plugins - Bridging

2022-11-05 Thread Benjamin Marwell
> Maven Plugin code should use Plugin Api for logging purpose > In shared libraries used by Maven and maintained by us - we will use SLF4J directly I asked to be allowed to put this on the logging site, but we never had consensus of this. I agree 💯 here, but ut really needs to get documented. I sa