Preventing Duplicate JAR Versions with the Maven Enforcer Plugin
Learn how the banDuplicateDependencies rule catches version mismatches early in multi-module Maven builds, improving reliability.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how the banDuplicateDependencies rule catches version mismatches early in multi-module Maven builds, improving reliability.
Configure Liquibase changeLogFile with classpath-relative paths to ensure migrations work across environments. Learn the changelog structure, tracking mechanism, and common pitfalls to avoid.
A decision guide for environment-specific Maven builds: when to use profiles, resource filtering, or separate POMs, with a working dev/prod profile example and the commands that prove it resolves correctly.
Pin dependency versions once in a parent POM with dependencyManagement. Let child modules inherit them, and verify the result with dependency:tree — without accidentally bypassing your own rules.
Maven resolves version conflicts by nearest definition, not newest version. Here's how the mediation rule actually works, how to see it with dependency:tree, and how dependencyManagement gives you back control.
Learn how to add Groovy's @CompileStatic annotation to achieve static type checking and Java‑like performance, with step‑by‑step commands, checks, and rollback guidance.
Maven Wrapper pins a specific Maven version in your repo so every developer and CI job uses the exact same distribution. Covers generating the wrapper, SHA-512 checksum validation, GitHub Actions caching, and trade-offs (no JDK management, manual upgrades).
Step‑by‑step guide to create a Declarative Jenkins Pipeline that builds, tests, and cleans up a Maven project, with verification and rollback instructions.
Learn how NetBeans treats a Maven pom.xml as the project itself, keeping IDE and command‑line builds in sync with a simple worked example.