Learn the difference between mvn:package and spring-boot:repackage
Search Results for: maven
Maven Packaging Types
In this article, we explore the different packaging types available in Maven.
Optional Dependency in Maven
Learn now to use Maven’s optional tag.
Apache Maven Guide
Learn how to work with Apache Maven, the popular Java build automation tool
Accessing Maven Properties in Java
Learn how to access Maven properties in Java.
Maven Offline Mode
Learn how to get Maven ready for offline mode.
Download Sources and Javadocs with Maven
Learn how to download the sources and Javadocs with Maven
Maven Logging Options
Learn how to configure logging options with Maven.
Run a Java Main Method in Maven
Learn how to run Java main method using Maven.
How to Resolve a Version Collision of Artifacts in Maven
Multi module maven projects can experience difficulties at compile time and runtime with multiple library versions. We learn how to control the versions used.
Multi-Release JAR Files with Maven
Learn about Maven’s support for multi-release JAR files
Find Unused Maven Dependencies
Learn how to analyze unused dependencies in Maven using the Maven Dependency Plugin.
Converting Gradle Build File to Maven POM
Learn to convert a Gradle build file to a Maven pom.xml.
Using Maven Behind a Proxy
Learn how to configure Maven to work from behind a proxy.
How to Create a Maven Plugin
Learn how to create a Maven plugin from scratch.
Running a Spring Boot App with Maven vs an Executable War/Jar
Learn the differences of running a Spring Boot App with Maven vs an Executable War/Jar.
Handling Maven Invalid LOC Header Error
Learn how to handle an invalid LOC header error in Maven.
Skipping Tests with Maven
Learn how and when to skip tests with Maven.
Multi-Module Maven Application with Java Modules
Learn to create a multi-module Maven application using the Java Platform Module System (JPMS).
Guide to Maven Profiles
Learn how to work with Maven profiles to be able to create different build configurations.