Learn how to avoid creating a fat JAR by packaging your own Java classes into a standalone jar while placing third‑party dependencies in a dedicated lib folder, using Maven plugins and configuration steps demonstrated with a sample project, pom.xml, and runtime command.
This guide explains how to integrate Spring Boot DevTools into a Spring Boot project to achieve automatic hot deployment and remote debugging, covering Maven dependency setup, IDE configuration, Docker packaging, and step‑by‑step code examples.
This guide explains how to set up the open‑source Arthas Tunnel Server—covering its core features, Maven build steps, IDE and command‑line startup, Docker and Helm deployment options, and integration into Spring Boot applications using the eden‑architect framework.
This article explains Java's Service Provider Interface (SPI), compares it with traditional APIs, and provides a step‑by‑step guide to create a multi‑module Maven project, custom class loader, and Spring Boot application that dynamically loads authentication plugins from external JARs.
This guide explains why Java developers often need to return multiple values, introduces the javatuples library as a lightweight solution, and walks through adding the Maven dependency, using core tuple classes, creating tuples via factories or constructors, accessing and modifying elements, and converting tuples to collections or arrays.
JUnit 5 introduces a modular architecture with Platform, Jupiter, and Vintage, adds a fresh annotation model, dynamic and parameterized tests, tagging, exception assertions, and nested tests, and offers clear advantages over JUnit 4, as demonstrated through a complete Calculator example and Maven execution.
The author reviews common Java desktop packaging methods—GraalVM, JLink, Exe4J, batch scripts, and plain JAR—detailing their advantages and drawbacks, then demonstrates a custom WinForm‑based packaging utility that bundles a Swing application and a trimmed JRE into a single executable for double‑click launch.
This article walks through analyzing a Spring Boot microservice project, configuring parent and child Maven pom files, packaging the required backend modules, and deploying both the backend JARs and the frontend static assets to a server using Java and http‑server.
This article showcases a series of real‑world development cases—from implementing a guided inventory task in a Java backend and generating Vue rule code, to writing unit tests, analyzing report data, converting SQL to Hive, debugging startup errors, publishing Maven APIs, optimizing slow SQL queries, and resolving MySQL deadlocks—demonstrating how AI‑driven prompts can accelerate coding, testing, and troubleshooting across multiple domains.
This guide explains how to split a large Java project into Maven modules, use parent‑project inheritance and aggregation to share configurations, manage dependency versions with dependencyManagement, and configure a private repository for releasing SNAPSHOT and RELEASE artifacts, complete with practical code snippets and step‑by‑step instructions.
This guide explains Java's Service Provider Interface (SPI), contrasts it with traditional APIs, and walks through creating a multi‑module Maven project that uses SPI, a custom class loader, and external JAR loading to implement a flexible authentication plugin in a Spring Boot application.
When Alibaba archived the popular EasyExcel library, developers faced uncertainty about future maintenance, memory usage, and JDK compatibility, prompting the emergence of FastExcel as a drop‑in replacement and the Apache‑incubated Fesod project, which together offer a high‑performance, low‑memory Java Excel processing ecosystem.
This guide explains how to view the Maven dependency tree using IntelliJ IDEA, the command line, or the Maven Helper plugin, identify conflicting JARs, and resolve them with exclusion rules or dependencyManagement, providing clear examples and step‑by‑step commands for Java backend developers.
This guide walks through setting up a three‑server environment (GitLab, Jenkins, test server), creating a GitLab project, configuring a Java Spring Boot application in IntelliJ, and using Jenkins with Maven, SSH Publisher, and custom pre/post steps to automatically build, package, and deploy a JAR file.
This guide walks you through setting up a Jakarta EE project, configuring Maven and WildFly, adding security constraints and login settings in web.xml, defining users and roles, and testing basic authentication with curl to protect a simple RESTful endpoint.
This step‑by‑step guide shows how to set up a three‑server environment with GitLab, Jenkins, and a test machine, configure Git repositories, create a Spring Boot project in IntelliJ, install Maven and SSH Publisher plugins in Jenkins, and automate building, packaging, and deploying a JAR file via SSH while handling cleanup and port conflicts.
This article introduces Maven‑mvnd, a daemon‑based Maven wrapper that dramatically reduces build time and resource usage for Java projects, explains its key features, provides step‑by‑step installation and configuration instructions, and compares its packaging performance against standard Maven.
This guide explains what mvnd is, how to download and install it, configure Maven and environment variables, fix PowerShell encoding issues, and presents a detailed performance comparison showing multi‑module builds can be up to 5.5× faster than using traditional Maven.
This step‑by‑step guide explains why you might need a custom Jenkins plugin, walks you through setting up Java 21 and Maven, generating a plugin project with the Jenkins archetype, building and locally testing it, and finally publishing it to the Jenkins Marketplace with best‑practice tips for security, CI, versioning, and community engagement.
The article introduces Maven mvnd, explains its daemon‑based architecture, shows benchmark results where multi‑module builds run 3.5–5.5 times faster (up to 10× for single modules), and provides step‑by‑step installation, configuration, PowerShell encoding fixes, and IDEA integration guidance.
This tutorial walks you through setting up the JDK, Maven, and a Jakarta EE‑compatible server, generating a project with the Eclipse Starter, writing a simple REST endpoint, configuring the WildFly Maven plugin, and testing the service via a browser or curl, all with concrete code examples.
This guide explains Maven's core plugin architecture, demonstrates practical configurations for flatten‑maven‑plugin and exec‑maven‑plugin, details the MOJO concept behind plugins, and walks through creating, installing, and binding a custom Maven plugin to the build lifecycle.
This guide shows how to view a Maven project's dependency tree using IDEA, the mvn command, or the Maven Helper plugin, identify version conflicts, and resolve them either by adding exclusion entries or by enforcing versions through dependencyManagement, with concrete code examples and screenshots.
This guide shows how to view the Maven dependency tree in IntelliJ, use the mvn dependency:tree command, leverage the Maven Helper plugin, identify conflicting JARs, and resolve them with exclusion rules or dependencyManagement to ensure the correct versions are used.
This guide shows how to inspect Maven's dependency tree using IntelliJ IDEA's built‑in tool, the command line, or the Maven Helper plugin, identify version conflicts, and resolve them with exclusions or dependencyManagement entries.
Learn how Maven‑mvnd accelerates Java project builds by keeping a persistent daemon, reducing JVM startup overhead, lowering CPU and memory usage, and offering seamless migration from Maven, with detailed installation, configuration, usage steps, and a speed comparison against traditional Maven builds.
This article explains that Maven is essentially a plugin framework, details how plugins like flatten-maven-plugin and exec-maven-plugin are configured and executed, introduces the MOJO concept, walks through creating a custom Maven plugin, and shows how to bind plugin goals to the build lifecycle.
Learn step‑by‑step how to set up a basic CI/CD workflow using Jenkins, Maven, and Git on three servers—GitLab for source control, Jenkins for building a Spring Boot JAR, and a test server for deployment—covering prerequisites, environment setup, Jenkins configuration, and post‑deployment scripts.
This step‑by‑step guide shows how to set up a three‑server environment with GitLab, Jenkins, and a test machine, configure Maven and SSH Publisher plugins, create a Spring Boot project, and automate code push, build, deployment, and cleanup using Jenkins pipelines and shell scripts.
This tutorial walks you through preparing the Java development environment, adding smart-socket Maven or Gradle dependencies, implementing a simple string‑based server and client with AIO, running both components, and observing the expected console output to understand the framework's basic communication workflow.
This guide outlines a flexible, modular Java backend architecture designed to improve delivery efficiency and reduce coupling, detailing the purpose, scope, project structure, module classifications, dependency rules, package management, and build configuration for architects and backend engineers.
This article explains why Gradle has become the de‑facto build tool for modern Java/Kotlin projects, showcases prominent projects that use it, compares core differences with Maven, outlines Gradle’s underlying principles, and provides a step‑by‑step learning roadmap for developers transitioning from Maven.
This step‑by‑step guide shows how to set up a three‑server environment with GitLab, Jenkins, and a test machine, create a GitLab project and token, configure Maven and Jenkins, and automate building, deploying, and running a Spring Boot JAR using SSH and cleanup scripts.
This comprehensive guide walks you through Maven's core concepts—including repository setup, basic POM coordinates, dependency management, handling transitive dependencies, exclusions, variable properties, multi‑module projects, and powerful plugins such as jar, assembly, and shade—while also covering build‑time settings like compiler version, resource exclusion, and main‑class configuration.
This guide walks you through setting up a basic CI/CD workflow using Jenkins, Maven, and Git on three servers—GitLab, Jenkins, and a test machine—covering prerequisites, project creation, pipeline configuration, Maven builds, SSH publishing, and cleanup scripts to achieve automated deployment.
This article walks through setting up three servers (GitLab, Jenkins, and a test machine), creating a GitLab project and token, configuring Maven and Jenkins plugins, defining Git, branch, and Maven settings, and implementing pre‑ and post‑steps—including a cleanup script and SSH publishing—to automatically build and deploy a Spring Boot JAR, while addressing common pitfalls such as missing manifest attributes and port conflicts.
Learn how to integrate EasyExcel into a Java Spring Boot project, covering dependency setup, entity definition, utility class creation, basic and advanced export features such as multi-level headers, merged cells, custom formatting, and large data streaming, plus common pitfalls and solutions.
This article provides a comprehensive guide to Maven, covering repository configuration, basic pom structure, dependency management, module organization, plugin usage (jar, assembly, shade), and build settings such as JDK version, resource exclusion, and main class definition, helping developers streamline Java project builds.
This guide walks you through configuring Spring Boot DevTools for automatic restart and live reload, covering Maven dependencies, plugin settings, IDE options, application property examples, usage caveats, verification steps, and alternative tools for advanced hot deployment.
This guide walks you through building an efficient CI/CD pipeline using Jenkins and Docker, covering benefits, architecture design, Maven‑based Docker image creation, Alibaba Cloud registry integration, custom Jenkins Docker image setup, permission handling, GitLab webhook configuration, and deployment automation with scripts.
This article provides a step‑by‑step guide to setting up Jenkins for automated CI/CD, covering pipeline workflow, installation, required plugins, global tool configuration, Gitee and SSH integration, Maven project setup, post‑build deployment scripts, and how to run and verify builds.
This article introduces a custom IntelliJ IDEA plugin that automates the creation of Maven multi‑module Java projects, turning a tedious half‑hour setup into a 30‑second one‑click process, while offering smart dependency wiring, customizable templates, and detailed installation and usage instructions.
This guide walks you through creating a SpringBoot parent project, adding common, business, and API‑gateway submodules, configuring dependency management, structuring the repository, isolating logs, and building or running individual modules, while highlighting common pitfalls and best‑practice layouts.
This guide explains why adding the javacv‑platform dependency inflates a Java project's JAR to hundreds of megabytes and shows how to configure Maven to include only the needed native libraries, dramatically reducing size, build time, and deployment overhead.
This guide presents a comprehensive set of methods for configuring Spring Boot Maven startup parameters—including JVM memory, active profiles, and system properties—across development, testing, and production environments, with practical examples, best‑practice recommendations, and CI/CD integration tips.
Learn to compile a Spring Boot 3.5.6 application into a fast-starting native binary using GraalVM, configure the environment, add Maven plugins, write simple test code, and package the result into a lightweight Docker image, achieving dramatically reduced startup time and image size.
This guide explains how to load external JAR files into the JVM, configure SpringBoot to recognize them, and choose among several class‑loading strategies—including expanding the classpath, using the loader.path parameter, or implementing a custom classloader—while providing Maven configuration examples and code snippets.
Class LoadingCustom ClassLoaderDynamic Configuration
This article introduces a Maven aggregation plugin for IntelliJ IDEA that automates the creation of multi‑module Java projects, detailing its core features, installation methods, step‑by‑step usage, customization options, and troubleshooting tips to dramatically reduce setup time.
This article walks you through a Maven aggregation plugin for IntelliJ IDEA that automates multi‑module project creation, configures pom dependencies, supports custom templates, and solves common setup pain points, turning a half‑hour task into a 30‑second operation.
This tutorial walks through using the Lingma AI assistant to automatically create, configure, and run a full Java Maven e‑commerce order project—including environment setup, SQLite persistence, CRUD services, unit tests, and architecture visualization—showing each prompt, command, and generated code snippet.
Discover how to dramatically speed up Java Maven multi‑module project creation by using a custom IntelliJ plugin that generates full module structures, configures dependencies, and applies best‑practice settings in seconds, complete with installation methods, usage tips, and troubleshooting advice.
This article introduces a custom IntelliJ IDEA plugin that automates the creation of Maven multi‑module projects, allowing developers to generate full directory structures, pom dependencies, and configuration files with a single command, dramatically reducing setup time from minutes to seconds.
This article explains Java's reverse domain naming convention, shows a typical Maven project layout, and outlines how using reversed domain prefixes in package names prevents naming conflicts, ensures global uniqueness, enhances readability, and supports logical layering of code modules.
This comprehensive tutorial explains what Jenkins is, why continuous integration matters, and provides detailed, platform‑agnostic instructions for installing JDK, setting up Jenkins, integrating Git and Maven, configuring credentials, enabling SSH keyless login, and creating deployment scripts to automate Java application builds and releases.
This guide explains how Spring Boot starters simplify dependency management, how the Spring Boot starter parent centralizes version control, and how to use the built‑in Maven plugin and DevTools for automatic restarts, including step‑by‑step Maven and IntelliJ configurations with code examples.
This comprehensive guide walks Java beginners through installing IDEA and JDK, explains Spring Boot 3 fundamentals, demonstrates project creation with Spring Initializr, shows Maven standard layout, configures a simple Hello World REST controller, and covers essential topics such as POM files, GAV coordinates, Maven Wrapper, static resources, templates and unit testing.
The article explains how Maven's default resource filtering corrupts binary .p12 certificates during packaging, causing Spring Boot startup failures, and provides a step‑by‑step solution using dual resource configurations and best practices for handling binary files in Java backend projects.
This article walks developers through Maven's core concepts, including repository configuration, basic project structure, dependency management, module inheritance, unified dependency versions, and common plugins such as jar, assembly, and shade, while also covering build settings like JDK version, resource exclusion, and main‑class configuration.
This article explains Java’s reverse‑domain package naming convention, illustrates it with a Maven project structure, and outlines four key advantages—collision avoidance, global uniqueness, readability, and logical layering—while showing how the open‑source mall‑swarm micro‑service project applies these principles.
This tutorial explains how to use the Maven Versions plugin to automate dependency upgrades, integrate them into CI pipelines, handle snapshots, filter unwanted versions, and apply various update goals, providing a reliable and repeatable approach to keep Java projects up‑to‑date.
This guide explains Maven's dependency scopes—including compile, provided, runtime, test, system, and import—detailing their purposes, how they affect transitive dependencies, and offering practical examples and best‑practice recommendations to help Java developers manage builds efficiently and avoid conflicts.
This tutorial explains why a Maven local repository can become corrupted, demonstrates how to identify broken dependencies, and provides step‑by‑step commands—including -U, dependency:resolve, and purge‑local‑repository—to force Maven to refresh or clean the repository safely.
This guide explains Maven’s dependency mechanism, including transitive dependencies and mediation, demonstrates ordering problems with Apache POI and OpenCSV, shows how to detect version conflicts using Maven plugins, and provides practical tips to avoid compile‑time and runtime errors in Java projects.
This article explains how Maven dependency conflicts arise, demonstrates practical troubleshooting with mvn dependency:tree, and guides you through creating a reusable Spring Boot starter to enforce consistent configurations, dramatically reducing runtime errors and improving team efficiency.
This guide explains how to improve Spring Boot configuration management by mapping external properties to Java enums using @ConfigurationProperties, demonstrating a complete example with Maven dependencies, YAML settings, enum definitions, configuration classes, a controller, and a Thymeleaf view to achieve flexible and readable code.
This guide explains two straightforward steps to load external JAR files into the JVM and make Spring Boot scan them, covering three implementation options—extending the classpath, using Spring Boot’s loader.path parameter, and creating a custom classloader—along with configuration details, Maven settings, and runtime considerations.
This article shares real‑world stories and step‑by‑step techniques for diagnosing Maven dependency conflicts, enforcing version control, and building reusable Spring Boot starters to streamline configuration, improve team efficiency, and prevent costly runtime failures.
This guide walks you through initializing a Spring Boot project, handling IDE setup frustrations, managing Spring Cloud and Kafka version compatibility, leveraging Maven for dependencies, implementing global exception handling, logging, CORS, and Swagger configurations, and recommends essential tools for efficient backend development.
Maven‑mvnd, a Maven daemon that keeps a long‑running JVM alive, dramatically speeds up Java project builds by eliminating repeated JVM startup, reducing resource consumption, supporting parallel builds, and offering seamless migration from Maven, making it ideal for large multi‑module projects and CI/CD pipelines.
Learn step‑by‑step how to create a Spring Boot multi‑module Maven project, from designing the parent and child module structure, configuring pom.xml files, writing simple application and controller code, to building and running the modules with Maven commands.
This article walks through the common frustrations of IDE and environment setup for Spring Boot projects, explains version compatibility between Spring Cloud, Spring Boot, and Kafka, demonstrates how Maven and auto‑configuration simplify dependencies, and provides ready‑to‑use code snippets and useful tooling recommendations for backend developers.
This article explains how to package a Spring Boot application using Maven profiles, generate a zip bundle with the assembly plugin, and deploy it on Linux with a reusable shell script that can start, stop, restart, or unzip the service, eliminating manual configuration for each environment.
This article walks through setting up a Java Spring Boot project, managing compatible Spring Cloud, Spring Boot and Kafka versions, handling common dependency pitfalls with Maven, and provides ready‑to‑use scaffolding code for exception handling, logging, CORS, Swagger, and response wrapping, plus a list of useful development tools.
This article outlines the motivations, challenges, and step‑by‑step solutions for migrating over 100 Java applications to JDK 21, covering dependency conflicts, module system adjustments, Maven plugin compatibility, garbage‑collector selection, and practical build and deployment practices to ensure a smooth upgrade.
This article outlines the motivations, progress, and common issues encountered when upgrading over 100 Java applications to JDK 21, including deprecated APIs, module system constraints, Maven plugin incompatibilities, and GC choices, and provides concrete migration steps, configuration templates, and best‑practice recommendations for a smooth transition.
This article explains how to activate Spring Boot DevTools for hot deployment, integrate Lombok to simplify Java beans, and add the Spring Configuration Processor for property metadata, providing step‑by‑step IDE settings, Maven dependencies, and configuration snippets for a smoother backend development experience.
This tutorial introduces Google AutoService, explains Java SPI concepts, shows Maven setup and @AutoService annotation examples, and demonstrates loading translation service providers with ServiceLoader, highlighting how the library automates SPI configuration and reduces errors.
This article explains how Maven‑mvnd accelerates Java project builds by using a long‑living daemon to avoid repeated JVM startups, reduces resource consumption, improves CI/CD feedback loops, and offers easy migration from standard Maven with no syntax changes.
This guide explains how to install jEnv, add and configure multiple JDK versions, set global and local JDKs per project, and integrate the tool with Maven and Gradle to ensure the correct Java version is used across diverse development environments.
Apache Commons Lang3 provides Pair and Triple classes that let Java developers return multiple related values without custom wrappers, offering immutable and mutable variants, easy Maven integration, and clear APIs for handling key‑value pairs and three‑element tuples, improving code readability and maintainability.
This article explains how Java developers can use ArchUnit to automatically import and analyze compiled classes, define custom architectural rules, enforce package naming conventions, prevent cyclic dependencies, and integrate the library with Maven or Gradle builds to maintain a clean, layered backend architecture.
This guide explains why and how to use Maven's dependency analysis tool to detect used undeclared and unused declared dependencies, demonstrates the required commands, interprets the warnings, and outlines best‑practice timing and risk considerations for Java backend projects.
Maven‑mvnd introduces a long‑running daemon, GraalVM native execution and seamless Maven compatibility to dramatically reduce build time, lower resource consumption, and improve feedback loops for large or multi‑module Java projects.
This guide walks you through Maven installation, local repository configuration, dependency coordinates, common Maven commands, profile usage, multi‑module project setup, the difference between dependencyManagement and dependencies, and practical Maven tricks such as installing local jars, removing version numbers from generated artifacts, and resolving dependency conflicts.
This guide explains how Maven repositories and mirrors work, the role of the mirrorOf attribute, how to set up central and third‑party repositories in pom.xml, configure mirrors in settings.xml with various matching rules, and properly configure private repository deployment with authentication and profile activation.
Learn a step‑by‑step method to integrate a third‑party SDK jar that isn’t in a Maven repository into your Java project by placing the jar in resources, adding a system‑scoped dependency, and configuring the build plugin to include it during packaging.
The article announces the Spring AI 1.0 release, provides the Maven BOM dependency, compares Spring AI with LangChain4j for Java AI development, and outlines upcoming integration, performance, and observability improvements for both frameworks amid rapid large‑model advancements.
This article explains why consistent Java code style matters, reviews major industry standards such as Google and Alibaba, guides the selection and customization of a style guide, and demonstrates how to configure IntelliJ IDEA, Checkstyle, and Maven to enforce the rules throughout development.
This article explains how Maven‑mvnd addresses slow build times, high resource consumption, frequent build latency, and multi‑project build inefficiencies by using a long‑running daemon, GraalVM native executables, and seamless Maven compatibility, providing step‑by‑step installation and usage guidance.
This tutorial demonstrates how to add Apache POI dependencies via Maven and use Java code to create an Excel workbook containing a multi‑series temperature line chart, including custom font sizes for titles and axes, and finally export the file to disk.
This guide explains how to create a fast, reliable CI/CD workflow by integrating Jenkins, Docker, Maven, and Alibaba Cloud, covering pipeline benefits, step‑by‑step configuration, Docker image building, registry push/pull, Jenkins container setup, GitLab webhook integration, and common pitfalls with suggested optimizations.
This guide explains how to configure a Maven pom.xml file, covering project coordinates, dependency scopes, dependencyManagement, exclusions, conflict resolution, lifecycle phases, goals, common plugins, profile activation, repository settings, distribution management, and modular project structure for reliable Java builds.
The article explains Maven‑mvnd, a daemon‑based Maven variant that eliminates JVM startup overhead, reduces resource consumption, and speeds up single‑ and multi‑module Java builds, while remaining compatible with existing Maven workflows and offering simple installation, configuration, and usage instructions.
This article explains how to run Maven's dependency:analyze command, interpret its warnings about used‑undeclared and unused‑declared libraries, and safely clean up Java project dependencies, while also offering quick IntelliJ IDEA shortcuts and noting related promotional offers.
This tutorial walks developers through setting up a low‑cost, containerized AI service on Windows by installing Docker, deploying Redis and Ollama containers, pulling the DeepSeek‑R1 model, and integrating everything with Spring AI to enable continuous conversation support.
This article introduces JLine 3, a Java library that adds GNU‑readline‑style features such as line editing, history, auto‑completion, and syntax highlighting to command‑line tools, and provides Maven setup, a complete code example, detailed explanation, and sample output for building robust interactive CLI applications.