chore: update docs/maven-gradle.md [20260518-1212]

This commit is contained in:
github-actions[bot]
2026-05-18 12:13:23 +00:00
committed by GitHub
parent 7274ccbd8f
commit 32bbb5d150

View File

@@ -31,16 +31,16 @@
- [Dzone: Installing Maven With Your JDK](https://dzone.com/articles/installing-maven)
- [Dzone: 10 Effective Tips on Using Maven](https://dzone.com/articles/10-effective-tips-on-using-maven)
- [Dzone: Building Java Applications With Maven](https://dzone.com/articles/building-java-applications-with-maven)
- [howtodoinjava.com/maven](https://howtodoinjava.com/maven//)
- [howtodoinjava.com/maven](https://howtodoinjava.com/maven///)
- [Dzone: 7 Tips to Achieve High-Availability(HA) For Your Maven Repository](https://dzone.com/articles/7-tips-to-achieve-high-availabilityha-for-your-mav-1)
- [maarten.mulders.it: What's New in Maven 4](https://maarten.mulders.it/2020/11/whats-new-in-maven-4//)
- [maarten.mulders.it: What's New in Maven 4](https://maarten.mulders.it/2020/11/whats-new-in-maven-4///)
- [dev.to: Maven Plugin Configuration - The (Unknown) Tiny Details](https://dev.to/khmarbaise/maven-plugin-configuration-the-unknown-tiny-details-1emm)
- [ashishtechmill.com: Demystifying Google Container Tool Jib: Java Image Builder](https://www.ashishtechmill.com/demystifying-google-container-tool-jib-java-image-builder) This article covers some internals of image layering created by container image builder Jib and explore what distroless images are and their benefits.
- [blog.testproject.io: Getting Started with Maven in Less Than 10 Minutes Part 1](https://blog.testproject.io/2021/06/28/getting-started-with-maven-part-1/)
- [blog.testproject.io: Getting Started with Maven in Less Than 10 Minutes Part 2](https://blog.testproject.io/2021/06/28/getting-started-with-maven-part-2/)
- Maven 3.8.2 is available now! It contains several fixes and non invasive backports from the Maven 4 branch.
- [phauer.com: Why I Moved Back from Gradle to Maven](https://phauer.com/2018/moving-back-from-gradle-to-maven//)
- [rieckpil.de: Maven Setup For Testing Java Applications](https://rieckpil.de/maven-setup-for-testing-java-applications//)
- [phauer.com: Why I Moved Back from Gradle to Maven](https://phauer.com/2018/moving-back-from-gradle-to-maven///)
- [rieckpil.de: Maven Setup For Testing Java Applications](https://rieckpil.de/maven-setup-for-testing-java-applications///)
- [baeldung.com: Remove Duplicate Dependencies with Maven](https://www.baeldung.com/maven-duplicate-dependencies)
### Scaffolding a project with Maven (maven archetype)
@@ -82,14 +82,14 @@ mvn dependency:tree (how you got something on your classpath)
- [jetbrains.com/help/idea/maven-support.html](https://www.jetbrains.com/help/idea/maven-support.html)
- [Dzone: Maven IntelliJ Idea Project](https://dzone.com/articles/importing-a-maven-project-in-intellij-idea)
- [javaspringvaadin.wordpress.com: Crea un Proyecto Maven desde el IDE IntelliJ IDEA](https://javaspringvaadin.wordpress.com/2018/05/22/mavenintellijidea/)
- [howtodoinjava.com: Maven IntelliJ Idea Project](https://howtodoinjava.com/maven//maven-java-project-with-intellij-idea//)
- [howtodoinjava.com: Maven IntelliJ Idea Project](https://howtodoinjava.com/maven///maven-java-project-with-intellij-idea//)
### Maven Plugins
- [Apache Maven Changelog Plugin](https://maven.apache.org/plugins/maven-changelog-plugin//)
- [Apache Maven Checkstyle Plugin](https://maven.apache.org/plugins/maven-checkstyle-plugin//)
- [Apache Maven Javadoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin//)
- [Maven Surefire Report Plugin](https://maven.apache.org/surefire/maven-surefire-report-plugin//)
- [Apache Maven Changelog Plugin](https://maven.apache.org/plugins/maven-changelog-plugin///)
- [Apache Maven Checkstyle Plugin](https://maven.apache.org/plugins/maven-checkstyle-plugin///)
- [Apache Maven Javadoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin///)
- [Maven Surefire Report Plugin](https://maven.apache.org/surefire/maven-surefire-report-plugin///)
### Maven Cheat Sheets
@@ -113,12 +113,12 @@ jar tf target/example-1.0.0-SNAPSHOT.jar
## Eclipse JKube (formerly known as Fabric8 Maven Plugin) - Kubernetes & OpenShift Maven and Gradle Plugins
- [Eclipse JKube 🌟](https://eclipse.dev/jkube//) Cloud-Native Java Applications without a hassle. Eclipse JKube is a collection of plugins and libraries that are used for building container images using Docker, JIB or S2I build strategies. Eclipse JKube generates and deploys Kubernetes/OpenShift manifests at compile time too. It brings your Java applications on to Kubernetes and OpenShift by leveraging the tasks required to make your application cloud-native. Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to improve your developer experience.
- [Eclipse JKube 🌟](https://eclipse.dev/jkube///) Cloud-Native Java Applications without a hassle. Eclipse JKube is a collection of plugins and libraries that are used for building container images using Docker, JIB or S2I build strategies. Eclipse JKube generates and deploys Kubernetes/OpenShift manifests at compile time too. It brings your Java applications on to Kubernetes and OpenShift by leveraging the tasks required to make your application cloud-native. Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to improve your developer experience.
- [GitHub: Eclipse JKube](https://github.com/eclipse-jkube/jkube)
- [developers.redhat.com: Migrating from Fabric8 Maven Plugin to Eclipse JKube 1.0.0](https://developers.redhat.com/blog/2020/09/21/migrating-from-fabric8-maven-plugin-to-eclipse-jkube-1-0-0/)
- [developers.redhat.com: Cloud-native Java applications made easy: Eclipse JKube 1.0.0 now available](https://developers.redhat.com/blog/2020/09/09/cloud-native-java-applications-made-easy-eclipse-jkube-1-0-0-now-available/)
- [developers.redhat.com: Java development on top of Kubernetes using Eclipse JKube](https://developers.redhat.com/blog/2020/08/24/java-development-on-top-of-kubernetes-using-eclipse-jkube/)
- [eclipse.org: Migration Guide for projects using Fabric8 Maven Plugin to Eclipse JKube 🌟](https://eclipse.dev/jkube//docs/migration-guide/)
- [eclipse.org: Migration Guide for projects using Fabric8 Maven Plugin to Eclipse JKube 🌟](https://eclipse.dev/jkube///docs/migration-guide/)
- [YouTube: Deploying a Quarkus application into Kubernetes using JKube | Cloud Tool Time | Marc Nuri 🌟](https://www.youtube.com/watch?v=HDDfdZqwM1E&ab_channel=EclipseFoundation)
- [blog.marcnuri.com: Eclipse JKube introduction: Java tools and plugins for Kubernetes and OpenShift](https://blog.marcnuri.com/eclipse-jkube-introduction-kubernetes-openshift)
- [blog.marcnuri.com: Eclipse JKube 1.4.0 is now available!](https://blog.marcnuri.com/eclipse-jkube-1-4-0)
@@ -128,7 +128,7 @@ jar tf target/example-1.0.0-SNAPSHOT.jar
- [gradle.org](https://gradle.org/)
- [docs.gradle.org: Getting Started](https://docs.gradle.org/current/userguide/getting_started.html)
- [Dzone: build a java app with gradle](https://dzone.com/articles/build-a-java-app-with-gradle)
- [Playing with gradle](https://develosapiens.wordpress.com/2015/05/08/playing-with-gradle//)
- [Playing with gradle](https://develosapiens.wordpress.com/2015/05/08/playing-with-gradle///)
- [baeldung.com: Kotlin DSL for Gradle](https://www.baeldung.com/kotlin/gradle-dsl)
- [baeldung.com: Convert a Maven Build to Gradle](https://www.baeldung.com/maven-convert-to-gradle)
@@ -139,9 +139,9 @@ jar tf target/example-1.0.0-SNAPSHOT.jar
## SDKMAN
- [SdkMan](https://sdkman.io/) is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems. It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing and listing Candidates. Formerly known as **GVM** the **Groovy enVironment Manager**, it was inspired by the very useful [RVM](https://rvm.io/) and [rbenv](https://github.com/rbenv/rbenv) tools, used at large by the Ruby community.
- [Using Jenkins Pipeline parallel stages to build Maven project with different JDKs](https://e.printstacktrace.blog/using-jenkins-pipeline-parallel-stages-to-build-maven-project-with-different-jdks//)
- [Using Jenkins Pipeline parallel stages to build Maven project with different JDKs](https://e.printstacktrace.blog/using-jenkins-pipeline-parallel-stages-to-build-maven-project-with-different-jdks///)
- **Demo:** A single Jenkinsfile, a Java Maven project, a single Dockerfile, multiple Java versions build and tested in parallel thanks to SDKMAN:
- [Using SDKMAN! as a docker image for Jenkins Pipeline - a step by step guide 🌟](https://e.printstacktrace.blog/using-sdkman-as-a-docker-image-for-jenkins-pipeline-a-step-by-step-guide//)
- [Using SDKMAN! as a docker image for Jenkins Pipeline - a step by step guide 🌟](https://e.printstacktrace.blog/using-sdkman-as-a-docker-image-for-jenkins-pipeline-a-step-by-step-guide///)
- [Multiple Java versions in a single Jenkins Pipeline using Docker and SDKMAN🌟](https://www.youtube.com/watch?v=j1lH3vOhucw) In this video, I show you how you can use Jenkins Declarative Pipeline to create a build pipeline that compiles the Maven Java project using three different Java versions (8, 11, and 15.) You will learn how to use a matrix section of the Jenkins Pipeline to define parallel stages, as well as how to create a Docker image that provides both Java and Maven using the powerful SDKMAN command-line tool. After watching this video you should feel comfortable with setting up multiple parallel stages to build your Java project using different versions of the compiler. And what is most important - it does not require creating Dockerfiles for each Java version. I will show you how to build the pipeline using just a single Dockerfile that does the job.
- [Jenkins Pipeline Maven build demo](https://github.com/wololock/jenkine-pipeline-maven-demo/tree/sdkman)