You can simply use:
mvn --settings YourOwnSettings.xml clean install
or
mvn -s YourOwnSettings.xml clean install
More Related Contents:
- Maven command to determine which settings.xml file Maven is using
- How to override maven property in command line?
- How to override the `project.build.finalName` Maven property from the command line?
- How to pass java code a parameter from maven for testing
- How to properly install and configure JSF libraries via Maven?
- How do I use Maven through a proxy?
- Is there a simple way to remove unused dependencies from a maven pom.xml?
- How to configure multi-module Maven + Sonar + JaCoCo to give merged coverage report?
- How to execute maven plugin execution directly from command line?
- Spring Boot – parent pom when you already have a parent pom
- What is the “reactor” in Maven?
- Run JUnit Tests contained in dependency jar using Maven Surefire
- Remove or delete resource files from target directory using pom file
- In Maven how to exclude resources from the generated jar?
- Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved
- Maven check for updated dependencies in repository
- Verification of dependency authenticity in Maven POM based automated build systems
- maven “cannot find symbol” message unhelpful
- Difference among mavenCentral(), jCenter() and mavenLocal()?
- Error: JavaFX runtime components are missing, with IntelliJ Idea, Maven and JDK 19
- Is there a way to exclude a Maven dependency globally?
- error: package javax.servlet does not exist
- Where is super pom for maven 3?
- java.lang.NoSuchMethodError: com.google.common.io.ByteStreams.exhaust(Ljava/io/InputStream;)J
- How to backup all Nexus 3 artifacts?
- How to remove jar file from local maven repository which was added with install:install-file?
- Finding the root directory of a multi module Maven reactor project
- Maven build [WARNING] we have a duplicate class
- Resolving SNAPSHOT dependencies with timestamps from Ivy
- Can multiple versions of the same dependency be used in a single Maven repository?