Test-project Mac OS
- Maven Tutorial
- Maven Useful Resources
- Selected Reading
Open the command prompt and navigate to the folder of Katalon Studio Engine: katalonc.exe (Windows), Applications folder (Mac OS), or katalonc (Linux) file. MacOS: cd /Applications/ Katalon Studio Engine. App /Contents/ MacOS. In this article we'll be looking at how you create and test In App Purchases (IAP) in your macOS apps for the App Store. The methods shown in this guide require GMS 2.2.4 or newer, plus the 'Apple IAPs' extension from the Marketplace - if you're using 2.2.3 or older you will need to update and ensure you have the correct extension in your project before you can follow this guide. Visual Studio 2019 for Mac version 8.6 — Visual Studio for Mac Installer with the Stable updater channel; What's new in Xamarin.Android 10.3 Xamarin.Android 10.3 releases. June 2, 2020 — Xamarin.Android 10.3.1.4 in Visual Studio 2019 for Mac version 8.6.2. June 1, 2020 — Xamarin.Android 10.3.1.4 in Visual Studio 2019 version 16.6.1. For Mac OS platforms, OS X 10.4.x (Tiger) is no longer officially supported. SDK and AVD Manager: Fixes SSL download for the standalone version of the SDK Updater. Fixes issue with 64-bit JVM on Windows. Adds support for platform samples components. Improves support for dependency between components. AVDs now sorted by API level.
Maven is a Java based tool, so the very first requirement is to have JDK installed on your machine.
System Requirement
JDK | 1.7 or above. |
---|---|
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
Operating System | No minimum requirement. |
Step 1 - Verify Java Installation on your Machine
Open console and execute the following java command.
OS | Task | Command |
---|---|---|
Windows | Open Command Console | c:> java -version |
Linux | Open Command Terminal | $ java -version |
Mac | Open Terminal | machine:~ joseph$ java -version |
Let's verify the output for all the operating systems −
OS | Output |
---|---|
Windows | java version '1.7.0_60' Java(TM) SE Runtime Environment (build 1.7.0_60-b19) Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode) |
Linux | java version '1.7.0_60' Java(TM) SE Runtime Environment (build 1.7.0_60-b19) Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode) |
Mac | java version '1.7.0_60' Java(TM) SE Runtime Environment (build 1.7.0_60-b19) Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode) |
If you do not have Java installed, install the Java Software Development Kit (SDK) from https://www.oracle.com/technetwork/java/javase/downloads/index.html. We are assuming Java 1.7.0.60 as installed version for this tutorial.
Step 2 - Set JAVA Environment
Set the JAVA_HOME environment variable to point to the base directory location where Java is installed on your machine. For example −
OS | Output |
---|---|
Windows | Set the environment variable JAVA_HOME to C:Program FilesJavajdk1.7.0_60 |
Linux | export JAVA_HOME=/usr/local/java-current |
Mac | export JAVA_HOME=/Library/Java/Home |
Append Java compiler location to System Path.
OS | Output |
---|---|
Windows | Append the string “;C:Program FilesJavajdk1.7.0.60bin” to the end of the system variable, Path. |
Linux | export PATH=$PATH:$JAVA_HOME/bin/ |
Mac | not required |
Verify Java Installation using java -version command as explained above.
Step 3 - Download Maven Archive
Download Maven 2.2.1 from https://maven.apache.org/download.cgi.
OS | Archive name |
---|---|
Windows | apache-maven-3.3.1-bin.zip |
Linux | apache-maven-3.3.1-bin.tar.gz |
Mac | apache-maven-3.3.1-bin.tar.gz |
Step 4 - Extract the Maven Archive
Extract the archive, to the directory you wish to install Maven 3.3.1. The subdirectory apache-maven-3.3.1 will be created from the archive.
OS | Location (can be different based on your installation) |
---|---|
Windows | C:Program FilesApache Software Foundationapache-maven-3.3.1 |
Linux | /usr/local/apache-maven |
Mac | /usr/local/apache-maven |
Step 5 - Set Maven Environment Variables
Test-project Mac Os Catalina
Add M2_HOME, M2, MAVEN_OPTS to environment variables.
Test-project Mac Os Download
OS | Output |
---|---|
Windows | Set the environment variables using system properties. M2_HOME=C:Program FilesApache Software Foundationapache-maven-3.3.1 M2=%M2_HOME%bin MAVEN_OPTS=-Xms256m -Xmx512m |
Linux | Open command terminal and set environment variables. export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.1 export M2=$M2_HOME/bin export MAVEN_OPTS=-Xms256m -Xmx512m |
Mac | Open command terminal and set environment variables. export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.1 export M2=$M2_HOME/bin export MAVEN_OPTS=-Xms256m -Xmx512m |
Step 6 - Add Maven bin Directory Location to System Path
Now append M2 variable to System Path.
OS | Output |
---|---|
Windows | Append the string ;%M2% to the end of the system variable, Path. |
Linux | export PATH=$M2:$PATH |
Mac | export PATH=$M2:$PATH |
Step 7 - Verify Maven Installation
Now open console and execute the following mvn command.
OS | Task | Command |
---|---|---|
Windows | Open Command Console | c:> mvn --version |
Linux | Open Command Terminal | $ mvn --version |
Mac | Open Terminal | machine:~ joseph$ mvn --version |
Test-project Mac Os 11
Finally, verify the output of the above commands, which should be as follows −
Test-project Mac Os X
OS | Output |
---|---|
Windows | Apache Maven 3.3.1 (r801777; 2009-08-07 00:46:01+0530) Java version: 1.7.0_60 Java home: C:Program FilesJavajdk1.7.0_60 jre |
Linux | Apache Maven 3.3.1 (r801777; 2009-08-07 00:46:01+0530) Java version: 1.7.0_60 Java home: C:Program FilesJavajdk1.7.0_60 jre |
Mac | Apache Maven 3.3.1 (r801777; 2009-08-07 00:46:01+0530) Java version: 1.7.0_60 Java home: C:Program FilesJavajdk1.7.0_60 jre |