Maven: Specifying Local Repo

Links on configuring local Maven Repo


Maven offline

You can run maven in offline mode mvn -o install. Of course any artifacts not available in your local repository will fail. Maven is not predicated on distributed repositories, but they certainly make things more seamless. Its for this reason that many shops use internal mirrors that are incrementally synced with the central repos.

In addition, the mvn dependency:go-offline can be used to ensure you have all of your dependencies installed locally before you begin to work offline.



Maven: Creating first project from archetype via CLI


setting maven in PATH


mvn Command to Generate from Archetypes

mvn -B archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DartifactId=uc-app



Maven Downloads


Downloading Apache Maven 3.6.0

Apache Maven 3.6.0 is the latest release and recommended version for all users.

The currently selected download mirror is If you encounter a problem with this mirror, please select another mirror. If all mirrors are failing, there are backup mirrors (at the end of the mirrors list) that should be available. You may also consult the complete list of mirrors.


Maven: TestNG Repo Dependency


Subscribe to Maven