

Open command prompt and issue the command mvn -version Microsoft Windows Ĭopyright (c) 2009 Microsoft Corporation. MAVEN_OPTS : -Xms256m -Xmx512m 5.Verification of Maven 3.1.1 installation Set MAVEN_OPTS to specify memory settings and other file encoding settings. If you are using Maven in development or production for a large project, you may run out of memory. Update Path variable to point Maven bin folder, so that you can use Maven commands from command-line. Add new MAVEN_HOME to point Maven 3.1.1 installation folder. Set JAVA_HOME and Path variables to appropriate Java installation as described in this post. Just folders and files, that’s all no installation required. Maven 3.1.1 Installation on WindowsĪpache Maven contains set of files to be extracted to some place let say c:\maven to be used. Select appropriate version like e.g apache-maven-3.1.1-bin.zip 3. Download Apache Maven 3.1.1ĭownload Apache Maven 3.1.1 from official Apache Maven website. For more information on how to install and setup Java 1.7 on windows see here . Install Java 1.7 from oracle and set JAVA_HOME and Path variables to point Java 1.7 installation. Follow below steps for Maven 3.1.1 Installation on Windows 1. To install Maven 3.1.1 all that we need to do is download Maven, extract in some directory and configure couple of environment variables. Maven is a small binary distribution zip file. Maven manages project building, reporting and documentation with help of powerful Maven plugins. See the Maven CLI docs for more installation options.Apache Maven is a software project management tool based on Project Object Model (POM). Run mvn install from the directory that contains your pom.xml file. Paste the element content inside the element of your pom.xml file. Paste it into your pom.xml file twice (see the preceding sample file):įrom the Packages page, browse to the artifact that you want to install and copy the contents of the element. Create a Maven artifact by using the following command: mvn -B archetype:generate -DarchetypeGroupId="" -DgroupId="MyGroup" -DartifactId="mySecondApp"įrom the Connect to feed dialog box in TFS, copy the information.
