Maven

Maven: Specifying Local Repo

Links on configuring local Maven Repo

 


Maven offline

https://stackoverflow.com/questions/7233328/how-do-i-configure-maven-for-offline-development

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.

 

Tags

Maven: Creating first project from archetype via CLI

 

setting maven in PATH

PATH=$PATH:/usr/lib/maven/apache-maven-3.6.1/bin

mvn Command to Generate from Archetypes

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

 

Tags

Maven Downloads

Source


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 http://apache.mirrors.pair.com/. 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.

Tags

Maven: TestNG Repo Dependency

        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>6.9.9</version>
        </dependency>

Tags
Subscribe to Maven