Tagged articles

Maven

749 articles · Page 5 of 8
Architect's Tech Stack
Architect's Tech Stack
Nov 21, 2022 · Backend Development

How to Obfuscate Java Projects Using ProGuard and Maven

This guide explains Java compilation basics, the need for code obfuscation, provides a complete ProGuard configuration file, shows how to integrate the ProGuard Maven plugin into a pom.xml, and demonstrates building an obfuscated JAR with Maven.

JavaMavenobfuscation
0 likes · 7 min read
How to Obfuscate Java Projects Using ProGuard and Maven
Sohu Tech Products
Sohu Tech Products
Nov 17, 2022 · Information Security

How to Obfuscate Java Projects Using ProGuard and Maven

This article explains the concepts of Java compilation and decompilation, introduces code obfuscation with ProGuard, and provides step‑by‑step Maven configuration to protect Java applications from reverse engineering, including sample configuration files and build commands.

Build ToolsMavencode protection
0 likes · 7 min read
How to Obfuscate Java Projects Using ProGuard and Maven
Code Ape Tech Column
Code Ape Tech Column
Nov 17, 2022 · Information Security

Java Code Obfuscation with ProGuard: A Step‑by‑Step Guide

This article explains how Java source files are compiled into class files, how they can be decompiled, and provides a detailed, code‑rich tutorial on protecting a Spring Boot project by configuring ProGuard through a proguard.cfg file and Maven plugin to produce an obfuscated JAR.

Backend DevelopmentJavaMaven
0 likes · 7 min read
Java Code Obfuscation with ProGuard: A Step‑by‑Step Guide
DaTaobao Tech
DaTaobao Tech
Oct 25, 2022 · Backend Development

MapStruct and Lombok Integration: Maven Dependency Order and Advanced Usage

The article explains that when using MapStruct with Lombok, Maven must list Lombok before MapStruct (or define annotationProcessorPaths) so Lombok’s annotation processor runs first, and then demonstrates basic and advanced mapping techniques, Spring integration, and singleton caching strategies.

Annotation ProcessingJavaLombok
0 likes · 17 min read
MapStruct and Lombok Integration: Maven Dependency Order and Advanced Usage
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 20, 2022 · Backend Development

Designing a Unified Base Package for Backend Projects: Maven Dependencies, Standardized Response Body, and Data Object Segmentation

This article explains how to construct a reusable base package for backend systems by defining Maven dependency guidelines, a unified response body with business codes, proper data object layers such as PO, BO, DTO, VO, and pagination utilities, while illustrating the concepts with concrete Java code examples.

API DesignDDDDTO
0 likes · 11 min read
Designing a Unified Base Package for Backend Projects: Maven Dependencies, Standardized Response Body, and Data Object Segmentation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2022 · Backend Development

Structuring Maven Multi‑Module Projects and Building a Common Framework for Backend Services

This article explains why and how to split a Spring Boot project into Maven modules, defines a common framework with clearly separated modules such as api, base, rpc, service, interaction, and start, and provides practical steps and code snippets for managing dependencies in complex backend applications.

Backend DevelopmentCommon FrameworkMaven
0 likes · 7 min read
Structuring Maven Multi‑Module Projects and Building a Common Framework for Backend Services
Top Architect
Top Architect
Oct 10, 2022 · Backend Development

Integrating Dubbo with Nacos in Spring Boot: A Step‑by‑Step Example

This article provides a practical step‑by‑step guide to integrating Dubbo with Nacos in a Spring Boot project, covering environment setup, Maven configuration, module creation for public API, provider and consumer services, and testing the RPC call, while highlighting version compatibility and common pitfalls.

MavenMicroservicesNacos
0 likes · 18 min read
Integrating Dubbo with Nacos in Spring Boot: A Step‑by‑Step Example
Top Architect
Top Architect
Oct 9, 2022 · Backend Development

JMH – Java Microbenchmark Harness: Introduction, Demo, and Annotation Guide

This article introduces JMH, the official Java microbenchmarking tool, explains why warm‑up is needed, shows how to build a Maven project, provides a complete LinkedList iteration benchmark example, demonstrates common JMH annotations, and outlines how to run and interpret benchmark results.

BenchmarkingJMHJava
0 likes · 16 min read
JMH – Java Microbenchmark Harness: Introduction, Demo, and Annotation Guide
Java High-Performance Architecture
Java High-Performance Architecture
Oct 8, 2022 · Backend Development

How to Quickly Integrate Dubbo with Nacos in Spring Boot: A Step‑by‑Step Guide

This tutorial walks through building a simple Dubbo‑Nacos integration using Spring Boot, covering environment setup, Maven project structure, dependency management, service interface definition, provider and consumer modules, configuration files, and a test call, enabling rapid development of high‑performance Java microservices.

DubboJavaMaven
0 likes · 21 min read
How to Quickly Integrate Dubbo with Nacos in Spring Boot: A Step‑by‑Step Guide
Code Ape Tech Column
Code Ape Tech Column
Oct 5, 2022 · Backend Development

Spring Boot 2.7 Upgrade Pitfalls and Solutions

This article provides a comprehensive guide to upgrading Spring Boot to version 2.7, detailing common issues such as missing dependencies, logging conflicts, circular bean references, Swagger configuration changes, Flyway compatibility, JUnit version mismatches, and JSON Long precision loss, along with concrete code‑based solutions.

BackendFlywayJava
0 likes · 14 min read
Spring Boot 2.7 Upgrade Pitfalls and Solutions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2022 · Backend Development

Unified Maven Dependency Management for Multi‑Module Java Projects

This article explains how Java developers can use Maven’s dependency‑management features to create a centralized version‑control system that unifies third‑party library versions across multiple modules and services, reducing upgrade pain, avoiding version conflicts, and establishing a solid foundation for scalable backend architecture.

JavaMavenMulti-Module
0 likes · 11 min read
Unified Maven Dependency Management for Multi‑Module Java Projects
DaTaobao Tech
DaTaobao Tech
Sep 14, 2022 · Backend Development

Optimizing Maven Surefire Parallel Execution for Large-Scale Unit Tests

The Taobao User Operations Platform team reduced CI unit‑test time from fifty minutes to ten by configuring Maven Surefire to reuse forks, use a fork count of twice the CPU cores, and run methods in parallel with an appropriate thread count, achieving faster builds while keeping failure rates low.

CIJUnitJava
0 likes · 10 min read
Optimizing Maven Surefire Parallel Execution for Large-Scale Unit Tests
Cognitive Technology Team
Cognitive Technology Team
Sep 3, 2022 · Backend Development

Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages

This article explains why a Spring Boot application that runs fine in an IDE may throw NoSuchMethodError or NoSuchFieldError when packaged as an executable jar, and provides systematic steps—including JVM class‑loading flags, Maven enforcer rules, and class‑path inspection—to locate and resolve the root cause.

Backend DevelopmentClass LoadingMaven
0 likes · 6 min read
Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages
Sanyou's Java Diary
Sanyou's Java Diary
Aug 25, 2022 · Backend Development

Effortlessly Update Maven Versions Across Hundreds of Modules

This guide shows two reliable Maven techniques—using the versions-maven-plugin and a placeholder with the flatten-maven-plugin—to safely update version numbers across dozens of modules without manual errors or risky global replacements.

Mavenbuild automationflatten-maven-plugin
0 likes · 6 min read
Effortlessly Update Maven Versions Across Hundreds of Modules
Programmer DD
Programmer DD
Aug 22, 2022 · Operations

Automate Spring Boot Deployment with Jenkins, Docker, and One‑Click CI/CD

This guide walks through installing Docker and Jenkins on CentOS 7, configuring Jenkins with necessary plugins, setting up Maven, creating a Jenkins pipeline to pull, build, and containerize a Spring Boot project, and finally testing and running the application automatically, providing a complete one‑click CI/CD solution.

CI/CDCentOSDocker
0 likes · 8 min read
Automate Spring Boot Deployment with Jenkins, Docker, and One‑Click CI/CD
Programmer DD
Programmer DD
Aug 17, 2022 · Backend Development

How to Build a Netty WebSocket Server with Spring Boot and Java

This tutorial walks through creating a Netty‑based WebSocket server in Java, adding Maven dependencies, integrating it with a SpringBootApplication, implementing server and channel handlers, crafting a simple HTML client, and extending the setup to support URL parameters, complete with code examples and screenshots.

JavaMavenNetty
0 likes · 12 min read
How to Build a Netty WebSocket Server with Spring Boot and Java
Programmer DD
Programmer DD
Aug 4, 2022 · Backend Development

Build a Netty‑Powered Instant Chat Plugin for IntelliJ IDEA – Full Guide

This article introduces XEChat‑Idea, a Netty‑based instant messaging and game‑battle plugin for IntelliJ IDEA, detailing its features, project structure, required environment, step‑by‑step build, run and deployment instructions for both the server and the IDEA plugin, and how to install it locally.

Chat PluginGradleIntelliJ IDEA
0 likes · 5 min read
Build a Netty‑Powered Instant Chat Plugin for IntelliJ IDEA – Full Guide
Architecture Digest
Architecture Digest
Aug 3, 2022 · Backend Development

How to Retrieve Client IP and Use ip2region for IP Geolocation in Java

This article explains how to obtain a user's IP address from an HttpServletRequest, introduces the ip2region offline IP‑location library, demonstrates Maven integration and multiple Java query implementations—including file‑only, vector‑index, and full‑memory caching—while providing benchmark and testing instructions.

HttpServletRequestIP GeolocationJava
0 likes · 15 min read
How to Retrieve Client IP and Use ip2region for IP Geolocation in Java
Java Backend Technology
Java Backend Technology
Jul 23, 2022 · Backend Development

Gradle vs Maven: Install, Wrapper, and Dependency Management Explained

Gradle offers a modern, flexible alternative to Maven for Java projects, with faster builds, concise Groovy scripts, powerful dependency scopes, easy installation via binaries, package managers, or the Gradle Wrapper, plus configurable mirrors and proxy settings, making it ideal for backend development workflows.

Build ToolsGradleGradle Wrapper
0 likes · 12 min read
Gradle vs Maven: Install, Wrapper, and Dependency Management Explained
macrozheng
macrozheng
Jul 22, 2022 · Backend Development

Build an Instant Chat & Game Plugin for IntelliJ IDEA with Netty

This guide walks you through installing, using, and deploying a Netty‑based instant messaging and game plugin for IntelliJ IDEA, covering setup steps, chat commands, game play, server deployment with Maven, and how to explore its source code for learning.

IntelliJJavaMaven
0 likes · 4 min read
Build an Instant Chat & Game Plugin for IntelliJ IDEA with Netty
IT Services Circle
IT Services Circle
Jul 15, 2022 · Backend Development

How to Retrieve IP Geolocation in Java Using ip2region

This tutorial explains how to obtain a user's IP address from an HttpServletRequest, interpret the IP using the ip2region offline database, and display the corresponding province or country in a Java backend application, including code examples and Maven integration.

BackendIP GeolocationJava
0 likes · 11 min read
How to Retrieve IP Geolocation in Java Using ip2region
Java High-Performance Architecture
Java High-Performance Architecture
Jul 5, 2022 · Backend Development

How Spring Boot Auto‑Configures Embedded Tomcat: A Deep Dive

This article explains Spring Boot’s auto‑configuration mechanism, focusing on how the spring‑boot‑autoconfigure module automatically sets up the embedded Tomcat server, detailing the relevant Maven dependencies, configuration classes, conditional annotations, and the lifecycle steps that create and start the Tomcat container.

Auto-configurationEmbedded TomcatJava
0 likes · 15 min read
How Spring Boot Auto‑Configures Embedded Tomcat: A Deep Dive
Programmer DD
Programmer DD
Jun 16, 2022 · Backend Development

Mastering Alibaba’s COLA: Clean Object‑Oriented Layered Architecture for Backend Services

COLA (Clean Object‑Oriented & Layered Architecture) is Alibaba’s open‑source framework that defines a structured, layered approach to reduce system entropy, offering both an architectural guide and a suite of reusable components—plus Maven archetypes and step‑by‑step commands to quickly generate and run a functional backend service.

COLAJavaMaven
0 likes · 4 min read
Mastering Alibaba’s COLA: Clean Object‑Oriented Layered Architecture for Backend Services
Top Architect
Top Architect
May 29, 2022 · Information Security

Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration

This article provides a comprehensive tutorial on implementing Single Sign‑On using the open‑source CAS solution, covering the concepts of SSO and CAS, required development environment, server‑side deployment, client integration with Spring Boot, configuration details, and a complete end‑to‑end testing workflow.

CASJavaMaven
0 likes · 9 min read
Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration
IT Services Circle
IT Services Circle
May 8, 2022 · Backend Development

Integrating AJ-Captcha Behavioral Verification in Spring Boot Applications

This article introduces the AJ-Captcha library, explains its sliding‑puzzle and click‑based behavior verification types, and provides a step‑by‑step guide with Maven configuration, front‑end integration code, and Spring Boot backend verification to replace traditional graphic captchas.

AJ-CaptchaBehavioral CaptchaFront‑End Integration
0 likes · 9 min read
Integrating AJ-Captcha Behavioral Verification in Spring Boot Applications
Architect's Tech Stack
Architect's Tech Stack
May 1, 2022 · Backend Development

Using JMH for Java Microbenchmarking: A Comprehensive Guide

This article introduces Java Microbenchmark Harness (JMH), explains why warm‑up is needed, walks through project setup with Maven, demonstrates benchmark code for LinkedList iteration, details common JMH annotations, shows how to run and interpret results, and concludes with practical usage tips, while also mentioning a promotional book giveaway.

JMHJavaMaven
0 likes · 12 min read
Using JMH for Java Microbenchmarking: A Comprehensive Guide
Programmer DD
Programmer DD
Apr 22, 2022 · Backend Development

Master FastJSON 2.0: Maven Setup, Core APIs, and JSONPath Guide

This article introduces FastJSON 2.0, explains how to add the Maven dependency, outlines the main classes and methods for JSON, JSONB, and JSONPath, and provides code examples for serializing and deserializing Java objects as well as partial parsing with JSONPath.

JSONJSONPathJava
0 likes · 10 min read
Master FastJSON 2.0: Maven Setup, Core APIs, and JSONPath Guide
Cognitive Technology Team
Cognitive Technology Team
Apr 21, 2022 · Backend Development

Resolving Maven Compilation Hang After Upgrading Spring Cloud from Java 8 to Java 11 and Dealing with Lombok @Builder.Default Issues

The article explains why a Spring Cloud project upgraded from Java 8 to Java 11 gets stuck during Maven compilation, shows how to enable detailed compiler logs with Maven‑compiler‑plugin settings, presents the lengthy compilation output, and advises cautious use of Lombok’s @Builder.Default to avoid similar hangs.

Backend DevelopmentCompilationJava 11
0 likes · 12 min read
Resolving Maven Compilation Hang After Upgrading Spring Cloud from Java 8 to Java 11 and Dealing with Lombok @Builder.Default Issues
FunTester
FunTester
Apr 20, 2022 · Backend Development

Build a Simple Java gRPC Demo in 3 Easy Steps

This guide walks you through setting up a basic Java gRPC project by outlining required Maven dependencies, creating the .proto SDK, implementing a server with a custom service, building a client stub, and running a test to verify the end‑to‑end RPC call.

Backend DevelopmentJavaMaven
0 likes · 9 min read
Build a Simple Java gRPC Demo in 3 Easy Steps
IT Xianyu
IT Xianyu
Mar 30, 2022 · Backend Development

How to Enable SpringBoot DevTools Hot Deployment, Use Lombok, and Configure Spring Configuration Processor

This article explains how to add SpringBoot DevTools for hot deployment, integrate Lombok to simplify JavaBean code, and configure the Spring Configuration Processor for property metadata, providing step‑by‑step instructions, IDE settings, and Maven dependency snippets for a smoother development experience.

Configuration ProcessorDevToolsHot Deployment
0 likes · 5 min read
How to Enable SpringBoot DevTools Hot Deployment, Use Lombok, and Configure Spring Configuration Processor
ELab Team
ELab Team
Mar 24, 2022 · Frontend Development

From JSP to Snowpack: Tracing the Evolution of Front‑End Engineering

This article chronicles the history of front‑end engineering—from the early stone‑age JSP/PHP era through Maven, Grunt, Webpack, and Snowpack—highlighting key tools, code examples, and future trends that have shaped modern front‑end development practices.

Mavenbuild-toolsengineering
0 likes · 12 min read
From JSP to Snowpack: Tracing the Evolution of Front‑End Engineering
Java High-Performance Architecture
Java High-Performance Architecture
Mar 19, 2022 · Backend Development

How to Speed Up Maven Archetype Project Creation with Internal Catalog

When generating Maven projects with the archetype plugin, developers often encounter long waits or failures; this guide explains four practical solutions—including adding the internal catalog parameter, setting VM options, using a local archetype‑catalog.xml, and configuring Maven mirrors—to accelerate project creation and avoid errors.

ArchetypeBuild ToolsJava
0 likes · 4 min read
How to Speed Up Maven Archetype Project Creation with Internal Catalog
Java Captain
Java Captain
Mar 15, 2022 · Backend Development

Why Enterprise Java Projects Turn Into Over‑Engineered Monsters

The article sarcastically critiques the over‑engineered nature of enterprise Java projects, illustrating how simple tasks become tangled in excessive classes, interfaces, factories, dependency‑injection frameworks, XML configurations, massive JARs, and IDE bloat, ultimately leading to deployment failures due to environment mismatches.

Dependency InjectionDesign PatternsJava
0 likes · 5 min read
Why Enterprise Java Projects Turn Into Over‑Engineered Monsters
Programmer DD
Programmer DD
Mar 14, 2022 · Frontend Development

Unlock 60+ Handy JavaFX Tools for Rapid GUI Development

Despite limited online resources, this article presents a comprehensive collection of over 60 JavaFX utilities, setup instructions, and examples—including QR code generation, character escaping, and PDF conversion—to help developers quickly build and debug GUI applications.

GUIJavaFXMaven
0 likes · 4 min read
Unlock 60+ Handy JavaFX Tools for Rapid GUI Development
Architecture Digest
Architecture Digest
Mar 12, 2022 · Operations

Using Jenkins to Clone a Gitee Project, Build with Maven, and Deploy via Shell Scripts

This article walks through installing Jenkins, preparing the environment with JDK, Git, and Maven, configuring Jenkins plugins and a freestyle job, defining build parameters and shell scripts to clone a Gitee repository, build a Spring Boot jar with Maven, stop any running instance, and start the new application, followed by troubleshooting tips and a final summary.

CI/CDGiteeJenkins
0 likes · 6 min read
Using Jenkins to Clone a Gitee Project, Build with Maven, and Deploy via Shell Scripts
Programmer DD
Programmer DD
Feb 28, 2022 · Operations

Automate Gitee Project Builds with Jenkins, Maven, and Shell Scripts

This guide walks through setting up Jenkins to clone a Gitee repository, configure Maven and Git plugins, define a parameterized freestyle job, and use shell scripts to build and launch a Spring Boot application, including troubleshooting steps for Maven path issues.

CI/CDGiteeJenkins
0 likes · 7 min read
Automate Gitee Project Builds with Jenkins, Maven, and Shell Scripts
Top Architect
Top Architect
Feb 20, 2022 · Backend Development

Using JMH for Java Microbenchmarking: Demo, Annotations, and Best Practices

This article introduces Java Microbenchmark Harness (JMH), explains why warm‑up is needed, shows how to build a benchmark project with Maven, provides a complete LinkedList iteration benchmark example with all relevant JMH annotations, demonstrates execution commands, and interprets the resulting performance reports.

BenchmarkingJMHJava
0 likes · 13 min read
Using JMH for Java Microbenchmarking: Demo, Annotations, and Best Practices
Top Architect
Top Architect
Feb 7, 2022 · Backend Development

Using SpringBoot DevTools, Lombok, and Configuration Processor for Hot Reload and Property Binding

This article explains how to enable SpringBoot DevTools for hot deployment, integrate Lombok to simplify JavaBean code, and add the Spring Configuration Processor to provide property‑binding assistance, including Maven dependency snippets and IDE configuration steps for a smoother development experience.

ConfigurationProcessorDevToolsJava
0 likes · 6 min read
Using SpringBoot DevTools, Lombok, and Configuration Processor for Hot Reload and Property Binding
Java Architect Essentials
Java Architect Essentials
Feb 6, 2022 · Backend Development

SpringBoot DevTools, Lombok, and Configuration Processor: A Quick Guide for Hot Deployment and Code Simplification

This article introduces how to enable SpringBoot DevTools for hot deployment, integrate Lombok to reduce boilerplate code, and use the Spring Configuration Processor for property binding hints, providing Maven dependencies, IDE settings, and example code snippets for Java backend development.

BackendConfigurationProcessorDevTools
0 likes · 6 min read
SpringBoot DevTools, Lombok, and Configuration Processor: A Quick Guide for Hot Deployment and Code Simplification
Top Architect
Top Architect
Jan 29, 2022 · Backend Development

Comprehensive Maven Tutorial: Installation, Configuration, Lifecycle, and Usage

This article provides a detailed step‑by‑step guide to Maven, covering why to use it, its core concepts, installation, creating a first project, repository coordinates, dependency scopes, lifecycle phases, Eclipse integration, advanced dependency features, and build configuration with code examples.

EclipseIDEJava
0 likes · 15 min read
Comprehensive Maven Tutorial: Installation, Configuration, Lifecycle, and Usage
macrozheng
macrozheng
Jan 20, 2022 · Backend Development

Which Build Tool Reigns Supreme? Maven vs Gradle vs mvnd Performance Showdown

An in‑depth comparison of Maven, Gradle, and the Maven Daemon (mvnd) examines their features, configuration differences, and real‑world build performance on Spring Boot projects, revealing that Gradle delivers the fastest packaging times while offering simpler, more readable build scripts.

GradleJavaMaven
0 likes · 8 min read
Which Build Tool Reigns Supreme? Maven vs Gradle vs mvnd Performance Showdown
Architect's Journey
Architect's Journey
Jan 19, 2022 · R&D Management

How Business Companies Can Drive Technical Architecture Evolution: A Practical Case Study

The article details how a business‑oriented company built an architecture committee, secured leadership support, defined clear design principles, restructured a monolithic common package into modular base projects, and used concrete case studies and team‑wide promotion to successfully evolve its technical architecture.

ArchitectureJavaMaven
0 likes · 18 min read
How Business Companies Can Drive Technical Architecture Evolution: A Practical Case Study
Selected Java Interview Questions
Selected Java Interview Questions
Jan 16, 2022 · Backend Development

Introducing Maven‑mvnd: A Faster Maven Build Tool for Java Developers

This article introduces Maven‑mvnd, an Apache‑backed, GraalVM‑powered Maven alternative that speeds up Java builds through daemon processes and JVM optimizations, explains its installation (including Homebrew on macOS and JDK version considerations), demonstrates usage, and discusses performance benefits and known issues.

Build ToolsGraalVMJava
0 likes · 8 min read
Introducing Maven‑mvnd: A Faster Maven Build Tool for Java Developers
High Availability Architecture
High Availability Architecture
Jan 6, 2022 · Backend Development

Resolving Incompatible Jar Dependency Conflicts in Java Projects Using Maven Shade Plugin

This article discusses the challenges of incompatible Jar version conflicts in Java projects, explores classloader isolation approaches like Pandora and SOFAArk, and provides a step‑by‑step guide to using the Maven Shade Plugin to relocate and package conflicting Guava libraries into a custom wrapper jar.

Dependency ConflictJar IsolationJava
0 likes · 13 min read
Resolving Incompatible Jar Dependency Conflicts in Java Projects Using Maven Shade Plugin
Code Ape Tech Column
Code Ape Tech Column
Jan 1, 2022 · Backend Development

Introduction to Maven MVND: Features, Installation, and Usage

This article introduces Maven MVND, a native build daemon that embeds Maven for faster builds, outlines its key features, shows how to download and install version 0.7.1, demonstrates equivalent Maven commands using mvnd, and discusses its current performance and production readiness.

InstallationJavaMaven
0 likes · 3 min read
Introduction to Maven MVND: Features, Installation, and Usage
Top Architect
Top Architect
Dec 29, 2021 · Backend Development

Comprehensive Maven Tutorial: Installation, Configuration, Lifecycle, Commands, and Eclipse Integration

This article provides a detailed, step‑by‑step guide to Maven, covering why to use it, its core concepts, installation, project structure, pom.xml configuration, common commands, dependency scopes, repository handling, lifecycle phases, Eclipse setup, advanced features, and build customization for Java backend development.

EclipseJavaMaven
0 likes · 15 min read
Comprehensive Maven Tutorial: Installation, Configuration, Lifecycle, Commands, and Eclipse Integration
Programmer DD
Programmer DD
Dec 27, 2021 · Backend Development

Boost Maven Build Speed with mvnd: GraalVM-Powered Daemon Explained

The article introduces mvnd, a GraalVM‑based Maven daemon that accelerates builds by reusing processes, leveraging JIT compilation, and supporting parallel execution, then details installation across Linux, macOS and Windows, configuration tips, and usage commands, showing how it narrows the performance gap with Gradle.

Build OptimizationGraalVMJava
0 likes · 7 min read
Boost Maven Build Speed with mvnd: GraalVM-Powered Daemon Explained
DeWu Technology
DeWu Technology
Dec 26, 2021 · Backend Development

Maven Dependency Conflict Avoidance Guide

This guide explains how Maven projects can detect, visualize, and resolve hidden dependency conflicts by using tools like mvn dependency:tree, understanding transitivity and the nearest‑wins rule, applying dependencyManagement, scopes, exclusions, optional dependencies, and best practices such as regular analysis and shading to prevent runtime errors.

Build ToolsJavaMaven
0 likes · 23 min read
Maven Dependency Conflict Avoidance Guide
macrozheng
macrozheng
Dec 26, 2021 · Backend Development

Speed Up Maven Builds 10× with mvnd: GraalVM‑Powered Daemon Explained

This article introduces mvnd, a GraalVM‑based Maven daemon that runs as a persistent build service, explains how it achieves faster startup and parallel builds, and provides step‑by‑step installation, configuration, and usage instructions for Windows, macOS, and Linux.

GraalVMJavaMaven
0 likes · 7 min read
Speed Up Maven Builds 10× with mvnd: GraalVM‑Powered Daemon Explained
vivo Internet Technology
vivo Internet Technology
Dec 22, 2021 · Backend Development

Resolving Incompatible Jar Dependency Conflicts with Maven Shade Plugin

The article explains how incompatible JAR versions, such as differing Guava releases required by business code and middleware, can be resolved efficiently by using Maven Shade Plugin to relocate packages, offering a lightweight alternative to heavyweight class‑loader isolation solutions like Pandora or SOFAArk.

Classloader IsolationJavaMaven
0 likes · 11 min read
Resolving Incompatible Jar Dependency Conflicts with Maven Shade Plugin
Programmer DD
Programmer DD
Dec 17, 2021 · Backend Development

How to Quickly Upgrade Log4j2 to 2.16.0 in Spring Boot Projects

This guide explains step‑by‑step how to upgrade Log4j2 to the secure 2.16.0 version in Spring Boot applications by adjusting Maven configurations, understanding parent POM inheritance, and overriding properties, ensuring a fast and reliable fix for the critical vulnerability.

MavenSpring Bootsecurity patch
0 likes · 5 min read
How to Quickly Upgrade Log4j2 to 2.16.0 in Spring Boot Projects
Top Architect
Top Architect
Dec 8, 2021 · Backend Development

Resolving Java Logging Framework Conflicts in SpringBoot and Dubbo Projects

This article explains why multiple Java logging frameworks often clash in SpringBoot and Dubbo applications, identifies common causes such as transitive dependencies and duplicate versions, and provides step‑by‑step Maven configurations and adaptation techniques to unify logging with SLF4J and Logback.

DubboJavaLogback
0 likes · 13 min read
Resolving Java Logging Framework Conflicts in SpringBoot and Dubbo Projects
Tech Musings
Tech Musings
Dec 4, 2021 · Backend Development

How Byte Buddy Powers Java Agents: Classloader Tricks and Dependency Solutions

This article explores using Byte Buddy to build Java agents, detailing the premain method, class loading mechanisms, handling dependency conflicts with Maven shade versus custom classloaders, and implementing a Dispatcher to bridge agent and application classloaders, providing practical code snippets and diagrams for each step.

Byte BuddyClassLoaderJava Agent
0 likes · 9 min read
How Byte Buddy Powers Java Agents: Classloader Tricks and Dependency Solutions
macrozheng
macrozheng
Nov 27, 2021 · Backend Development

What’s New in Spring Boot 2.6.0? Key Features, Maven Dependencies, and Upgrade Guide

Spring Boot 2.6.0 arrives with a host of new features—including default circular‑reference protection, SameSite cookie support, reactive session enhancements, custom sanitizing rules, endpoint changes, Redis pool options, WebTestClient testing, Log4j2 composite configuration, numerous dependency upgrades, and several deprecations—plus updated Maven coordinates and version timelines for developers to consider before upgrading.

Backend DevelopmentJavaMaven
0 likes · 11 min read
What’s New in Spring Boot 2.6.0? Key Features, Maven Dependencies, and Upgrade Guide
Selected Java Interview Questions
Selected Java Interview Questions
Nov 19, 2021 · Backend Development

Deploying a Spring Boot Application to Docker Using IntelliJ IDEA

This tutorial walks through installing Docker, configuring remote access, creating a Spring Boot project with Maven, adding Docker support via plugins, writing Dockerfile and application code, building the image, and running the container, demonstrating a complete end‑to‑end deployment workflow.

Backend DevelopmentDockerIntelliJ IDEA
0 likes · 6 min read
Deploying a Spring Boot Application to Docker Using IntelliJ IDEA
Code Ape Tech Column
Code Ape Tech Column
Nov 6, 2021 · Backend Development

Comprehensive Guide to Maven: Concepts, Build Lifecycle, Dependencies, and Plugins

This article provides a detailed overview of Maven, covering its purpose, core concepts such as coordinates and repositories, the build lifecycle phases, as well as dependency declarations and scopes, as well as plugin configuration, custom bindings, and advanced features like aggregation, inheritance, and profile-based builds.

JavaMavenbuild lifecycle
0 likes · 22 min read
Comprehensive Guide to Maven: Concepts, Build Lifecycle, Dependencies, and Plugins
Java High-Performance Architecture
Java High-Performance Architecture
Nov 5, 2021 · Backend Development

How to Build a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA

This guide walks through creating a SpringBoot and MyBatis multi‑module project in IntelliJ IDEA, covering environment setup, parent and child module creation, dependency configuration, bean scanning, MyBatis integration, and troubleshooting common startup errors, culminating in a runnable demo endpoint.

IntelliJ IDEAMavenMulti-Module
0 likes · 13 min read
How to Build a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA
Top Architect
Top Architect
Nov 4, 2021 · Backend Development

Step‑by‑Step Guide to Building a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA

This tutorial walks through setting up a SpringBoot‑based multi‑module Maven project with MyBatis integration in IntelliJ IDEA, covering environment preparation, parent and child module creation, dependency configuration, package scanning, and verification of a simple REST endpoint, while highlighting common pitfalls and solutions.

IDEAJavaMaven
0 likes · 11 min read
Step‑by‑Step Guide to Building a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA
macrozheng
macrozheng
Nov 2, 2021 · Backend Development

Generate Zero‑Annotation API Docs with smart‑doc for SpringBoot

This tutorial shows how to replace Swagger with smart-doc, a zero‑annotation API documentation tool for SpringBoot that generates HTML docs and Postman collections, covering Maven plugin setup, configuration files, custom tags, error‑code mapping, request‑header definitions, and step‑by‑step usage examples.

JavaMavenPostman
0 likes · 10 min read
Generate Zero‑Annotation API Docs with smart‑doc for SpringBoot
Architect's Guide
Architect's Guide
Oct 28, 2021 · Backend Development

Core Features, Advantages, and Common Annotations of Spring Boot

This article provides an English overview of Spring Boot’s core functionalities—including standalone JAR execution, embedded servlet containers, starter POM simplification, auto‑configuration, production‑ready monitoring, and code‑free XML—while also discussing its pros and cons, key features, CLI tool, Maven parent, and commonly used annotations.

JavaMavenSpring Boot
0 likes · 5 min read
Core Features, Advantages, and Common Annotations of Spring Boot
Programmer DD
Programmer DD
Oct 23, 2021 · Fundamentals

Master Maven: 7 Essential Questions Every Java Developer Should Know

This article explains Maven's repository types, dependency declarations, version handling, conflict resolution strategies, best practices for early detection, standard directory layout, lifecycle phases, and scope definitions, providing a comprehensive guide for developers to master Maven in Java projects.

JavaMavenbuild-tool
0 likes · 10 min read
Master Maven: 7 Essential Questions Every Java Developer Should Know
政采云技术
政采云技术
Oct 19, 2021 · Backend Development

Debugging Maven Multi‑module Deployment Issues Caused by JDK Constant Compilation Optimization

This article analyzes a Maven multi‑module project where a static constant change in a shared API module caused unexpected Redis key errors at runtime due to JDK compile‑time constant folding, outlines the investigation steps, identifies the root cause, and provides best‑practice recommendations for version management.

Build OptimizationJavaMaven
0 likes · 5 min read
Debugging Maven Multi‑module Deployment Issues Caused by JDK Constant Compilation Optimization
Programmer DD
Programmer DD
Oct 4, 2021 · Backend Development

Simplify Java Bean Mapping with MapStruct: A Practical Guide

This article introduces the open‑source MapStruct library for Java, shows how to configure Maven and Lombok, provides step‑by‑step code examples for basic and advanced entity‑to‑DTO mappings—including list conversions, multi‑object mappings, and default values—so developers can replace boilerplate conversion code with clean, type‑safe mappings.

LombokMapStructMaven
0 likes · 10 min read
Simplify Java Bean Mapping with MapStruct: A Practical Guide
Programmer DD
Programmer DD
Oct 3, 2021 · Databases

Effortlessly Generate Database Schema Docs and Java Entities with Screw

This guide explains how to use the open‑source Screw tool to automatically produce database schema documentation in HTML, Word, or Markdown and to generate Java entity classes, offering step‑by‑step examples with Maven plugin and Java code configurations for MySQL, Oracle, and PostgreSQL.

Entity GenerationMavenMySQL
0 likes · 15 min read
Effortlessly Generate Database Schema Docs and Java Entities with Screw