Best of Maven2025

  1. 1
    Article
    Avatar of baeldungBaeldung·22w

    What’s New in Maven 4

    Maven 4 introduces significant improvements after 15 years since Maven 3. Key updates include POM version 4.1.0, build/consumer POM separation for cleaner dependency resolution, new artifact types for explicit classpath and module path control, and renaming 'modules' to 'subprojects' to avoid confusion with Java modules. The release adds a tree-based lifecycle for better multi-project performance, before/after phase hooks, condition-based profile activation, and a unified sources section for custom source directories. An upgrade tool helps migrate from Maven 3, while maintaining backward compatibility with version 4.0.0 POMs.

  2. 2
    Article
    Avatar of baeldungBaeldung·48w

    Cleaning Spring Properties Files

    Spring Properties Cleaner is a Maven plugin that automatically cleans up Spring application properties files by removing duplicates, standardizing formatting, sorting keys, and extracting common properties across multiple profile-specific files. The plugin can be configured to detect issues during builds, sort properties in clustered or alphabetical order, inline prefixes for better commonality extraction, and manage vertical whitespace. It supports three extraction modes (full, consistent, multiple) for promoting properties to a common application.properties file, helping maintain cleaner and more organized configuration files in Spring projects.

  3. 3
    Article
    Avatar of java_libhuntAwesome Java Newsletter·1y

    A Beginner’s Guide to Java: 10 Must-Know Development Tools🎉🎉

    Java is expected to remain a dominant programming language by 2025. This guide highlights ten essential tools for Java developers, including IntelliJ IDEA, Maven, Git, Docker, Apidog, JUnit, Eclipse, Gradle, Jenkins, and VisualVM. Each tool offers unique advantages in enhancing productivity, code quality, and project management. While some tools are free, others may require payment. These tools can significantly improve your development workflow and software quality.

  4. 4
    Article
    Avatar of javarevisitedJavarevisited·1y

    10 Most important Maven Commands

    This post provides a practical guide to essential Maven commands for Java projects. It covers basic tasks such as compiling main and test source files, running tests, and cleaning project files. The guide offers explanations and usage examples for executing specific test methods and using TestNG XML suites, helping developers effectively manage their projects.

  5. 5
    Article
    Avatar of joindevopsDevOps·1y

    Mastering CI/CD: Automate Maven Builds and JUnit Tests with Jenkins from Eclipse to GitHub

    Learn to automate your DevOps workflows with Jenkins by following a detailed guide, from setting up Eclipse and creating a Maven project to configuring Jenkins for automated builds and JUnit testing. This includes launching an EC2 instance on AWS, pushing your project to GitHub, setting up webhooks, and configuring a Jenkins pipeline.

  6. 6
    Article
    Avatar of vaadinVaadin·1y

    Maven 4 is coming – Here's what you should know

    Maven 4, currently in Release Candidate 2, brings key improvements for multi-module projects and better build management. It introduces the separation of build and consumer POMs, requires Java 17, and drops support for the 2.0 plugin API. Notable changes include the addition of the Project Local Repository and several quality-of-life improvements for declaring multi-module projects. These updates aim to streamline complex builds and improve overall build reliability.

  7. 7
    Article
    Avatar of jetbrainsJetBrains·51w

    IntelliJ IDEA 2025.1.2 Is Out!

    IntelliJ IDEA 2025.1.2 is now available with several important bug fixes. Key improvements include resolving IDE startup issues with problematic plugins, fixing false positive module warnings, restoring Maven compiler arguments functionality, correcting GitLab code review mode, preserving terminal working directories after restart, enabling Terraform inspection suppression, fixing Quick Documentation font scaling, and restoring Git context menu options for symbolic link paths. Users can update through the IDE, Toolbox App, or download from the website.

  8. 8
    Article
    Avatar of baeldungBaeldung·46w

    A Guide to Spring gRPC Project

    Spring gRPC project enables developers to build gRPC servers within Spring Boot applications with minimal configuration. The tutorial covers setting up a project using Spring Initializr, defining Protocol Buffer files for service contracts, generating Java classes from proto files using Maven plugins, and implementing concrete gRPC services with Spring's dependency injection. A practical calculator service example demonstrates the complete workflow from proto definition to testing with gRPCurl.

  9. 9
    Article
    Avatar of freecodecampfreeCodeCamp·44w

    Spring vs Spring Boot: How to Choose the Right Java Framework

    Spring is a comprehensive enterprise framework for Java applications that requires manual configuration and external server deployment, while Spring Boot is built on top of Spring with auto-configuration, embedded servers, and simplified setup. Spring offers more granular control and is ideal for complex enterprise applications, whereas Spring Boot prioritizes rapid development and is perfect for microservices and standalone applications. The choice depends on project requirements: use Spring for highly customized enterprise systems and Spring Boot for REST APIs, microservices, or cloud-native applications.

  10. 10
    Article
    Avatar of baeldungBaeldung·1y

    Introduction to J2CL

    Learn how to set up a J2CL project with Maven to develop web applications using Java compiled to JavaScript. This guide covers configuring the project, customizing the web interface, and implementing a Task Manager application by interacting with a RESTful backend. Key aspects include using Maven for building and running the project, and leveraging Elemental2 and JSInterop for DOM manipulation and interoperability between Java and JavaScript.

  11. 11
    Article
    Avatar of netguruNetguru·1y

    Java Build Tools: Essential Frameworks for Modern Development

    Java build tools like Maven, Gradle, and Ant automate key development tasks such as compiling code, managing dependencies, and creating deployable packages. Maven is known for managing dependencies, Gradle for its flexibility and speed, and Ant for providing fine-grained control. Each tool has unique strengths, making the choice dependent on project needs and team expertise. Effective use of these tools enhances efficiency in Java development.

  12. 12
    Article
    Avatar of communityCommunity Picks·48w

    History of Java: evolution, legal battles with Microsoft, Mars exploration, Spring, Gradle and Maven, IDEA and Eclipse

    Java's evolution from 1990 to present spans from its origins as Oak at Sun Microsystems to modern features like virtual threads in Java 21. Key milestones include the legal battle with Microsoft over JVM compatibility, revolutionary changes in Java 8 with lambda expressions and streams, Oracle's acquisition of Sun Microsystems, and the development of essential tools like Spring framework, Maven, Gradle, IntelliJ IDEA, and Eclipse. The language has been used in space missions including Mars rovers, and continues evolving with upcoming projects like Valhalla for value objects and Loom for enhanced concurrency.

  13. 13
    Article
    Avatar of baeldungBaeldung·1y

    Check Component Vulnerabilities Using OWASP Dependency-Check

    Learn to secure your Java applications by integrating the OWASP Dependency-Check plugin with Maven. Understand how this tool helps identify vulnerabilities in your dependencies using CPE and CVE data, and how to configure it to fail builds based on CVSS scores. Practical examples and detailed guidance are provided.