Skip to content

Instantly share code, notes, and snippets.

View gnodet's full-sized avatar

Guillaume Nodet gnodet

  • Red Hat
  • Caen, France
View GitHub Profile
@gnodet
gnodet / mvnd-2.0.0-rc-3.md
Created March 10, 2025 20:51
mvnd 2.0.0-rc-3 release notes
@gnodet
gnodet / maven-4.0.0-rc-3.md
Created March 5, 2025 10:23
Apache Maven 4.0.0-rc-3 release notes

What's Changed

  • [MNG-8435] Bump net.bytebuddy:byte-buddy from 1.15.10 to 1.15.11 by @dependabot in apache/maven#1984
  • [MNG-8437] mvnsh by @cstamas in apache/maven#1982
  • [MNG-8438] maven-jline: Migrate to Maven DI (off javax.inject) by @cstamas in apache/maven#1987
  • [MNG-8442] Bump eu.maveniverse.maven.plugins:bom-builder3 from 1.0.2 to 1.0.3 by @dependabot in apache/maven#1990
  • [MNG-8441] Bump org.junit:junit-bom from 5.11.3 to 5.11.4 by @dependabot in apache/maven#1989
  • [MNG-8440] Bump org.junit.jupiter:junit-jupiter from 5.11.3 to 5.11.4 by @dependabot in apache/maven#1988
  • [MNG-8433] Use the switch expressions syntax by @CrazyHZM in apache/maven#1983
  • [MNG-8436] Fix wrong transfer rates displayed in console by @gnodet in apache/maven#1985
  • Exclude maven-xml and maven-xml-impl (the artifact has been renamed
@gnodet
gnodet / sshd-2.15.0.md
Created February 12, 2025 12:38
Apache MINA SSHD 2.15.0 release notes (draft)

What's Changed

  • GH-618: Fix reading an OpenSshCertificate from a Buffer by @tomaswolf in apache/mina-sshd#619
  • Add interface to configure details of JGit's pack implementation by @JohnnyJayJay in apache/mina-sshd#617
  • ML-KEM key exchanges using Bouncy Castle 1.79 by @tomaswolf in apache/mina-sshd#629
  • GH-628: Fix reading directories with trailing blanks in the name by @tomaswolf in apache/mina-sshd#630
  • GH-626: Enable Streaming.Async for ChannelDirectTcpip by @tomaswolf in apache/mina-sshd#631
  • Sftp server ‘ls’ command timeout by @Main-Tomi in apache/mina-sshd#634
  • GH-636: Handle unknown key types in known_hosts by @tomaswolf in apache/mina-sshd#638
  • GH-643: provide interfaces for caching file attributes on paths by @tomaswolf in apache/mina-sshd#645
  • Bouncy Castle EdDSA / Ed25519 Support by @ianjoneill in ht
diff --git a/impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultRemoteRepository.java b/impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultRemoteRepository.java
index 7bb02e4d5b..85de3f664a 100644
--- a/impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultRemoteRepository.java
+++ b/impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultRemoteRepository.java
@@ -18,6 +18,8 @@
*/
package org.apache.maven.impl;
+import java.util.Objects;
+

LIVRET POUR AIDER À SE CONFESSER

"Je suis le Seigneur ton Dieu qui t’a libéré d’Égypte. Tu aimeras le Seigneur ton Dieu de tout ton cœur, de toute ton âme, de toute ta force et de tout ton esprit. (Dt 5-6) ... Et tu aimeras ton prochain comme toi-même" (Lv 19)

J’examine ma conscience.

J’ai confiance en Dieu qui est toute miséricorde.

Je demande l’aide de la Sainte Vierge, notre Mère, du Saint ont je porte le nom et de tous les Saints, de mon Ange gardien et de tous les Anges.

@gnodet
gnodet / Maven4Migration.java
Created January 8, 2025 20:44
JBang script to startup migrating a plugin to the Maven 4 API
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS com.github.javaparser:javaparser-core:3.25.7
//DEPS org.apache.commons:commons-lang3:3.14.0
//DEPS info.picocli:picocli:4.7.5
//DEPS org.dom4j:dom4j:2.1.4
//JAVA 17
import com.github.javaparser.JavaParser;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.ImportDeclaration;
@gnodet
gnodet / plugin-migration.md
Last active January 9, 2025 00:48
Migrating a plugin to Maven 4

Script

The below rules and steps are mostly automated by simply running the Maven4Migration.java jbang script in the plugin directory.

Rules

The rules are quite simple

  • the plugin can only depend on org.apache.maven:maven-api-* artifacts (no any other maven related artifacts) at compile time
  • avoid plexus artifacts at compile time
  • mojo annotations are now in org.apache.maven.api.plugin.annotations package
@gnodet
gnodet / maven-4.0.0-rc-2.md
Last active December 14, 2024 07:19
Maven 4.0.0-rc-2 release notes

What's Changed

@gnodet
gnodet / create-jira-link-pr.sh
Created December 8, 2024 22:07
Script creating a JIRA issue for a given PR
@gnodet
gnodet / maven-archiver-4.0.0-beta-3.md
Last active November 27, 2024 17:10
Apache Maven Archiver 4.0.0-beta-3 release notes